sindresorhus / random-intLinks
Generate a random integer
☆89Updated 2 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
- Check if a string or buffer is SVG☆143Updated 4 months ago
- Copy a file☆122Updated 3 months ago
- Get a random temporary file path☆81Updated 2 years ago
- Get a random item from an array☆58Updated 3 years ago
- Ensure a function is only called once☆164Updated 2 years ago
- Round a number to a specific number of decimal places: 1.234 → 1.2☆160Updated 2 months ago
- Check if argv has a specific flag☆95Updated 4 years ago
- Reliable way to to get the height and width of the terminal/console in a node.js environment.☆84Updated last year
- Truncate a string to a specific width in the terminal☆87Updated last month
- Make your terminal beep☆135Updated 2 months ago
- Filter object keys and values into a new object☆105Updated last year
- Cross-platform .zip file creation☆129Updated last year
- Replace all substring matches in a string☆90Updated 4 years ago
- Convert PNG to ICO in memory☆137Updated 5 years ago
- List of video file extensions☆57Updated last year
- Check if the process is running with elevated privileges☆42Updated 4 years ago
- Create an array without duplicates☆74Updated 4 years ago
- Generate a random float☆37Updated 4 years ago
- Read a chunk from a file☆125Updated last year
- Check if a string is a valid filename☆63Updated 4 years ago
- Indent each line in a string☆114Updated 3 years ago
- Get a formatted timestamp. Used in gulp, assemble, generate, and many others.☆110Updated 5 years ago
- Generate a unique random string☆89Updated 3 years ago
- Determine if an object is a Buffer☆90Updated 4 years ago
- Get an unused filename by appending a number if it exists: `file.txt` → `file (1).txt`☆144Updated 2 months ago
- Create an array with values that are present in the first input array but not additional ones☆41Updated 4 years ago
- Convert a string/Buffer/Uint8Array to a readable stream☆93Updated 3 years ago
- Convert a file path to a file URL: `unicorn.jpg` → `file:///Users/sindresorhus/unicorn.jpg`☆63Updated last year
- Check if the process is running as root user, for example, one started with `sudo`☆79Updated 3 years ago