adc.js
v1.0.1
Published
Array Duplicate Counter : Count and sort duplicate value in an Array.
Downloads
6
Readme
Installation :
$ npm install adc.js
Example :
var adc = require('adc.js');
var data = ["a","c",1,"d","d","a",2,2,"f","f","d",1,"a",2];
var test = new adc(data).count();
console.log(test);
// -> will print {'1': 2, '2': 3, a: 3, c: 1, d: 3, f: 2}.
Contact :
Azri Hamza [email protected]