sindresorhus / exit-hookLinks
Run some code when the process exits
☆287Updated 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:
- when you want to fire an event no matter how a process exits.☆191Updated last year
- Get a stream as a string, Buffer, ArrayBuffer or array☆349Updated 7 months ago
- Get a random temporary file or directory path☆429Updated last year
- Run promise-returning & async functions concurrently with optional limited concurrency☆336Updated 5 months ago
- Timeout a promise after a specified amount of time☆290Updated 5 months ago
- A cacheable dns.lookup(…) that respects TTL☆204Updated last year
- Find the root directory of a Node.js project or npm package☆244Updated last year
- Find a file or directory by walking up parent directories☆609Updated 2 months ago
- Convert a string/promise/array/iterable/asynciterable/buffer/typedarray/arraybuffer/object into a stream☆208Updated last year
- Like which(1) unix command. Find the first instance of an executable in the PATH.☆338Updated last month
- Check if the process is running inside a Docker container☆220Updated last year
- npm's content-addressable cache☆287Updated last month
- Spec-compliant FormData implementation for Node.js☆146Updated this week
- JSON.parse() drop-in replacement with prototype poisoning protection☆233Updated 3 weeks ago
- Get callsites from the V8 stack trace API☆268Updated 11 months ago
- Serialize objects to JSON with handling for circular references☆157Updated this week
- Safely and quickly serialize JavaScript objects☆351Updated 5 months ago
- Write files in an atomic fashion w/configurable ownership☆236Updated last month
- A super-fast, promise based cache that reads and writes to the file-system.☆65Updated 10 months ago
- Memoize promise-returning & async functions☆407Updated last year
- Clean up error stack traces☆340Updated 2 years ago
- Read the closest package.json file☆268Updated last year
- Extremely fast utf8 only stream implementation☆285Updated 3 weeks ago
- Wait for a condition to be true☆159Updated last year
- An inter-process and inter-machine lockfile utility that works on a local or network file system.☆252Updated last year
- Clone a Readable stream, safely☆119Updated last year
- 🚸 Cross platform children list of a PID.☆125Updated 2 years ago
- Shared TypeScript config for my projects☆364Updated 6 months ago
- Create an error from multiple errors☆245Updated last year
- Read a package.json file☆167Updated last year