sindresorhus / first-run
Check if it's the first time the process is run
☆79Updated 3 years ago
Related projects ⓘ
Alternatives and complementary repositories for first-run
- Lazy number range generator☆82Updated 10 months ago
- Reliably get the terminal window size☆140Updated last year
- Run the Node.js binary no matter what☆138Updated 3 years ago
- Measure the time a promise takes to resolve☆70Updated last year
- Find multiple RegExp matches in a string☆93Updated 2 years ago
- Conditional promise chains☆60Updated 3 years ago
- Parse text columns, like the output of unix commands☆82Updated 3 years ago
- Rename a function☆45Updated last year
- Simplified high resolution timing☆76Updated 2 months ago
- Returns an array filled with the specified input☆43Updated 2 years ago
- Clean up regular expressions☆61Updated 3 months ago
- Ensures a value is a valid error by making it one if not☆78Updated 2 years ago
- Get an unused filename by appending a number if it exists: `file.txt` → `file (1).txt`☆141Updated 2 years ago
- Run promise-returning & async functions a specific number of times concurrently☆38Updated 3 years ago
- Embed data in other data and easily extract it when needed☆72Updated 3 years ago
- Get an array of valid, sorted, and cleaned semver versions from an array of strings☆40Updated 3 years ago
- Turn your Wi-Fi on and off☆86Updated 3 years ago
- Find out if a computer is charging☆75Updated 6 years ago
- Check if the built-in Mac camera is on☆96Updated 2 years ago
- Check if a project is using Yarn☆100Updated 2 years ago
- Extract the actual stack of an error☆67Updated 2 years ago
- Control the AnyBar app☆101Updated 2 years ago
- Convert matching double-quotes to single-quotes: `I "love" unicorns` → `I 'love' unicorns`☆55Updated 2 years ago
- Replace all substring matches in a string☆88Updated 3 years ago
- Get the command history of the user's shell☆84Updated last year
- Block users from running your app with root permissions☆98Updated last year
- Exit the process when the `esc` key is pressed☆57Updated 11 months ago
- Hook and modify stdout and stderr☆54Updated 2 years ago
- Make unhandled promise rejections fail hard right away instead of the default silent fail☆107Updated 2 years ago
- Returns a promise resolved in the next event loop - think `setImmediate()`☆69Updated 3 years ago