array-distinct The array to get the distinct items from. Install npm install array-distinct Usage const arrayDistinct = require("array-distinct"); arrayDistinct([1, 2, 1, 3, 2, 4]); //=> [3, 4] API arrayDistinct(array) array Type: array The array to get the distinct items from.