sindresorhus / onetimeLinks
Ensure a function is only called once
☆162Updated last year
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☆140Updated last year
- Truncate a string to a specific width in the terminal☆87Updated last year
- Lazy number range generator☆81Updated last year
- Get an unused filename by appending a number if it exists: `file.txt` → `file (1).txt`☆140Updated 3 years ago
- Hook and modify stdout and stderr☆54Updated 2 years ago
- Check whether a package or organization name is available on npm☆170Updated last year
- Parse text columns, like the output of unix commands☆82Updated 3 years ago
- Copy a file☆120Updated last year
- Simplified high resolution timing☆81Updated 8 months ago
- Run the Node.js binary no matter what☆138Updated 4 years ago
- Create a HTML element string☆91Updated 6 months ago
- Measure the time a promise takes to resolve☆70Updated last year
- Check if argv has a specific flag☆95Updated 3 years ago
- Create a lazily evaluated value☆69Updated 4 years ago
- Convert an object of time properties to milliseconds: `{seconds: 2}` → `2000`☆160Updated 4 years ago
- Check if a namespace on npm is being hogged☆74Updated 5 years ago
- Boxes for use in the terminal☆98Updated 9 months ago
- Get the first path that exists on disk of multiple paths☆58Updated 2 years ago
- Block users from running your app with root permissions☆98Updated last year
- Get all property keys of an object including non-enumerable and inherited ones☆108Updated 3 years ago
- Get PID from a port☆79Updated 4 years ago
- Extract the actual stack of an error☆66Updated 2 years ago
- Convert a URL to a valid filename☆77Updated last year
- Clean up regular expressions☆62Updated 9 months ago
- Check when the DOM has loaded like `DOMContentLoaded`☆110Updated 9 months ago
- Shorten GitHub links like GitHub shortens Issues and Commit links.☆83Updated 6 months ago
- Find multiple RegExp matches in a string☆92Updated 2 years ago
- Toggle the CLI cursor☆108Updated 10 months ago
- Define a lazily evaluated property on an object☆65Updated 2 years ago
- Get namespaced config from the closest package.json☆121Updated last year