selazy

0.0.1 • Public • Published

selazy

Lazy CSS selector one element at a time

Exmaple

var selazy = require('selazy');
var $ = selazy.createCSSSelector;
 
var selector = $('div.class2');
 
var match = selector('div', { id: 'id', class: 'class1 class2'});
console.log('Do we have a match?', match);

Package Sidebar

Install

npm i selazy

Weekly Downloads

0

Version

0.0.1

License

MIT

Last publish

Collaborators

  • saary