USD Query

Just make $ alias for document.querySelector.

All Contributors: 2 ๐Ÿค Codecov Test Coverage Code of Conduct: Enforced ๐Ÿค License: MIT ๐Ÿ“ Sponsor: On GitHub ๐Ÿ’ธ Style: Prettier ๐Ÿงน TypeScript: Strict ๐Ÿ’ช

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.