Skip to content
/ clamp Public
generated from nevoland/foundation

🦀 Simple function to clamp numerical values.

Notifications You must be signed in to change notification settings

nevoland/clamp

Repository files navigation

Clamp

🦀 Simple function to clamp numerical values.

Usage

The main function is default exported from the main entry-point through an ES6 module:

import { clamp } from "@nevoland/clamp";

Installation

Install with the Node Package Manager:

npm install @nevoland/clamp

Documentation

Documentation is generated here.