distinct

0.1.0 • Public • Published

distinct()

Because nobody wants repeated things

Install

npm install distinct

Just call it and it will retrieve just all distinct values

var distinct = require('distinct');
var arr = distinct([1, 1, 2, 3, 3, 3, 4]);
 
console.log(arr); // [1, 2, 3, 4]

Thats it!

Readme

Keywords

Package Sidebar

Install

npm i distinct

Weekly Downloads

0

Version

0.1.0

License

MIT

Last publish

Collaborators

  • nescalante