1.0.10 • Published 3 years ago

js-array-utils v1.0.10

Weekly downloads
-
License
ISC
Repository
-
Last release
3 years ago

A simple module contains different array helper functions.

Installation

npm install js-array-utils --save

Usage example

const {findCommonElements} = require("js-array-utils");

let a = [1, 2, 3, 1, 4, 1];
let b = [1, 5,9, 0, 10];
let commonElements = findCommonElements(a, b);
console.log(commonElements)
.
.

Available methods and description

MethodNo. of ParametersDescription
findCommonElements()2To find common elements from 2 arrays
removeDuplicates()1Returns array by removing duplicate elements
1.0.10

3 years ago

1.0.9

3 years ago

1.0.8

3 years ago

1.0.7

3 years ago

1.0.6

3 years ago

1.0.5

3 years ago

1.0.4

3 years ago

1.0.3

3 years ago

1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago