Search results

62 packages found

fork原因是我发现 node18-slim容器里,运行这个报错 因为没有ps这个命令,所以 `process-exists` 这个报根本无法运行。 所以删除相关的代码,以便支持在 node18-slim里运行

published version 1.0.2, 2 years ago0 dependents licensed under $MIT
26

A Node.js wrapper for Microsoft Windows' WMIC

published version 1.0.4, 9 years ago2 dependents licensed under $MIT
24

```bash $ npm install end-port-process ```

published version 1.2.3, a year ago0 dependents licensed under $ISC
23

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

published version 2.0.3, 3 years ago1 dependents licensed under $MIT
24

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

published version 1.0.0, 7 years ago2 dependents licensed under $(ISC OR GPL-3.0)
26

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 version 2.3.2, 2 years ago0 dependents licensed under $ISC
18

Implements navigator.app.exitApp on iOS, WP8, Android

published version 0.0.5, 8 years ago0 dependents licensed under $Apache 2.0
16

Implements navigator.app.exitApp on WP8, Android

published version 1.0.2, 8 years ago0 dependents licensed under $Apache-2.0
15

Simple wrapper for process.exit

published version 1.6.6, 2 years ago0 dependents licensed under $ISC
16

abort stream of promises on any response

published version 0.2.1, 5 months ago0 dependents licensed under $MIT
16

Prevents hung Node.js processes

published version 0.2.0, 10 years ago0 dependents licensed under $ISC
14

Cordova plugin for exiting the app programmatically for Android, iOS and WP

published version 1.0.3, 5 years ago0 dependents licensed under $MIT
13

Gracefully terminate a script in Node.js or browsers.

published version 1.0.0, 6 years ago1 dependents licensed under $MIT
10

Gracefully shutdown your node app.

published version 0.0.7, 9 years ago0 dependents licensed under $MIT
12

Deprecated, use async-exit-hook instead

published version 2.0.5, 9 years ago0 dependents licensed under $MIT
11

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

published version 1.0.0, 3 years ago0 dependents licensed under $MIT
8

Gives the ability to execute code upon closing a Node.js application.

published version 1.0.1, 10 years ago0 dependents licensed under $MIT
8

Implements navigator.app.exit on Android

published version 0.0.1, 7 years ago0 dependents licensed under $MIT
7

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 version 1.0.4, 2 years ago0 dependents licensed under $MIT
6

Implements navigator.app.exitApp on iOS, WP8, Android

published version 1.0.0, 9 years ago0 dependents licensed under $Apache 2.0
6