npm: possibly marvellous
    Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

    array-uniqpublic

    array-uniq Build Status

    Create an array without duplicates

    Install

    $ npm install array-uniq
    

    Usage

    const arrayUniq = require('array-uniq');
     
    arrayUniq([1, 1, 2, 3, 3]);
    //=> [1, 2, 3]
     
    arrayUniq(['foo', 'foo', 'bar', 'foo']);
    //=> ['foo', 'bar']

    License

    MIT © Sindre Sorhus

    install

    npm i array-uniq

    Downloadsweekly downloads

    4,129,758

    version

    2.0.0

    license

    MIT

    repository

    githubgithub

    last publish

    collaborators

    • avatar