query-alias
v1.0.1
Published
Aliases for document.querySelector and document.querySelectorAll functions
Downloads
7
Readme
Usage:
import {$,$$} from 'query-alias';
const button = $('button');
// querySelectorAll automatically converted to array with Array.from function
const visibleButtons = $$('button').filter(p => p.style.visibility !== 'hidden');