1.0.0 • Published 7 years ago
cos-in-range v1.0.0
cos-in-range
Utility function that maps a value through a cos function given the minimum and maximum value in a defined range.
Usage
import cosInRange from 'cos-in-range';
const value = cosInRange(1, 0, 2, 0, 4); // 4
Tests
$ npm i
$ npm test
Licence
1.0.0
7 years ago