Skip to content

Latest commit

 

History

History
23 lines (15 loc) · 289 Bytes

README.md

File metadata and controls

23 lines (15 loc) · 289 Bytes

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' }