Skip to main content
The Deno 2 Release Candidate is here
Learn more

USD Query

Just make $ alias for document.querySelector.

All Contributors: 2 🀝 Codecov Test Coverage Sponsor: On GitHub πŸ’Έ Build Test Type Check Release

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
Josh Goldberg

πŸ”§
Ryota Murakami
Ryota Murakami

πŸ’» πŸ–‹ πŸ“– πŸ€” πŸš‡ 🚧 πŸ“† πŸ”§

πŸ’™ This package is based on @JoshuaKGoldberg’s template-typescript-node-package.