1.0.1 • Published 5 years ago

unique-fy v1.0.1

Weekly downloads
1
License
MIT
Repository
github
Last release
5 years ago

Unique-fy

This package make every javascript duplicated array or plain object to a unique one

  • npm i unique-fy

Files

Four files are available:

All And Comments ( Source ):

unique.all.js

Just Array Function (Minified):

unique.arr.js

Just PlainObject Function (Minified):

unique.obj.min.js

All in One Function (Minified):

unique.min.js

Getting Started

  •   const unique = require("unique");
    
      unique({ one: "hello", two: "World", three: "hello" })
      > { one: "hello", two: "World" }
    
      unique([ 1 , 2 , 3 , 4 , 5 , 6 , 1 , 2 ])
      > [ 1 , 2 , 3 , 4 , 5 , 6 ]

Thanks for choosing this package if wanna use my arrayify package go here