Repository
Current version released
a year ago
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.