1.0.2 • Published 7 years ago
@noise-machines/normalize v1.0.2
Normalize
Normalize arrays of numbers.
Installation
$ npm install @noise-machines/normalize
Usage
import normalize from '@noise-machines/normalize'
const normalized = normalize([1,2,3,4,5])
//=> [0, 0.25, 0.5, 0.75, 1]
console.log(normalized)
1.0.2
7 years ago