Search results
62 packages found
Sort by: Default
- Default
- Most downloaded this week
- Most downloaded this month
- Most dependents
- Recently published
fork原因是我发现 node18-slim容器里,运行这个报错 因为没有ps这个命令,所以 `process-exists` 这个报根本无法运行。 所以删除相关的代码,以便支持在 node18-slim里运行
A Node.js wrapper for Microsoft Windows' WMIC
```bash $ npm install end-port-process ```
Run some code when the process exits (supports async hooks and pm2 clustering)
onDeath() will register callbacks to call right before your Node.js program terminates.
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.
Implements navigator.app.exitApp on iOS, WP8, Android
Implements navigator.app.exitApp on WP8, Android
Simple wrapper for process.exit
abort stream of promises on any response
Prevents hung Node.js processes
Cordova plugin for exiting the app programmatically for Android, iOS and WP
Gracefully terminate a script in Node.js or browsers.
Gracefully shutdown your node app.
Deprecated, use async-exit-hook instead
#### 介绍 `circuit-run`是一个和`co`库或者`koa`的洋葱模型有着类似功能的开源代码,和他们不同的是,`circuit-run`提供了中断功能。也就是说,当某一个中间件出现问题想要终止整个流程的时候,可以使用`circuit-run`的`terminate`函数来终止洋葱模型的进行。当然,`circuit-run`是可以在浏览器运行的,其并不依赖于`node.js`环境。
Gives the ability to execute code upon closing a Node.js application.
Implements navigator.app.exit on Android
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.
Implements navigator.app.exitApp on iOS, WP8, Android