deselect

1.1.0 • Public • Published

deselect

Returns a selector that excludes all passed selectors

100% test coverage

Installation

Install via npm:

$ npm i deselect

Usage

var deselect = require('deselect');
 
deselect(['p','a','h2']);
// returns *:not(p),*:not(a),*:not(h2)
 
deselect('p');
// returns *:not(p)
 
deselect();
// returns ''
 
deselect('p,a,h2');
// returns *:not(p),*:not(a),*:not(h2)

Readme

Keywords

none

Package Sidebar

Install

npm i deselect

Weekly Downloads

0

Version

1.1.0

License

MIT

Last publish

Collaborators

  • tylerjpeterson