https://github.com/marak/node-kiwf
kill it with fire, in-process node.js process kill-switch, forces node processes to crash based on certain restrictions like memory usage or uptime
https://github.com/marak/node-kiwf
Last synced: about 1 year ago
JSON representation
kill it with fire, in-process node.js process kill-switch, forces node processes to crash based on certain restrictions like memory usage or uptime
- Host: GitHub
- URL: https://github.com/marak/node-kiwf
- Owner: Marak
- Created: 2011-10-23T06:01:35.000Z (over 14 years ago)
- Default Branch: master
- Last Pushed: 2011-10-24T08:37:30.000Z (over 14 years ago)
- Last Synced: 2024-10-29T11:17:15.606Z (over 1 year ago)
- Language: JavaScript
- Homepage:
- Size: 93.8 KB
- Stars: 18
- Watchers: 4
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: ReadMe.md
Awesome Lists containing this project
README
# node-kiwf
*kill it with fire*
##in-process node.js process kill-switch
##forces node processes to crash based on certain restrictions like memory usage or uptime.

# Installation
npm install kiwf
# Usage
```js
require('kiwf')(options);
```
## options
`maxMemory` - represents maximum memory process can handle before exiting
*note: a negative value will indicate infinite memory*
`maxUptime` - determines how long the application will stay up for
*note: a negative value will indicate infinite maxUptime*
## MIT