sindresorhus / exit-hook
Run some code when the process exits
☆282Updated last year
Alternatives and similar repositories for exit-hook:
Users that are interested in exit-hook are comparing it to the libraries listed below
- when you want to fire an event no matter how a process exits.☆189Updated last year
- Run promise-returning & async functions concurrently with optional limited concurrency☆325Updated 2 months ago
- Get a stream as a string, Buffer, ArrayBuffer or array☆345Updated 4 months ago
- npm's content-addressable cache☆283Updated 3 months ago
- Split Streams3 style☆285Updated 8 months ago
- fastify plugin to forward the current http request to another server☆154Updated 3 weeks ago
- Extremely fast utf8 only stream implementation☆277Updated last month
- Clone a Readable stream, safely☆119Updated last year
- Get the latest version of an npm package☆176Updated last year
- Safely and quickly serialize JavaScript objects☆347Updated 2 months ago
- Read a package.json file☆166Updated last year
- Like which(1) unix command. Find the first instance of an executable in the PATH.☆335Updated 5 months ago
- A small utility, used by Fastify itself, for generating consistent error objects across your codebase and plugins☆112Updated last month
- Find the root directory of a Node.js project or npm package☆240Updated last year
- Check if the process is running inside a Docker container☆220Updated last year
- Wait for a condition to be true☆156Updated last year
- Parse yes/no like values☆267Updated 2 years ago
- ⏱️Zero CPU overhead, zero dependency, true event-loop blocking sleep ⏱️☆79Updated 4 years ago
- Fastify compression utils☆206Updated last month
- Get a random temporary file or directory path☆427Updated last year
- Find the closest package.json file☆162Updated last year
- Find a file or directory by walking up parent directories☆591Updated 8 months ago
- Strip leading whitespace from each line in a string☆136Updated 3 years ago
- Convert a string/promise/array/iterable/asynciterable/buffer/typedarray/arraybuffer/object into a stream☆206Updated last year
- JSON.parse() drop-in replacement with prototype poisoning protection☆229Updated last month
- Timeout a promise after a specified amount of time☆283Updated 2 months ago
- Get callsites from the V8 stack trace API☆262Updated 8 months ago
- Serialize objects to JSON with handling for circular references☆154Updated 8 months ago
- Start a promise chain☆58Updated 3 years ago
- Serialize/deserialize an error into a plain object☆553Updated last month