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
- Get a random temporary file path☆80Updated 2 years ago
- Reliable way to to get the height and width of the terminal/console in a node.js environment.☆84Updated 9 months ago
- Check if the process is running with elevated privileges☆41Updated 3 years ago
- Check if a string or buffer is SVG☆135Updated 3 weeks ago
- Convert PNG to ICO in memory☆137Updated 5 years ago
- Check if argv has a specific flag☆95Updated 3 years ago
- Detect the dominant newline character of a string☆55Updated last year
- Make your terminal beep☆134Updated 2 years ago
- Get an unused filename by appending a number if it exists: `file.txt` → `file (1).txt`☆140Updated 3 years ago
- touch(1) for node☆124Updated 11 months ago
- Round a number to a specific number of decimal places: 1.234 → 1.2☆155Updated last year
- Replace all substring matches in a string☆88Updated 3 years ago
- Write data to a random temporary file☆105Updated 10 months ago
- Check if a string is HTML☆95Updated last year
- Generate a random float☆35Updated 4 years ago
- Check if a string is a valid filename☆62Updated 3 years ago
- Get a random item from an array☆57Updated 3 years ago
- Convert an absolute path to tilde path: /Users/sindresorhus/dev => ~/dev☆94Updated 2 years ago
- Returns an array with only the unique values from all given arrays using strict equality for comparisons.☆47Updated 3 years ago
- Read a chunk from a file☆122Updated 11 months ago
- Wait for any promise to be fulfilled☆54Updated 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.☆112Updated 4 years ago
- Reliably get the terminal window size☆140Updated last year
- Ensure a function is only called once☆162Updated last year
- Check if a process is running☆58Updated 3 years ago
- Randomize the order of items in an array☆105Updated 2 years ago
- Filter object keys and values into a new object☆101Updated last year
- Check if something is a promise☆46Updated 4 years ago