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!

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.1.0
    2
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 0.1.0
    2

Package Sidebar

Install

npm i distinct

Weekly Downloads

2

Version

0.1.0

License

MIT

Last publish

Collaborators

  • nescalante