simple-histogram

1.0.2 • Public • Published

simple-histogram

Simple histogram utility (sorted desc by the values)

simpleHistogram(['a', 'a', 'b', 'c', 'c', 'c'])
// => [ { c: 3 }, { a: 2 }, { b: 1 } ]

License

MIT

Readme

Keywords

none

Package Sidebar

Install

npm i simple-histogram

Weekly Downloads

0

Version

1.0.2

License

MIT

Last publish

Collaborators

  • arnaudbenard