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
- Reliable way to to get the height and width of the terminal/console in a node.js environment.☆84Updated 10 months ago
- Cross-platform .zip file creation☆130Updated last year
- Get a formatted timestamp. Used in gulp, assemble, generate, and many others.☆112Updated 4 years ago
- Truncate a string to a specific width in the terminal☆87Updated last year
- 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
- Create an array without duplicates☆71Updated 4 years ago
- Check if argv has a specific flag☆95Updated 3 years ago
- Get a random temporary file path☆80Updated 2 years ago
- Detect the dominant newline character of a string☆55Updated last year
- Convert PNG to ICO in memory☆136Updated 5 years ago
- Filter object keys and values into a new object☆101Updated last year
- Check if the process is running with elevated privileges☆41Updated 3 years ago
- Wordwrap a string with ANSI escape codes☆125Updated last year
- Iterate over promises serially☆50Updated 2 years ago
- Parse milliseconds into an object☆119Updated last year
- Ensure a function is only called once☆162Updated last year
- Check if a string is HTML☆95Updated last year
- Wait for any promise to be fulfilled☆54Updated 2 years ago
- Replace all substring matches in a string☆88Updated 3 years ago
- Generate a random float☆35Updated 4 years ago
- Returns an array filled with the specified input☆42Updated 2 years ago
- Get an unused filename by appending a number if it exists: `file.txt` → `file (1).txt`☆140Updated 3 years ago
- Zero-fill a number to the given size.☆31Updated 4 years ago
- Fill in a range of numbers or letters, positive or negative, optionally passing an increment or multiplier to use.☆59Updated 10 months ago
- Reliably get the terminal window size☆141Updated last year
- Read a chunk from a file☆123Updated 11 months ago
- Check if a process is running☆58Updated 3 years ago
- Randomize the order of items in an array☆105Updated 2 years ago