1.4.0 • Published 1 year ago
smallselectors v1.4.0
SmallSelectors
I was lazy and made this to shorten document.querySelector()
usage:
No cjs support, it is browser side only
import {s, sa, id} from smallselectors
document.querySelector()
is s()
document.querySelectorAll()
is sa()
document.getElementById()
is id()
Sadly, no support for other documents than the main one.