object-count-to-percent
v0.0.1
Published
convert a 2d object with numeric values to percents
Downloads
5
Readme
object-count-to-percent
install
using npm
npm i object-count-to-percent --save
example
console.log require('object-count-to-percent')({
safari: 100
chrome: 5
msie: 10
})
# { safari: '87.0', chrome: '4.3', msie: '8.7' }