avg
TypeScript icon, indicating that this package has built-in type declarations

0.5.0 • Public • Published

AVG

Installation

$ npm install avg --save

What does it do

Given an object with key value pairs where the key represents a category and the value is a number associated with that category, it calculates the averages and rounds it so that the sum of the integer rounded parts is always equal to 100 with minimal rounding errors.

Readme

Keywords

Package Sidebar

Install

npm i avg

Weekly Downloads

32

Version

0.5.0

License

none

Unpacked Size

55.7 kB

Total Files

24

Last publish

Collaborators

  • ilja