Skip to content
Filter out duplicates in an array
JavaScript
Find file
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
.gitignore
.npmignore
.travis.yml
README.md
index.js
package.json
test.js

README.md

uniques

Filter out duplicates in an array

Install

$ npm install uniques

Usage

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

Something went wrong with that request. Please try again.