math-clamp
Clamper
A utility function to limit a value within a specified range
Clamp a number
14 stars
7 watching
3 forks
Language: JavaScript
last commit: about 1 year ago
Linked from 1 awesome list
Related projects:
Repository | Description | Stars |
---|---|---|
| Library for controlling the CLI cursor | 105 |
| Ensures a function is only called once by wrapping it in a wrapper function that throws an error if called again | 162 |
| A utility function to insert consistent indentation into a string | 112 |
| Library to truncate strings to fit terminal widths | 86 |
| A utility library for rounding numbers to specific decimal places | 155 |
| A utility for simple string matching with wildcard patterns | 539 |
| A utility module for computing and manipulating hashes of various types of input data | 959 |
| Controls function calls to limit their frequency within a specified time interval | 447 |
| Allows delaying promises by a specified amount of time or a random range. | 609 |
| A tool to access and manipulate the system clipboard across different platforms. | 496 |
| Limits concurrent execution of promise-returning and async functions. | 2,083 |
| A command-line tool for calculating hashes of input text or files | 73 |
| A tool to get namespaced config from the closest package.json | 120 |
| A utility for accessing and manipulating the system clipboard across multiple platforms | 1,801 |
| Creates an array of specified length filled with a given value or function returning values | 43 |