uniqify
v1.0.2
Published
Get unique elements from an array.
Downloads
9
Maintainers
Readme
A utility for creating arrays with unique elements in JavaScript.
Table of Contents
Installation
Install UniQify using npm: npm install uniqify
Usage
const uniqify = require('uniqify');
const inputArray = [1, 2, 3, 4, 1, 2, 5]; const result = uniqify(inputArray); console.log(result); // Output: [1, 2, 3, 4, 5]