{"name":"clamp","description":"Clamp a value between two other values","version":"1.0.1","main":"index.js","browser":"index.js","dependencies":{},"devDependencies":{"tape":"~2.0.0"},"scripts":{"test":"node test"},"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"],"gitHead":"377851f0cca9f3f134b53881e294782cccdae4d8","homepage":"https://github.com/hughsk/clamp","_id":"clamp@1.0.1","_shasum":"66a0e64011816e37196828fdc8c8c147312c8634","_from":".","_npmVersion":"1.5.0-alpha-4","_npmUser":{"name":"hughsk","email":"hughskennedy@gmail.com"},"maintainers":[{"name":"hughsk","email":"hughskennedy@gmail.com"}],"dist":{"shasum":"66a0e64011816e37196828fdc8c8c147312c8634","tarball":"http://registry-npm.ywwl.com/clamp/download/clamp-1.0.1.tgz","integrity":"sha512-kgMuFyE78OC6Dyu3Dy7vcx4uy97EIbVxJB/B0eJ3bUNAkwdNcxYzgKltnyADiYwsR7SEqkkUPsEUT//OVS6XMA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD8AODcohj+lh+OHFZi0hvOxk3Z2GE2v1daeACIK4c9aAIgbWIf9e+S1hAIfvnv8FYo60XlYOpPDoFQafTSVdh+DV8="}],"size":1682,"noattachment":false,"key":"/clamp/-/clamp-1.0.1.tgz"},"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":1406668269012,"_cnpm_publish_time":1406668269012,"dist-tags":{"latest":"1.0.1"}}