Displaying 1 to 20 from 26 results

gliojs - Exit popup easely

  •    Javascript

Detects if the mouse of an user leaves the viewport / document borders of your website and when this happens, trigger your callback. Portuguese documentation. Demo.

tap-closer - Simple JS "transform" tool that will call window

  •    Javascript

Simple JS "transform" tool that will call window.close or process.exit when TAP output is complete.Note however that this isn't specific to browserify or smokestack or tape, you can use this with any JavaScript tool that logs TAP output to your console.




notify-error - send an error notification

  •    Javascript

Shows a desktop notification for an error message.If no message is specified, no alert will be shown.

esc-exit - Exit the process when the `esc` key is pressed

  •    Javascript

Useful for CLI tools to let the user press esc to get out.Using this prevents the process from exiting normally.

exit-hook - Run some code when the process exits

  •    Javascript

The process.on('exit') event doesn't catch all the ways a process can exit.Useful for cleaning up.


loud-rejection - Make unhandled promise rejections fail loudly instead of the default silent fail

  •    Javascript

By default, promises fail silently if you don't attach a .catch() handler to them.This tool keeps track of unhandled rejections globally. If any remain unhandled at the end of your process, it logs them to STDERR.

hard-rejection - Make unhandled promise rejections fail hard right away instead of the default silent fail

  •    Javascript

Promises fail silently if you don't attach a .catch() handler.This module exits the process with an error message right away when an unhandled rejection is encountered. Note: That might not be desirable as unhandled rejections can be handled at a future point in time, although not common. You've been warned.

comandante - spawn() that returns a duplex stream and emits errors with stderr data on non-zero exit codes

  •    Javascript

Spawn commands returning a duplex stream. Emit stderr when the command exits with a non-zero code.Spawn a new process like require('child_process').spawn(), except the return value is a duplex stream combiningstdoutandstdin`.

onmount - Safe, reliable, idempotent and testable behaviors for DOM nodes

  •    Javascript

Run something when a DOM element appears and when it exits. No dependencies. Legacy IE compatible. 1kb .min.gz.Run something to initialize an element on its first appearance.

eue - A standalone, d3-like implementation of the enter/exit/update pattern.

  •    Javascript

A standalone, d3-like implementation of the enter/exit/update pattern. Useful for implementing SVG visualisations without depending on all of d3, but could also be used to take the same approach to other rendering contexts. Note: unlike d3, this package ignores the DOM, expects unique values and doesn't pass indicies to its update functions. You should use objects in your arrays, and create DOM elements and indices as needed.

node-subcomandante - taaaaake ooooooon meeee

  •    Javascript

Morir fue lo unico que el subcomandante hizo sin su comandante. This module is a companion to comandante. It is meant to solve the problem of child processes which must die along with their parents in node, which often leaves children hanging.

node-exit - A replacement for process.exit that ensures stdio are fully drained before exiting.

  •    Javascript

A replacement for process.exit that ensures stdio are fully drained before exiting. To make a long story short, if process.exit is called on Windows, script output is often truncated when pipe-redirecting stdout or stderr. This module attempts to work around this issue by waiting until those streams have been completely drained before actually calling process.exit.

exiting - Safely shutdown http://hapijs.com servers.

  •    Javascript

Safely shutdown hapi.js servers whenever the process exits. While it is simple to start and stop a server, ensuring proper shutdown on external, or internal, triggers can be cumbersome to handle properly. exiting makes this easy by managing your Hapi servers, taking care of starting and stopping them as appropriate.

hyper-quit - Quit Hyper on macOS when last window closes

  •    Javascript

Quit Hyper on macOS when last window closes. Note: This has no effect on other operating systems as Hyper will already exit when the last window is closed.

unload - Run a piece of code when the javascript-process stops

  •    Javascript

Run a piece of code whenever the javascript-process stops/exits/quits. On browsers, nodejs, electron, react-native. It also ensures that the exit-function is called only once. You should use this module when your write a npm-library where you dont know in which environments the users will run it.






We have large collection of open source products. Follow the tags from Tag Cloud >>


Open source products are scattered around the web. Please provide information about the open source projects you own / you use. Add Projects.