exclude
remove values in an array
Last updated 13 years ago by jongleberry .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ npm install exclude 
SYNC missed versions from official npm registry.

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]

Current Tags

  • 1.0.0                                ...           latest (13 years ago)

1 Versions

  • 1.0.0                                ...           13 years ago
Maintainers (1)
Downloads
Total 4
Today 1
This Week 1
This Month 2
Last Day 0
Last Week 0
Last Month 1
Dependencies (1)
Dev Dependencies (2)
Dependents (2)

© 2010 - cnpmjs.org x YWFE | Home | YWFE