pubkey / unload
Run a piece of code when the javascript process stops. Works in all environments (browsers, nodejs..)
☆55Updated this week
Related projects ⓘ
Alternatives and complementary repositories for unload
- Displays the execution time for Node.js modules loading by hooking require() calls☆23Updated 3 years ago
- Use the Node `dns` API in Chrome Apps☆33Updated 5 years ago
- Run promise-returning & async functions repeatedly until you end it☆45Updated 3 years ago
- Helper functions for implementing the idle-until-urgent pattern☆37Updated 6 years ago
- Dynamic script loading for modern browsers☆47Updated 3 years ago
- Conditional promise chains☆60Updated 3 years ago
- Tiny type-safe event emitter☆26Updated 11 months ago
- A better `Promise.race()`☆46Updated last year
- Mimic a Node.js HTTP response stream☆59Updated last year
- Strip the final newline character from a string/buffer☆35Updated 3 weeks ago
- Strip redundant indentation and indent the string☆54Updated 3 years ago
- Turn an object into a string of HTML attributes☆49Updated last year
- Filter promises concurrently☆72Updated 10 months ago
- Check if a string matches the name of a Node.js builtin module☆58Updated 6 months ago
- Get the diff type of two semver versions: 0.0.1 0.0.2 → patch☆67Updated 3 years ago
- ⏲ - Small timing library☆35Updated 6 years ago
- Convert a string/Buffer/Uint8Array to a readable stream☆90Updated 2 years ago
- Node filesystem spies and mocks☆47Updated 3 weeks ago
- Cleanup expired items in a Map☆18Updated 3 years ago
- programmatic API for the shiny new npm search endpoint☆25Updated 2 years ago
- Run promise-returning & async functions in series, each passing its result to the next☆74Updated 3 years ago
- Get CPU usage percentage of own process☆19Updated 4 years ago
- Sort an object's keys, including an optional key list☆30Updated 4 years ago
- Listen for changes in your conf config☆27Updated 7 years ago
- Get the arguments of a function, arrow function, generator function, async function☆52Updated last year
- Get metadata on the default editor or a specific editor☆53Updated last year
- Make a promise always fulfill with its actual fulfillment value or rejection reason☆53Updated last year
- A webpack plugin to report build statistics to packtracker.io☆31Updated last year
- Handle completion and errors with elegance! Support for async/await, promises, callbacks, streams and observables. A drop-in replacement…☆32Updated last year
- Get the path of the caller module☆64Updated 3 years ago