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.