sindresorhus / random-intLinks
Generate a random integer
☆89Updated 3 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 random numbers that are consecutively unique☆118Updated last year
- Get a random item from an array☆58Updated 3 years ago
- Get a random temporary file path☆81Updated 2 years ago
- Round a number to a specific number of decimal places: 1.234 → 1.2☆161Updated 3 months ago
- Convert PNG to ICO in memory☆137Updated 5 years ago
- Read a chunk from a file☆125Updated last year
- Check if a string or buffer is SVG☆143Updated 6 months ago
- Copy a file☆122Updated 4 months ago
- Cross-platform .zip file creation☆129Updated last year
- Make your terminal beep☆135Updated 4 months ago
- Check if the process is running with elevated privileges☆43Updated 4 years ago
- Replace all substring matches in a string☆90Updated 4 years ago
- Check if argv has a specific flag☆96Updated 4 years ago
- Filter object keys and values into a new object☆105Updated last year
- Get a formatted timestamp. Used in gulp, assemble, generate, and many others.☆110Updated 5 years ago
- Reliable way to to get the height and width of the terminal/console in a node.js environment.☆84Updated last year
- Ensure a function is only called once☆164Updated 2 years ago
- Truncate a string to a specific width in the terminal☆88Updated 2 months ago
- Create an array without duplicates☆74Updated 4 years ago
- List of video file extensions☆57Updated last year
- Convert an absolute path to tilde path: /Users/sindresorhus/dev => ~/dev☆96Updated 3 years ago
- Wordwrap a string with ANSI escape codes☆130Updated 4 months ago
- touch(1) for node☆125Updated 2 months ago
- Check if a process is running☆61Updated 4 years ago
- Resize images in memory☆65Updated 4 years ago
- Get an unused filename by appending a number if it exists: `file.txt` → `file (1).txt`☆144Updated 4 months ago
- Check if a string is HTML☆95Updated 4 months ago
- Convert a string/Buffer/Uint8Array to a readable stream☆94Updated 3 years ago
- Indent each line in a string☆115Updated 3 years ago
- Convert a file path to a file URL: `unicorn.jpg` → `file:///Users/sindresorhus/unicorn.jpg`☆63Updated last year