JSPM

uniq-array

1.0.1
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 12
  • Score
    100M100P100Q26793F
  • License MIT

Returns an array by removing the duplicates

Package Exports

  • uniq-array

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (uniq-array) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

uniq-array

Returns an array by removing duplicate elements

Installation

$ npm install uniq-array

Usage

var uniqArray = require('uniq-array');

uniqArray([1, 1, 1, 1, 1, 1, 1, 2, 2, 2, 3, 3]);
//=> [1, 2, 3]

uniqArray(['Amenda', 'Bob', 'Bob', 'Amenda', 'Luicy']);
//=> ['Amenda', 'Bob', 'Luicy']

License

MIT © Gaurav Luthra