Learn about our RFC process, Open RFC meetings & more.Join in the discussion! »

deduplicate

1.0.0 • Public • Published

deduplicate

A Node.js module that removes duplicate array elements or string characters.

Installation

npm install deduplicate --save

The module exposes a single function.

Usage

const deduplicate = require('deduplicate')
deduplicate([1, 1, 1]) // [1]
deduplicate('aaa') // 'a'

Install

npm i deduplicate

DownloadsWeekly Downloads

2

Version

1.0.0

License

MIT

Last publish

Collaborators

  • avatar