A Javascript package that finds and returns the percentage of every array element
- Finds and returns the percentage of every array element
- npm i arraypercentagefinder
const percentagesOf = require("arraypercentagefinder");
percentagesOf([1, 2, 3, 4]);
//=> [ 'element0-10%', 'element1-20%', 'element2-30%', 'element3-40%' ]