1.0.4 • Published 4 years ago

remove-duplicate v1.0.4

Weekly downloads
4
License
MIT
Repository
github
Last release
4 years ago

remove-duplicate

Returns array after removing duplicates.

Contributors ✨

Many thanks goes to these people for helping me maintain and upgrade the project:

Install

Install with npm:

$ npm install --save remove-duplicate

Usage

Works with Array

import removeDuplicate from 'remove-duplicate'; // web

OR;

const removeDuplicate = require('remove-duplicate'); // server

console.log(removeDuplicate([])); //=> []
console.log(removeDuplicate([1,1,1,1,1])); //=> [1]
console.log(removeDuplicate([1,2,3,4,5])); //=> [1,2,3,4,5]

About

Pull requests and stars are always welcome. For bugs and feature requests, please create an issue.

Running and reviewing unit tests is a great way to get familiarized with a library and its API. You can install dependencies and run tests with the following command:

$ npm install && npm test

License

Copyright © 2020, Abhishek Maurya. Released under the MIT License.

1.0.4

4 years ago

1.0.3

4 years ago

1.0.2

4 years ago

1.0.1

4 years ago

1.0.0

8 years ago