🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

hapi-nudge

A Hapi plugin to prevent Heroku dynos from sleeping.

1.1.1
latest
Version published
Weekly downloads
1
-66.67%
Maintainers
1
Weekly downloads
 
Created

hapi-nudge

Build Status

A Hapi plugin to prevent Heroku dynos from sleeping.

Installation

npm install hapi-nudge

Usage

var Nudge = require('hapi-nudge')

server.register({
    register: Nudge,
    options: options,
})

Options

  • hostname String

    The hostname. Default server.info.host.

  • pathname String

    The pathname. Default '/nudge'.

  • port Number

    The port. Default server.info.port.

  • protocol String

    The protocol. Default server.info.protocol.

  • interval Number

    How often the server should be nudged. Default 60e3.

License

See LICENSE.

FAQs

Package last updated on 17 Jan 2015

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts