sindresorhus / exit-hook
Run some code when the process exits
☆284Updated last year
Alternatives and similar repositories for exit-hook:
Users that are interested in exit-hook are comparing it to the libraries listed below
- Run promise-returning & async functions concurrently with optional limited concurrency☆328Updated 4 months ago
- Get a stream as a string, Buffer, ArrayBuffer or array☆347Updated 5 months ago
- when you want to fire an event no matter how a process exits.☆191Updated last year
- Wait for a condition to be true☆158Updated last year
- npm's content-addressable cache☆287Updated 2 weeks ago
- Extremely fast utf8 only stream implementation☆282Updated last month
- Find the root directory of a Node.js project or npm package☆242Updated last year
- Get a random temporary file or directory path☆428Updated last year
- Safely and quickly serialize JavaScript objects☆348Updated 4 months ago
- Like which(1) unix command. Find the first instance of an executable in the PATH.☆336Updated 2 weeks ago
- Memoize promise-returning & async functions☆405Updated last year
- Clean up error stack traces☆339Updated 2 years ago
- Split Streams3 style☆288Updated 10 months ago
- Serialize objects to JSON with handling for circular references☆155Updated 10 months ago
- Read a package.json file☆165Updated last year
- Clone a Readable stream, safely☆119Updated last year
- Find a file or directory by walking up parent directories☆604Updated last month
- An inter-process and inter-machine lockfile utility that works on a local or network file system.☆250Updated last year
- fastify plugin to forward the current http request to another server☆156Updated last week
- JSON.parse() drop-in replacement with prototype poisoning protection☆231Updated 3 weeks ago
- A stream implementation that does more by doing less☆251Updated 11 months ago
- A cacheable dns.lookup(…) that respects TTL☆203Updated last year
- Create an error from multiple errors☆245Updated last year
- Copy files☆428Updated 8 months ago
- Serialize/deserialize an error into a plain object☆557Updated 3 months ago
- Shared TypeScript config for my projects☆362Updated 4 months ago
- Safe, deterministic and fast serialization alternative to JSON.stringify.☆217Updated last week
- Strip leading whitespace from each line in a string☆137Updated 3 years ago
- Timeout a promise after a specified amount of time☆287Updated 3 months ago
- Parse yes/no like values☆268Updated 2 years ago