Skip to content

broteeshkies/percent2

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

8 Commits
Β 
Β 
Β 
Β 

Repository files navigation

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

About

πŸ“ˆ Percent control done right

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published