{"name":"clamp","description":"Clamp a value between two other values","version":"1.0.0","main":"index.js","browser":"index.js","dependencies":{},"devDependencies":{"tape":"~2.0.0"},"scripts":{},"author":{"name":"Hugh Kennedy","email":"hughskennedy@gmail.com","url":"http://github.com/hughsk"},"license":"MIT","repository":{"type":"git","url":"git://github.com/hughsk/clamp"},"bugs":{"url":"https://github.com/hughsk/clamp/issues"},"keywords":["clamp","math","greater","less","than","between"],"homepage":"https://github.com/hughsk/clamp","_id":"clamp@1.0.0","dist":{"shasum":"d8f43ad769a8737022be423bc13e0730624ae8d9","tarball":"http://registry-npm.ywwl.com/clamp/download/clamp-1.0.0.tgz","integrity":"sha512-a+QapzqzAWxwGCvhnpX2AaDtKiaIHzzy8OYtgkLY2qWcMLJ41qOyuZALcgB2IDdaDUC9z7dSqYTz/vFuBSs6qQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDUY4Uo/XXcnVGIopErrGlnI4AmTuRWzEXXPpD2s6SJUAiEA80vrXA4c2BfRQEeDhzsXw3CJ5bZp2/ZUqiVYr8Yri7o="}],"size":1650,"noattachment":false,"key":"/clamp/-/clamp-1.0.0.tgz"},"_from":".","_npmVersion":"1.4.4","_npmUser":{"name":"hughsk","email":"hughskennedy@gmail.com"},"maintainers":[{"name":"hughsk","email":"hughskennedy@gmail.com"}],"directories":{},"readme":"# clamp [![frozen](http://hughsk.github.io/stability-badges/dist/frozen.svg)](http://github.com/hughsk/stability-badges) #\n\nClamp a value between two other values. It's as simple as modules come - saving\nkeystrokes because I've had to write this function too many times.\n\n## Usage ##\n\n[![clamp](https://nodei.co/npm/clamp.png?mini=true)](https://nodei.co/npm/clamp)\n\n### `clamp(value, a, b)` ###\n\nReturns `value`, if it is between `a` and `b`. Otherwise, returns the number\nit's gone past.\n\n## License ##\n\nMIT. See [LICENSE.md](http://github.com/hughsk/clamp/blob/master/LICENSE.md) for details.\n","publish_time":1395371978631,"_cnpm_publish_time":1395371978631,"dist-tags":{"latest":"1.0.1"}}