56 packages found

Terminate a Node.js Process based on the Process ID

published 2.6.1 5 months ago
M
Q
P

Gracefully restore the CLI cursor on exit

published 4.0.0 2 years ago
M
Q
P

Gracefully cleanup when termination signals are sent to your process.

published 1.1.0 6 years ago
M
Q
P

Run some code when the process exits

published 3.2.0 4 months ago
M
Q
P

Minimal async jobs utility library, with streams support

published 0.4.0 7 years ago
M
Q
P

Run some code when the process exits (supports async hooks and pm2 clustering)

published 2.0.1 6 years ago
M
Q
P

Fabulously kill processes. Cross-platform.

published 8.1.0 6 months ago
M
Q
P

Wrapper for the Windows `taskkill` command. Ends one or more tasks or processes.

published 5.0.0 a year ago
M
Q
P

Process thousands of asynchronous or synchronous jobs, concurrently or sequentially, safely and efficiently, without creating thousands of closures.

published 3.0.1 5 years ago
M
Q
P

Zero dependencies, gracefully terminates HTTP(S) server.

published 1.2.3 2 months ago
M
Q
P

Easily add listeners to signals sent to the running process

published 1.0.0 7 years ago
M
Q
P

Graceful process exit manager. allows waiting on multiple async services.

published 3.1.0 2 years ago
M
Q
P

onDeath() will register callbacks to call right before your Node.js program terminates.

published 1.0.0 5 years ago
M
Q
P

Execute custom cleanup function before Node.js exits

published 2.0.0 14 days ago
M
Q
P

Execute a callback when the process exits, passing the exit code (ESM/CJS)

published 3.4.1 6 months ago
M
Q
P

Simple wrapper for process.exit

published 1.6.6 a month ago
M
Q
P

killport-npm package would take a port number as an argument and then find the process using that port. After identifying the process, it would terminate it, effectively "killing" the port and freeing it up for other processes to use.

published 1.0.4 a month ago
M
Q
P

All in one solution to gracefully shutdown your application through a simple delayed shutdown process. Also allows code reloading and program restarting, instead of using a not so graceful process manager line nodemon.

published 2.0.8 24 days ago
M
Q
P

#### 介绍 `circuit-run`是一个和`co`库或者`koa`的洋葱模型有着类似功能的开源代码,和他们不同的是,`circuit-run`提供了中断功能。也就是说,当某一个中间件出现问题想要终止整个流程的时候,可以使用`circuit-run`的`terminate`函数来终止洋葱模型的进行。当然,`circuit-run`是可以在浏览器运行的,其并不依赖于`node.js`环境。

published 1.0.0 6 months ago
M
Q
P

Implements navigator.app.exitApp on Android, iOS

published 1.0.0 5 months ago
M
Q
P