Run some code when the process exits
☆302Sep 18, 2026Updated 2 months ago
Alternatives and similar repositories for exit-hook
Users that are interested in exit-hook are comparing it to the libraries listed below. We may earn a commission when you buy through links labeled 'Ad' on this page.
Sorting:
- ES2015 Number.isFinite() ponyfill☆20Apr 7, 2021Updated 5 years ago
- Create an array with values that are present in the first input array but not additional ones☆40Sep 18, 2026Updated 2 months ago
- Check if a path is in the current working directory☆23Sep 18, 2026Updated 2 months ago
- Gracefully restore the CLI cursor on exit☆43Sep 18, 2026Updated 2 months ago
- Convert matching single-quotes to double-quotes: `I 'love' unicorns` → `I "love" unicorns`☆24Sep 18, 2026Updated 2 months ago
- Proton VPN Special Offer - Get 70% off • AdSpecial partner offer. Trusted by over 100 million users worldwide. Tested, Approved and Recommended by Experts.
- Check if a path is a file, directory, or symlink☆82Sep 18, 2026Updated 2 months ago
- Check if a path is the current working directory☆23Sep 18, 2026Updated 2 months ago
- Truncate a semver version: 1.2.3 → 1.2.0☆17Sep 18, 2026Updated 2 months ago
- Check if a path is inside another path☆41Sep 18, 2026Updated 2 months ago
- Node's default require extensions as a separate module☆11Sep 18, 2026Updated 2 months ago
- Ensure a function is stable, meaning the same input always produces the same output☆16Nov 4, 2023Updated 3 years ago
- Check if a number is a redirect HTTP status code☆25Sep 18, 2026Updated 2 months ago
- Strip a substring from the start/end of a string☆23Sep 18, 2026Updated 2 months ago
- Strip redundant indentation and indent the string☆56Sep 18, 2026Updated 2 months ago
- Open source password manager - Proton Pass • AdSecurely store, share, and autofill your credentials with Proton Pass, the end-to-end encrypted password manager trusted by millions.
- Similar to String#trim() but removes only whitespace on the right☆22Jul 9, 2021Updated 5 years ago
- Lax URL parsing with support for protocol-less URLs and IPs☆54Sep 18, 2026Updated 2 months ago
- ES2015 `String#codePointAt()` ponyfill☆23Jan 23, 2021Updated 5 years ago
- Modify the values of an object☆28Sep 18, 2026Updated 2 months ago
- Get the first path that exists on disk of multiple paths☆65Sep 18, 2026Updated 2 months ago
- Ensures a value is a valid error by making it one if not☆95Sep 15, 2025Updated last year
- Lowercase the keys of an object☆43Sep 18, 2026Updated 2 months ago
- Construct HTTP/HTTPS agents for tunneling proxies☆41Sep 2, 2018Updated 8 years ago
- Import a module like with `require()` but from a given path☆85Sep 18, 2026Updated 2 months ago
- Virtual machines for every use case on DigitalOcean • AdGet dependable uptime with 99.99% SLA, simple security tools, and predictable monthly pricing with DigitalOcean's virtual machines, called Droplets.
- Modify the filename in a path☆17Sep 18, 2026Updated 2 months ago
- Get configured proxy☆14Jul 21, 2017Updated 9 years ago
- Invert the key/value of an object. Example: {foo: 'bar'} → {bar: 'foo'}☆37Sep 18, 2026Updated 2 months ago
- Create a vinyl file or stream from a buffer☆13Oct 17, 2017Updated 9 years ago
- Prepend `https://` to humanized URLs like `sindresorhus.com` and `localhost`☆66Sep 18, 2026Updated 2 months ago
- Timeout HTTP/HTTPS requests☆49Sep 18, 2026Updated 2 months ago
- ES2015 Number.isNaN() ponyfill☆30May 2, 2024Updated 2 years ago
- Check if a Buffer/Uint8Array is a TAR file☆13Oct 17, 2017Updated 9 years ago
- ES2015 Math.imul() ponyfill☆11Oct 30, 2023Updated 3 years ago
- Open source password manager - Proton Pass • AdSecurely store, share, and autofill your credentials with Proton Pass, the end-to-end encrypted password manager trusted by millions.
- Reverse minimist. Convert an object of options into an array of command-line arguments☆187Sep 18, 2026Updated 2 months ago
- Get the directory of globally installed packages and binaries☆78Sep 18, 2026Updated 2 months ago
- Returns true if a filepath is absolute. The original path-is-absolute.☆22Jul 13, 2017Updated 9 years ago
- Clean up error stack traces☆347Nov 2, 2026Updated 2 weeks ago
- Returns `true` if a file path appears to be relative. Moved from the "relative" lib.☆14May 6, 2018Updated 8 years ago
- Check if your code is running as an npm or yarn script☆66Sep 18, 2026Updated 2 months ago
- Simple `setImmediate` shim☆29Sep 18, 2026Updated 2 months ago
Are these results useful?