sindresorhus / unique-random
Generate random numbers that are consecutively unique
☆116Updated 10 months ago
Alternatives and similar repositories for unique-random:
Users that are interested in unique-random are comparing it to the libraries listed below
- Generate a random integer☆88Updated 3 years ago
- Round a number to a specific number of decimal places: 1.234 → 1.2☆155Updated last year
- Convert a string/Buffer/Uint8Array to a readable stream☆90Updated 2 years ago
- Truncate a string to a specific width in the terminal☆86Updated last year
- Ensure a function is only called once☆162Updated last year
- 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
- Wordwrap a string with ANSI escape codes☆120Updated last year
- Check if a process is running☆58Updated 3 years ago
- Check whether a package or organization name is available on npm☆169Updated last year
- Write data to a random temporary file☆105Updated 6 months ago
- Check if it's the first time the process is run☆78Updated 3 years ago
- Read a chunk from a file☆123Updated 7 months ago
- Move a file - Even works across devices☆199Updated last year
- Wait for any promise to be fulfilled☆55Updated 2 years ago
- Reliably get the terminal window size☆141Updated last year
- Check if something is a Node.js stream☆110Updated 3 months ago
- Exports a jsdom window object.☆77Updated 2 years ago
- Generate a random float☆36Updated 3 years ago
- Get a random temporary file path☆79Updated 2 years ago
- Copy files☆428Updated 6 months ago
- Check if the process is running as administrator on Windows☆37Updated 3 years ago
- Extract the actual stack of an error☆66Updated 2 years ago
- Replace all substring matches in a string☆88Updated 3 years ago
- Cross-platform .zip file creation☆130Updated last year
- Start a promise chain☆58Updated 3 years ago
- Helper utility to provide pretty printed file sizes☆65Updated 2 years ago
- touch(1) for node☆122Updated 8 months ago
- Generate a unique random string☆85Updated 2 years ago
- Get an unused filename by appending a number if it exists: `file.txt` → `file (1).txt`☆140Updated 2 years ago
- Get a random item from an array☆57Updated 2 years ago