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
- Like which(1) unix command. Find the first instance of an executable in the PATH.☆334Updated 6 months ago
- Get a stream as a string, Buffer, ArrayBuffer or array☆345Updated 5 months ago
- npm's content-addressable cache☆285Updated 4 months ago
- Run promise-returning & async functions concurrently with optional limited concurrency☆326Updated 3 months ago
- when you want to fire an event no matter how a process exits.☆191Updated last year
- Timeout a promise after a specified amount of time☆285Updated 3 months ago
- Find the root directory of a Node.js project or npm package☆240Updated last year
- Extremely fast utf8 only stream implementation☆282Updated 3 weeks ago
- Get a random temporary file or directory path☆427Updated last year
- Read a package.json file☆165Updated last year
- Read the closest package.json file☆266Updated last year
- Get callsites from the V8 stack trace API☆264Updated 9 months ago
- Copy files☆428Updated 8 months ago
- A promises port of https://github.com/raszi/node-tmp☆128Updated 7 months ago
- Wait for a condition to be true☆158Updated last year
- Shared TypeScript config for my projects☆361Updated 4 months ago
- Find a file or directory by walking up parent directories☆601Updated last week
- Safely and quickly serialize JavaScript objects☆348Updated 3 months ago
- A cacheable dns.lookup(…) that respects TTL☆200Updated last year
- Split Streams3 style☆287Updated 9 months ago
- Convert a string/promise/array/iterable/asynciterable/buffer/typedarray/arraybuffer/object into a stream☆206Updated last year
- Spec-compliant FormData implementation for Node.js☆143Updated 4 months ago
- fastify plugin to forward the current http request to another server☆155Updated this week
- npm fetcher☆366Updated 3 months ago
- Parse yes/no like values☆268Updated 2 years ago
- An inter-process and inter-machine lockfile utility that works on a local or network file system.☆247Updated last year
- Clean up error stack traces☆339Updated 2 years ago
- Write files in an atomic fashion w/configurable ownership☆235Updated 6 months ago
- node byte string parser☆467Updated 8 months ago
- Get details about the current Continuous Integration environment☆335Updated 3 weeks ago