sindresorhus / exit-hook
Run some code when the process exits
☆283Updated last year
Alternatives and similar repositories for exit-hook:
Users that are interested in exit-hook are comparing it to the libraries listed below
- Get a stream as a string, Buffer, ArrayBuffer or array☆344Updated 3 months ago
- when you want to fire an event no matter how a process exits.☆189Updated last year
- Find a file or directory by walking up parent directories☆587Updated 6 months ago
- Like which(1) unix command. Find the first instance of an executable in the PATH.☆337Updated 3 months ago
- Run promise-returning & async functions concurrently with optional limited concurrency☆322Updated last month
- Split Streams3 style☆284Updated 7 months ago
- Spec-compliant FormData implementation for Node.js☆143Updated 2 months ago
- Find the root directory of a Node.js project or npm package☆239Updated last year
- Serialize objects to JSON with handling for circular references☆153Updated 7 months ago
- Read a package.json file☆166Updated last year
- Check if the process is running inside a Docker container☆221Updated last year
- Get a random temporary file or directory path☆425Updated last year
- JSON.parse() drop-in replacement with prototype poisoning protection☆228Updated 2 weeks ago
- Get stdin as a string or buffer☆336Updated last year
- Find the closest package.json file☆162Updated last year
- Extremely fast utf8 only stream implementation☆276Updated last week
- Write files in an atomic fashion w/configurable ownership☆233Updated 3 months ago
- A cacheable dns.lookup(…) that respects TTL☆195Updated last year
- Convert a string/promise/array/iterable/asynciterable/buffer/typedarray/arraybuffer/object into a stream☆206Updated last year
- Convert a camelized string into a lowercased one with a custom separator: unicornRainbow → unicorn_rainbow☆237Updated 2 years ago
- npm's content-addressable cache☆282Updated last month
- Timeout a promise after a specified amount of time☆281Updated 3 weeks ago
- Strip leading whitespace from each line in a string☆136Updated 3 years ago
- Safely and quickly serialize JavaScript objects☆349Updated last month
- Wait for a condition to be true☆156Updated last year
- Clean up error stack traces☆338Updated last year
- Shared TypeScript config for my projects☆356Updated 2 months ago
- fastify plugin to forward the current http request to another server☆154Updated 2 weeks ago
- convert a human readable duration to ms☆247Updated this week
- Read the closest package.json file☆264Updated last year