percent2

1.0.0Β β€’Β PublicΒ β€’Β Published

Percent2

πŸ“ˆ Percent control done right

Like a percent, but 52 bytes. Inspired by @anoru advice.

Install

$ npm install percent2

Examples

Calculate percentage

import percent2 from 'percent2';

console.log(percent2(5, 20, 0)); // => 25

Readme

Keywords

none

Package Sidebar

Install

npm i percent2

Weekly Downloads

3

Version

1.0.0

License

ISC

Last publish

Collaborators

  • natavts