Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

glue

Package Overview
Dependencies
Maintainers
5
Versions
25
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

glue

Server composer for hapi.js

  • 4.2.1
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
1.4K
decreased by-1.31%
Maintainers
5
Weekly downloads
 
Created
Source

glue

Build Status

Lead Maintainer - Chris Rempel

A server composer for hapi.js.

Glue provides configuration based composition of hapi's Server object. Specifically it wraps

  • server = new Hapi.Server(Options)
  • one or more server.connection(Options)
  • zero or more server.register(Plugin, Options)

calling each based on the configuration generated from the Glue manifest.

Interface

Glue's API is a single function compose accepting a JSON manifest file specifying the hapi server options, connections, and registrations.

hapi version dependency

Glue can support different versions of hapi. Adding support for a new version of hapi is considered a minor change. Removing support for a version of hapi is considered a major change.

By default NPM will resolve Glue's dependency on hapi using the most recent supported version of hapi. To force a specific supported hapi version for your project, include hapi in your package dependencies along side of Glue.

Glue currently supports hapi 11, 12, 13, 14, 15, and 16.

Keywords

FAQs

Package last updated on 28 Oct 2017

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

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc