This package has been deprecated
Author message:
use remove-value package instead
array-remove-by-value
1.0.1 • Public • Published array-remove-by-value
A simple function for removing values from arrays. They say you're not supposed to monkey patch, but I don't care.
Installation
npm install array-remove-by-value --save
Usage
Array.prototype.remove = require("array-remove-by-value")
var fruits = ['orange', 'apple', 'banana'];
fruits.remove('apple');
console.log(fruits)
Versions
Current Tags
- VersionDownloads (Last 7 Days)
Version History
- VersionDownloads (Last 7 Days)
Package Sidebar
Install
npm i array-remove-by-value
Weekly Downloads