sindresorhus / exit-hookLinks
Run some code when the process exits
☆292Updated 2 years ago
Alternatives and similar repositories for exit-hook
Users that are interested in exit-hook are comparing it to the libraries listed below
Sorting:
- Run promise-returning & async functions concurrently with optional limited concurrency☆339Updated 8 months ago
- Get a stream as a string, Buffer, ArrayBuffer or array☆353Updated 10 months ago
- Wait for a condition to be true☆160Updated 2 years ago
- npm's content-addressable cache☆292Updated 3 weeks ago
- Like which(1) unix command. Find the first instance of an executable in the PATH.☆342Updated 2 months ago
- Timeout a promise after a specified amount of time☆293Updated 8 months ago
- Get a random temporary file or directory path☆436Updated 2 years ago
- Memoize promise-returning & async functions☆414Updated last month
- Find the root directory of a Node.js project or npm package☆246Updated 3 months ago
- when you want to fire an event no matter how a process exits.☆193Updated last year
- Safely and quickly serialize JavaScript objects☆352Updated 8 months ago
- Safe, deterministic and fast serialization alternative to JSON.stringify.☆230Updated 4 months ago
- Check if the process is running inside a Docker container☆225Updated last year
- Extremely fast utf8 only stream implementation☆295Updated last week
- A cacheable dns.lookup(…) that respects TTL☆213Updated last year
- Find a file or directory by walking up parent directories☆622Updated 3 months ago
- Parse yes/no like values☆270Updated 3 weeks ago
- Get metadata of a package from the npm registry☆243Updated last year
- Spec-compliant FormData implementation for Node.js☆145Updated 3 months ago
- fastify plugin to forward the current http request to another server☆161Updated last week
- Parse JSON with more helpful errors☆367Updated 5 months ago
- Get callsites from the V8 stack trace API☆266Updated this week
- Write files in an atomic fashion w/configurable ownership☆241Updated 2 months ago
- ⏱️Zero CPU overhead, zero dependency, true event-loop blocking sleep ⏱️☆83Updated 5 years ago
- Get details about the current Continuous Integration environment☆354Updated 2 months ago
- JSON.parse() drop-in replacement with prototype poisoning protection☆237Updated last week
- Test if an ES module is run directly (require.main replacement)☆95Updated this week
- Get the latest version of an npm package☆176Updated last year
- Faster brace expansion for node.js. Besides being faster, braces is not subject to DoS attacks like minimatch, is more accurate, and has …☆241Updated 7 months ago
- Serialize objects to JSON with handling for circular references☆158Updated 3 months ago