ndx-keep-awake

keep awake for ndx-framework


License
MIT
Install
npm install ndx-keep-awake@0.0.5

Documentation

ndx-keep-awake

keeps your ndx-framework app awake on even the sleepiest hosts

install with
npm install --save ndx-keep-awake
then add it to your .use list
src/server/app.coffee

require 'ndx-server'
.config
  database: 'db'
.use 'ndx-keep-awake'
.start

what it does

ndx-keep-awake creates the route /api/keep-awake and calls it every 5 minutes

why would i need that?

some hosts will put your app to sleep after a certain period of inactivity, ndx-keep-awake will prevent that happening