This package has been deprecated

Author message:

This module has moved and is now available at @hapi/glue. Please update your dependencies as this version is no longer maintained an may contain bugs and security issues.

glue
DefinitelyTyped icon, indicating that this package has TypeScript declarations provided by the separate @types/glue package

6.0.0 • Public • Published

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 = Hapi.server(Options)
  • server.register(Plugins, 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 specifying the hapi server options 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 version 6 currently supports hapi 18. glue@v5 supports hapi 17. glue@v4 supports hapi 11, 12, 13, 14, 15, or 16.

Package Sidebar

Install

npm i glue

Weekly Downloads

1,702

Version

6.0.0

License

BSD-3-Clause

Unpacked Size

11.9 kB

Total Files

6

Last publish

Collaborators

  • nargonath
  • devinivy
  • marsup
  • nlf