USD Query
Just make $ alias for document.querySelector.
Usage
npm i usd-query
import { $ } from 'usd-query'
$('.foo') // document.querySelector('.foo')
import { $$ } from 'usd-query'
$$('.foo') // document.querySelectorAll('.foo')
Development
See .github/CONTRIBUTING.md
, then .github/DEVELOPMENT.md
.
Thanks! ๐
Credit
Contributors
Josh Goldberg ๐ง |
Ryota Murakami ๐ป ๐ ๐ ๐ค ๐ ๐ง ๐ ๐ง |
๐ This package is based on @JoshuaKGoldberg's template-typescript-node-package.