Prevent an idle Node process from exiting.
when you want to fire an event no matter how a process exits.
A replacement for process.exit that ensures stdio are fully drained before exiting.
A Tailwind CSS plugin for creating beautiful animations.
Execute a function on exit without leaking memory, allowing all objects to be garbage collected
Run a child as if it's the foreground process. Give it stdio. Exit when it exits.
Run some code when the process exits
safely cleanup in signal handlers
Run some code when the process exits (supports async hooks and pm2 clustering)
A replacement for process.exit that ensures stdio are fully drained before exiting.
A polyfill for the internal diagnostics_channel module
Execute a function right before the process, or the browser's tab, is about to exit.
[![npm version][npm-v-src]][npm-v-href] [![npm downloads][npm-d-src]][npm-d-href] [![status][github-actions-src]][github-actions-href]
[![npm version][npm-v-src]][npm-v-href] [![npm downloads][npm-d-src]][npm-d-href] [![status][github-actions-src]][github-actions-href]
unist utility to visit nodes
Helper function for exhaustive checks of discriminated unions in TypeScript
Execute shell command forwarding all stdio.
wait-on is a cross platform command line utility and Node.js API which will wait for files, ports, sockets, and http(s) resources to become available
the complete solution for node.js command-line programs
Gracefully restore the CLI cursor on exit
The official Neo4j driver for Javascript
Shareable commitlint config enforcing conventional commits
A TypeScript rewrite of markdown-it with enhancements
exiting a node.js process *and flushing stdout and stderr*
rails-css_unused scans your stylesheets (CSS/SCSS/Sass) and all view templates (ERB, HAML, Slim), ViewComponents, Phlex components, and Stimulus JS controllers to report CSS class selectors that are defined but never referenced. Supports BEM naming, dynamic class detection, source-file attribution, CI exit codes, and configurable ignore lists — zero runtime overhead.
A simple, text-based crowdfunding simulator. Run a group of projects through a series of funding rounds, in which they either receive or lose funds, or are skipped. They also receive a random pledge. Grant projects never lose funds. Match projects have all future funding matched after they reach half-funding. Statistics are printed to the console at the end of the simulation. The normal projects can be specified in a '.csv' file that is given as a command line argument when loading the program, or the default projects can be used. The format for 'csv' entries is Project Name,Goal,Initial_funding with a comma and no spaces between entries and underscores in place of commas within larger numbers (e.g. Your Project,10_000,0). The option is given to save a list of underfunded projects upon exiting the program. The list is saved in 'underfunded.txt' in the top-level folder of the application. Created as a bonus project while completing the Pragmatic Studio Ruby Programming course.