# @types/hapi__glue

> TypeScript definitions for @hapi/glue

Latest version **6.1.9** (published 2023-11-07) · MIT license · 0 weekly downloads

## Install

```sh
npm install @types/hapi__glue
pnpm add @types/hapi__glue
yarn add @types/hapi__glue
bun add @types/hapi__glue
```

## Health

**Score 45/100 (D)** — status: abandoned.

Positive: has types; no vulnerabilities; high maintenance score; popular repo; extremely popular.

Warnings: low downloads; no esm support.

Negative: abandoned.

## Facts

| | |
|---|---|
| Version | 6.1.9 |
| Published | 2023-11-07 |
| First published | 2019-04-25 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 3 |
| Unpacked size | 4.1 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 51449 |
| Maintainers | types |

## Links

- npm: https://www.npmjs.com/package/@types/hapi__glue
- Repository: https://github.com/DefinitelyTyped/DefinitelyTyped
- Homepage: https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/hapi__glue
- npm.io page: https://npm.io/package/@types/hapi__glue

## Dependencies (3)

- [joi](https://npm.io/package/joi.md) ^17.7.0
- [@hapi/hapi](https://npm.io/package/@hapi/hapi.md) ^21.1.0
- [@types/node](https://npm.io/package/@types/node.md) *

## Recent versions

- 6.1.9 (latest) — 2023-11-07
- 6.1.6 (ts4.2) — 2022-12-21
- 6.1.5 (ts3.8) — 2021-12-23
- 6.1.4 (ts3.6) — 2021-07-08
- 6.1.3 (ts3.4) — 2021-01-14
- 6.1.2 (ts3.2) — 2020-09-26
- 6.1.1 (ts2.8) — 2020-02-21
- 6.1.8 — 2023-10-18
- 6.1.7 — 2023-09-16
- 6.1.0 — 2019-04-25

## README

# Installation
> `npm install --save @types/hapi__glue`

# Summary
This package contains type definitions for @hapi/glue (https://github.com/hapijs/glue).

# Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/hapi__glue.
## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/hapi__glue/index.d.ts)
````ts
import { Plugin, Server, ServerOptions } from "@hapi/hapi";

export interface Options {
    relativeTo: string;
    preConnections?: ((Server: Server, next: (err: any) => void) => void) | undefined;
    preRegister?: ((Server: Server, next: (err: any) => void) => void) | undefined;
}

export interface PluginObject {
    plugin: string | Plugin<any>;
    options?: any;
    routes?: any;
}

export interface Manifest {
    server: ServerOptions;
    register?: {
        plugins: string[] | PluginObject[] | Array<(string | PluginObject)>;
    } | undefined;
}

export function compose(manifest: Manifest, options?: Options): Promise<Server>;

````

### Additional Details
 * Last updated: Tue, 07 Nov 2023 03:09:37 GMT
 * Dependencies: [@hapi/hapi](https://npmjs.com/package/@hapi/hapi), [@types/node](https://npmjs.com/package/@types/node), [joi](https://npmjs.com/package/joi)

# Credits
These definitions were written by [Silas Rech](https://github.com/lenovouser), and [Avery Fay](https://github.com/btmorex).

---
_Source: https://npm.io/package/@types/hapi__glue · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
