exclude

1.0.0 • Public • Published

Exclude

Remove values in an array contained in other arrays.

var arr = [
  1, 2, 3, 4, 5
]
 
var exclude = require('array-exclude')
 
var res = exclude(arr, [
  [2, 3],
  [5]
])
 
// => [1, 4]

Readme

Keywords

Package Sidebar

Install

npm i exclude

Weekly Downloads

33

Version

1.0.0

License

MIT

Last publish

Collaborators

  • jongleberry
  • tootallnate
  • jonathanong
  • clintwood
  • thehydroimpulse
  • stephenmathieson
  • trevorgerhardt
  • timaschew
  • hughsk