value-jiggle
value-jiggle changes values within a given threshold.
Install
$ npm install value-jiggle
Example
var jiggle = require('value-jiggle')
jiggle(10, 1)
// => 9 || 10 || 11
jiggle(1.25, 0.5)
// => 0.75 || … || 1.74
value-jiggle changes values within a given threshold.
$ npm install value-jiggle
var jiggle = require('value-jiggle')
jiggle(10, 1)
// => 9 || 10 || 11
jiggle(1.25, 0.5)
// => 0.75 || … || 1.74
npm i value-jiggle
1
0.0.3
MIT