Socket
Socket
Sign inDemoInstall

hapi-nudge

Package Overview
Dependencies
4
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    hapi-nudge

A Hapi plugin to prevent Heroku dynos from sleeping.


Version published
Weekly downloads
4
increased by33.33%
Maintainers
1
Install size
1.27 MB
Created
Weekly downloads
 

Readme

Source

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

Last updated on 17 Jan 2015

Did you know?

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc