sindresorhus / random-int
Generate a random integer
☆87Updated 3 years ago
Alternatives and similar repositories for random-int:
Users that are interested in random-int are comparing it to the libraries listed below
- Generate random numbers that are consecutively unique☆116Updated 11 months 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
- Round a number to a specific number of decimal places: 1.234 → 1.2☆155Updated last year
- Check if the process is running with elevated privileges☆41Updated 3 years ago
- Ensure a function is only called once☆162Updated last year
- Get a random temporary file path☆79Updated 2 years ago
- Truncate a string to a specific width in the terminal☆87Updated last year
- Get a formatted timestamp. Used in gulp, assemble, generate, and many others.☆111Updated 4 years ago
- Check if argv has a specific flag☆94Updated 3 years ago
- Check if the process is running as administrator on Windows☆37Updated 3 years ago
- Check if a URL is absolute☆79Updated 3 years ago
- Check if a string is HTML☆95Updated last year
- Replace all substring matches in a string☆88Updated 3 years ago
- Generate a random float☆35Updated 3 years ago
- Reliable way to to get the height and width of the terminal/console in a node.js environment.☆83Updated 7 months ago
- Get a random item from an array☆57Updated 2 years ago
- Wait for any promise to be fulfilled☆54Updated 2 years ago
- Run promise-returning & async functions a specific number of times concurrently☆39Updated 3 years ago
- Write data to a random temporary file☆105Updated 7 months ago
- Fill in a range of numbers or letters, positive or negative, optionally passing an increment or multiplier to use.☆58Updated 7 months ago
- Filter object keys and values into a new object☆101Updated 9 months ago
- Rename a function☆46Updated last year
- Read a chunk from a file☆123Updated 8 months ago
- Make your terminal beep☆134Updated 2 years ago
- Exit the process when the `esc` key is pressed☆56Updated last year
- Convert an absolute path to tilde path: /Users/sindresorhus/dev => ~/dev☆93Updated 2 years ago
- Check if a process is running☆58Updated 3 years ago
- Create a HTML element string☆91Updated 4 months ago
- Cross-platform .zip file creation☆130Updated last year
- Get an unused filename by appending a number if it exists: `file.txt` → `file (1).txt`☆140Updated 2 years ago