@jswork/next-unique

Unique for array based on next.

Usage no npm install needed!

<script type="module">
  import jsworkNextUnique from 'https://cdn.skypack.dev/@jswork/next-unique';
</script>

README

next-unique

Unique for array based on next.

version license size download

installation

npm install -S @jswork/next-unique

usage

import '@jswork/next-unique';

const array1 = [1,2,4,5,6,7,1,2];
nx.unique(array1);

//[1,2,3,4,5,6,7]

license

Code released under the MIT license.