array_functions

0.0.3 • Public • Published

array-functions


This package is a collection of useful array functions not provided in the current version of javascript.

installation

[sudo] npm install array_functions

usage

require('array_functions');

var a = [1, 2, 3, 4];
a.removeIndex(2);
console.log(a);

// [ 1, 2, 4 ]

var b = [1, 2, 3, 4];
b.removeValue(3);
console.log(b);

// [ 1, 2, 4 ]

Readme

Keywords

none

Package Sidebar

Install

npm i array_functions

Weekly Downloads

2

Version

0.0.3

License

MIT

Last publish

Collaborators

  • apizzimenti