sindresorhus / math-clampLinks
Clamp a number
☆15Updated this week
Alternatives and similar repositories for math-clamp
Users that are interested in math-clamp are comparing it to the libraries listed below
Sorting:
- Include only certain items in an array☆18Updated last month
- Remove or replace part of a string like Array#splice☆23Updated 4 years ago
- Get the name of a named function☆33Updated 4 years ago
- Lax `url.format()` that formats a hostname and port into IPv6-compatible socket form of `hostname:port`☆13Updated 4 years ago
- Check if a number is a redirect HTTP status code☆23Updated 4 years ago
- Check if a value is a function☆27Updated 4 years ago
- Exclude certain items from an array☆22Updated last month
- Find mapcodes in a string☆24Updated 2 years ago
- Get the system default UID☆11Updated last year
- Convert a Source Map object to a comment☆15Updated 3 years ago
- Format a date with timezone☆10Updated 8 years ago
- Check if a JavaScript environment has a DOM☆19Updated 4 years ago
- Transform the first chunk in a stream☆26Updated last year
- Get the maximum permitted length of a path of a Unix domain socket☆13Updated 3 years ago
- Strip shebang (eg. #!/bin/sh) from a string☆11Updated 3 years ago
- Check if a file path is a binary file☆46Updated last year
- Strip UTF-8 byte order mark (BOM)☆20Updated 3 years ago
- Check if a file path is a compressed file☆17Updated last year
- Get an array of parent directories including itself☆27Updated last year
- Modify the values of an object☆27Updated 3 years ago
- Generate a random float☆35Updated 4 years ago
- Left pad each line in a string☆19Updated last year
- Check if a string is a scoped npm package name☆24Updated 3 years ago
- Node.js 0.12 util.debuglog() ponyfill☆19Updated last year
- Check if an Array is sorted☆34Updated 3 years ago
- ES2015 Number.isSafeInteger() ponyfill☆18Updated 4 years ago
- Modify the filename in a path☆16Updated 3 years ago
- Check if the character represented by a given Unicode code point is fullwidth☆49Updated last year
- Check if a number is in a given range☆21Updated 4 years ago
- Node.js 0.12 buffer.equals() ponyfill☆6Updated 4 years ago