Launch Week Day 1:Rust Support in Socket Is Now Generally Available.Learn More
Socket
Book a DemoInstallSign in
Socket

arr-include

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

arr-include

Include only certain items in an array

Source
npmnpm
Version
1.0.0
Version published
Weekly downloads
0
Maintainers
1
Weekly downloads
 
Created
Source

arr-include Build Status

Include only certain items in an array

Install

$ npm install --save arr-include

Usage

var arrInclude = require('arr-include');

arrInclude(['a', 'b', 'c'], ['b', 'x']);
//=> ['b']
  • arr-exclude - Exclude certain items from an array

License

MIT © Sindre Sorhus

Keywords

array

FAQs

Package last updated on 03 Sep 2015

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