lodash.clamp
Version:
The lodash method `_.clamp` exported as a module.
19 lines (13 loc) • 446 B
Markdown
# lodash.clamp v4.0.3
The [lodash](https://lodash.com/) method `_.clamp` exported as a [Node.js](https://nodejs.org/) module.
## Installation
Using npm:
```bash
$ {sudo -H} npm i -g npm
$ npm i --save lodash.clamp
```
In Node.js:
```js
var clamp = require('lodash.clamp');
```
See the [documentation](https://lodash.com/docs#clamp) or [package source](https://github.com/lodash/lodash/blob/4.0.3-npm-packages/lodash.clamp) for more details.