@hellomonday/clamp
TypeScript icon, indicating that this package has built-in type declarations

1.0.1 • Public • Published

@hellomonday/clamp

Constrain a value to lie between two further values.

Install

$ npm install --save @hellomonday/clamp

Usage

const clampedValue = clamp(0, 10, 100);

License

MIT © Hello Monday

Readme

Keywords

none

Package Sidebar

Install

npm i @hellomonday/clamp

Weekly Downloads

3

Version

1.0.1

License

MIT

Unpacked Size

1.78 kB

Total Files

4

Last publish

Collaborators

  • anderssjessen
  • johnnyslack
  • supermoos
  • terkelg
  • virgilspruit
  • zerguei