kiwf

0.1.1 • Public • Published

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

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

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.1.1
    1
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 0.1.1
    1
  • 0.1.0
    0

Package Sidebar

Install

npm i kiwf

Weekly Downloads

1

Version

0.1.1

License

none

Last publish

Collaborators

  • marak