sindresorhus / onetimeLinks
Ensure a function is only called once
☆164Updated 2 years ago
Alternatives and similar repositories for onetime
Users that are interested in onetime are comparing it to the libraries listed below
Sorting:
- Reliably get the terminal window size☆146Updated 2 years ago
- Lazy number range generator☆83Updated 2 years ago
- Truncate a string to a specific width in the terminal☆88Updated 2 months ago
- Get an unused filename by appending a number if it exists: `file.txt` → `file (1).txt`☆144Updated 3 months ago
- Check if argv has a specific flag☆96Updated 4 years ago
- Check if it's the first time the process is run☆83Updated 3 months ago
- Simplified high resolution timing☆85Updated last year
- Run the Node.js binary no matter what☆142Updated 3 months ago
- Reverse minimist. Convert an object of options into an array of command-line arguments☆187Updated 2 years ago
- Block users from running your app with root permissions☆100Updated 2 years ago
- Find multiple RegExp matches in a string☆91Updated 3 years ago
- Boxes for use in the terminal☆105Updated last year
- Hook and modify stdout and stderr☆57Updated 4 months ago
- Check whether a package or organization name is available on npm☆171Updated last year
- Extract the actual stack of an error☆68Updated 3 years ago
- Indent each line in a string☆115Updated 3 years ago
- Replace all substring matches in a string☆90Updated 4 years ago
- Create a lazily evaluated value☆69Updated 4 years ago
- Parse text columns, like the output of unix commands☆84Updated 4 months ago
- Round a number to a specific number of decimal places: 1.234 → 1.2☆161Updated 3 months ago
- Filter object keys and values into a new object☆105Updated last year
- Check when the DOM has loaded like `DOMContentLoaded`☆111Updated last year
- Copy a file☆122Updated 4 months ago
- While a condition returns true, calls a function repeatedly, and then resolves the promise☆58Updated last year
- Measure the time a promise takes to resolve☆72Updated 2 years ago
- Check if a namespace on npm is being hogged☆74Updated 6 years ago
- Check if your package was installed globally☆71Updated 2 years ago
- Embed data in other data and easily extract it when needed☆76Updated 4 years ago
- Exit the process when the `esc` key is pressed☆58Updated 2 years ago
- Scan npm for available package names☆101Updated 5 years ago