node package manager

value-jiggle

value-jiggle

value-jiggle changes values within a given threshold.

Build status

Browser support

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 

License

MIT