2.0.0 • Published 4 years ago

@farhanam/set v2.0.0

Weekly downloads
1
License
MIT
Repository
github
Last release
4 years ago

@farhanam/set

npm

Removes duplicate elements in arrays.

Install

$ npm install @farhanam/set

Usage

const set = require("@farhanam/set");

set([1, 1, 2, 3, 4, 4, 5, 6, 3, 4, 5]);
//=> [1, 2, 3, 4, 5, 6]

tiny("helloworld");
//=> ["h", "e", "l", "o", "w", "r", "d"]

License

@farhanam/set is released under the terms of the MIT License.