value-jiggle
v0.0.3
Published
Randomly changes values within a given threshold.
Downloads
5
Readme
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