value-jiggle

Randomly changes values within a given threshold.

value-jiggle

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 

MIT