An open API service indexing awesome lists of open source software.

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

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