sindresorhus / exit-hookLinks
Run some code when the process exits
☆292Updated last year
Alternatives and similar repositories for exit-hook
Users that are interested in exit-hook are comparing it to the libraries listed below
Sorting:
- Run promise-returning & async functions concurrently with optional limited concurrency☆338Updated 8 months ago
- Timeout a promise after a specified amount of time☆292Updated 7 months ago
- Wait for a condition to be true☆158Updated 2 years ago
- Find the root directory of a Node.js project or npm package☆246Updated 2 months ago
- when you want to fire an event no matter how a process exits.☆193Updated last year
- Get a random temporary file or directory path☆436Updated 2 years ago
- npm's content-addressable cache☆290Updated last month
- Check if the process is running inside a Docker container☆223Updated last year
- Get a stream as a string, Buffer, ArrayBuffer or array☆352Updated 9 months ago
- Like which(1) unix command. Find the first instance of an executable in the PATH.☆343Updated last month
- Memoize promise-returning & async functions☆409Updated last week
- Spec-compliant FormData implementation for Node.js☆146Updated 2 months ago
- Safely and quickly serialize JavaScript objects☆351Updated 8 months ago
- Convert a string/promise/array/iterable/asynciterable/buffer/typedarray/arraybuffer/object into a stream☆208Updated last year
- Write files in an atomic fashion w/configurable ownership☆240Updated last month
- Safe, deterministic and fast serialization alternative to JSON.stringify.☆227Updated 4 months ago
- Get the latest version of an npm package☆176Updated last year
- Parse JSON with more helpful errors☆366Updated 4 months ago
- A cacheable dns.lookup(…) that respects TTL☆211Updated last year
- making fetch happen for npm☆201Updated last month
- Get callsites from the V8 stack trace API☆265Updated last year
- Extremely fast utf8 only stream implementation☆291Updated 3 weeks ago
- JSON.parse() drop-in replacement with prototype poisoning protection☆237Updated 2 months ago
- Clean up error stack traces☆341Updated 2 years ago
- ⏱️Zero CPU overhead, zero dependency, true event-loop blocking sleep ⏱️☆82Updated 5 years ago
- Get metadata of a package from the npm registry☆242Updated last year
- Serialize objects to JSON with handling for circular references☆157Updated 2 months ago
- Faster brace expansion for node.js. Besides being faster, braces is not subject to DoS attacks like minimatch, is more accurate, and has …☆240Updated 7 months ago
- 🚸 Cross platform children list of a PID.☆126Updated 2 years ago
- easily create complex multi-column command-line-interfaces.☆379Updated 3 weeks ago