uniques Simple NPM package to remove duplicate items in array. Installation npm i uniques yarn add uniques Usage var uniquesValues = require("uniques-values") console.log(uniquesValues([1,2,1,1,1,2,3,4,5,3,2,4,5,6])) // Output -> [1, 2, 3, 4, 5, 6]