0.1.2 • Published 8 years ago

keep-running v0.1.2

Weekly downloads
1
License
ISC
Repository
github
Last release
8 years ago

keep-running

Node.js utility that keeps node app running / prevents node app from exiting

Install

npm install keep-running

Usage

  • check example/example.js
node example/example.js

program runs until you manually stop it (Ctrl+C)

  • code sample
const keepRunning = require('keep-running');
keepRunning.init()(() => console.log('running forever....'));

Limitations

  • tested & used only in Linux

Testing

npm install -g mocha
mocha test