Socket
Book a DemoInstallSign in
Socket

deselect

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

deselect

Returns a selector that excludes all passed selectors

latest
Source
npmnpm
Version
1.1.0
Version published
Maintainers
1
Created
Source

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)

FAQs

Package last updated on 26 May 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts