lodash.clamp

The lodash method `_.clamp` exported as a module.

Usage no npm install needed!

<script type="module">
  import lodashClamp from 'https://cdn.skypack.dev/lodash.clamp';
</script>

README

lodash.clamp v4.0.3

The lodash method _.clamp exported as a Node.js module.

Installation

Using npm:

$ {sudo -H} npm i -g npm
$ npm i --save lodash.clamp

In Node.js:

var clamp = require('lodash.clamp');

See the documentation or package source for more details.