Skip to content

superandrew213/normalize-number

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Normalize numbers

Normalize numbers to [0, 1].

Install

npm i normalize-number

Usage

normalize([min, max], number);

var normalize = require('normalize-number');

normalize([0, 5], 2.5); // => 0.5

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published