sindresorhus / random-intLinks
Generate a random integer
☆86Updated 4 years 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 random numbers that are consecutively unique☆115Updated last year
- Ensure a function is only called once☆162Updated last year
- Check if argv has a specific flag☆95Updated 4 years ago
- Truncate a string to a specific width in the terminal☆87Updated last year
- Replace all substring matches in a string☆88Updated 3 years ago
- Get a random item from an array☆57Updated 3 years ago
- Round a number to a specific number of decimal places: 1.234 → 1.2☆156Updated last year
- Reliable way to to get the height and width of the terminal/console in a node.js environment.☆84Updated 11 months ago
- Make your terminal beep☆135Updated 3 years ago
- Check if a string or buffer is SVG☆140Updated 3 weeks ago
- Create an array without duplicates☆71Updated 4 years ago
- Get a random temporary file path☆80Updated 2 years ago
- Copy a file☆121Updated last year
- Cross-platform .zip file creation☆130Updated last year
- Convert a string/Buffer/Uint8Array to a readable stream☆90Updated 2 years ago
- touch(1) for node☆124Updated last year
- Filter object keys and values into a new object☆103Updated last year
- Check if the process is running with elevated privileges☆41Updated 3 years ago
- Find multiple RegExp matches in a string☆92Updated 3 years ago
- Read a chunk from a file☆123Updated last year
- Convert PNG to ICO in memory☆136Updated 5 years ago
- Get a formatted timestamp. Used in gulp, assemble, generate, and many others.☆110Updated 4 years ago
- Get an unused filename by appending a number if it exists: `file.txt` → `file (1).txt`☆141Updated 3 years ago
- Check if a string is HTML☆95Updated last year
- Generate a unique random string☆85Updated 3 years ago
- Check if a string is a valid filename☆62Updated 3 years ago
- Check if something is a Node.js stream☆112Updated 9 months ago
- Convert an absolute path to tilde path: /Users/sindresorhus/dev => ~/dev☆94Updated 3 years ago
- Wrapper for the Windows `tasklist` command. Returns a list of apps and services with their Process ID (PID) for all tasks running on eith…☆67Updated 3 years ago
- Check if a path is a file, directory, or symlink☆78Updated last year