sindresorhus / math-clamp
Clamp a number
☆14Updated 9 months ago
Related projects ⓘ
Alternatives and complementary repositories for math-clamp
- Include only certain items in an array☆16Updated 3 years ago
- Lax `url.format()` that formats a hostname and port into IPv6-compatible socket form of `hostname:port`☆13Updated 3 years ago
- Exclude certain items from an array☆20Updated 3 years ago
- Check if a value is a function☆27Updated 3 years ago
- Find mapcodes in a string☆23Updated 2 years ago
- Convert a Source Map object to a comment☆15Updated 3 years ago
- Sort an array of numbers☆16Updated 3 years ago
- Strip shebang (eg. #!/bin/sh) from a string☆11Updated 3 years ago
- Get the name of a named function☆33Updated 3 years ago
- Get the system default UID☆11Updated last year
- Format a date with timezone☆10Updated 8 years ago
- ES2015 Number.isSafeInteger() ponyfill☆18Updated 3 years ago
- utility to create a pretty report for a vfile☆20Updated last year
- utility to convert to ESLint formatter compatible output☆17Updated last year
- Remove or replace part of a string like Array#splice☆23Updated 3 years ago
- Check if a string is a scoped npm package name☆24Updated 2 years ago
- Get an array of parent directories including itself☆27Updated last year
- Move around lines in a string☆10Updated 8 years ago
- Check if a number is in a given range☆21Updated 3 years ago
- Regular expression for matching a shebang line☆46Updated 3 years ago
- Check if a value is an error constructor☆13Updated 3 years ago
- Is this an arguments object? It's a harder question than you think.☆15Updated 2 years ago
- Highly experimental bundler and loader of Node.js modules☆14Updated 7 years ago
- Check if a JavaScript environment has a DOM☆19Updated 3 years ago
- Check if a number is a redirect HTTP status code☆23Updated 3 years ago
- Split a string at one or more indices☆23Updated 3 years ago
- Get all emails in a text file or stdin☆24Updated 3 years ago
- Reliably get the terminal window size - cross-platform☆25Updated last year
- fstream class for creating npm packages☆30Updated 7 years ago