Generate a random integer
☆89Sep 15, 2025Updated 5 months ago
Alternatives and similar repositories for random-int
Users that are interested in random-int are comparing it to the libraries listed below
Sorting:
- Generate a random float☆37Apr 18, 2021Updated 4 years ago
- Get a random key from an object☆18Jul 2, 2024Updated last year
- Get a random property from an object☆15Jul 2, 2024Updated last year
- Generate random numbers that are consecutively unique☆118Apr 8, 2024Updated last year
- Get a random item from an array☆58Mar 28, 2022Updated 3 years ago
- Check if a number is a redirect HTTP status code☆25Apr 17, 2021Updated 4 years ago
- Check if a file path is an archive file☆16Apr 30, 2024Updated last year
- Check if a number is in a given range☆22Jan 23, 2021Updated 5 years ago
- Create a noop process and get the PID☆14Aug 10, 2021Updated 4 years ago
- Ensure a function is stable, meaning the same input always produces the same output☆16Nov 4, 2023Updated 2 years ago
- Lowercase the keys of an object☆41Feb 2, 2026Updated last month
- Split a string at one or more indices☆25May 3, 2021Updated 4 years ago
- Remove or replace part of a string like Array#splice☆24Apr 15, 2021Updated 4 years ago
- Get the URL from a web shortcut file☆14Aug 14, 2021Updated 4 years ago
- Get the path to the user home directory☆13Apr 9, 2021Updated 4 years ago
- ES2015 Math.imul() ponyfill☆11Oct 30, 2023Updated 2 years ago
- [DEPRECATED] Promisify a result-first callback function.☆10Jun 5, 2017Updated 8 years ago
- Check if a value is an error constructor☆14Apr 7, 2021Updated 4 years ago
- Prepend `https://` to humanized URLs like `sindresorhus.com` and `file://` to file paths☆25Jul 9, 2022Updated 3 years ago
- List of archive file extensions☆16Apr 30, 2024Updated last year
- Convert matching single-quotes to double-quotes: `I 'love' unicorns` → `I "love" unicorns`☆24Jul 9, 2022Updated 3 years ago
- Get the number of days in a month☆27Oct 18, 2021Updated 4 years ago
- Modify the filename in a path☆17Jul 9, 2022Updated 3 years ago
- Round a number to a specific number of decimal places: 1.234 → 1.2☆159Sep 17, 2025Updated 5 months ago
- Left pad each line in a string☆20Aug 31, 2023Updated 2 years ago
- Get a Gravatar image from an identifier, such as an email☆42Sep 10, 2021Updated 4 years ago
- Strip UTF-8 byte order mark (BOM)☆22Sep 15, 2025Updated 5 months ago
- Get consecutively unique elements from an array☆77May 18, 2024Updated last year
- Check if something is a generator function☆24Jul 8, 2022Updated 3 years ago
- Check if a file path is a binary file☆49Apr 30, 2024Updated last year
- Get the hash of a string☆68Feb 5, 2022Updated 4 years ago
- Regular expression for matching scoped npm package names☆27Jul 9, 2022Updated 3 years ago
- Synchronously write a file and create its ancestor directories if needed☆14May 26, 2019Updated 6 years ago
- Get the email of an npm user☆14Feb 26, 2024Updated 2 years ago
- Sort an array of numbers☆18Sep 18, 2025Updated 5 months ago
- ES2015 Math.hypot() ponyfill☆12Apr 7, 2021Updated 4 years ago
- Get the maximum permitted length of a path of a Unix domain socket☆14Aug 16, 2021Updated 4 years ago
- Convert a Source Map object to a comment☆16Aug 9, 2021Updated 4 years ago
- Truncate a semver version: 1.2.3 → 1.2.0☆18Jul 9, 2022Updated 3 years ago