Package Exports
- duplicate-remover-array-v1
- duplicate-remover-array-v1/index.js
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (duplicate-remover-array-v1) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
duplicate-remover-array-v1
Duplicate array remover module is easy to use, it remove all duplicate values from the array and return with new array.
Installation
Install duplicate-remover-array-v1 with npm
npm install duplicate-remover-array-v1
How to use
To import module in your js file
const duplicate = require("duplicate-remover-array-v1");
const a = [1, 2, 3, 1, 4, 1, 2, 5, 3, 4];
console.log(duplicate(a));