{"name":"clamp","description":"Clamp a value between two other values","version":"0.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"],"_id":"clamp@0.0.0","dist":{"shasum":"209718cf7d797c5589991a809d22ca693b44f7d3","tarball":"http://registry-npm.ywwl.com/clamp/download/clamp-0.0.0.tgz","integrity":"sha512-Lp7Pn0ZeHB/O+Qz1fhITySqdnIG0qxAYlPS36XSuTY49jqKnW5oKSjjTXt0JVt1EOYAYlPfAAIkhQZhRuoODPw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDAlQzC9/lblxSnUO2D8jko1H5tFdCWN9RI77Ku8EZW8QIgZIjU7LlRH3EMk6jT0fvBjNHHukWROb0UuWjHSKAWhz8="}],"size":1640,"noattachment":false,"key":"/clamp/-/clamp-0.0.0.tgz"},"_from":".","_npmVersion":"1.3.11","_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":1381914917719,"_cnpm_publish_time":1381914917719,"dist-tags":{"latest":"1.0.1"}}