https://github.com/seangenabe/fastify-bankai-hook
Fastify plugin for bankai v9
https://github.com/seangenabe/fastify-bankai-hook
Last synced: 3 months ago
JSON representation
Fastify plugin for bankai v9
- Host: GitHub
- URL: https://github.com/seangenabe/fastify-bankai-hook
- Owner: seangenabe
- License: mit
- Created: 2018-05-13T15:38:59.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2019-04-20T12:26:54.000Z (over 6 years ago)
- Last Synced: 2025-05-28T09:21:03.000Z (4 months ago)
- Language: TypeScript
- Size: 66.4 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
- License: license.md
Awesome Lists containing this project
README
# fastify-bankai-hook
Fastify plugin for [bankai](https://github.com/choojs/bankai) v9.
## Usage
```javascript
const Path = require('path')
const fastify = require('fastify')()fastify.register(require('@seangenabe/fastify-bankai-hook'), {
prefix: '/',
entry: Path.join(__dirname, 'client.js')
})
```## Plugin options
* entry: The Browserify entry point for your Bankai app.
* opts: Bankai options. Refer to their [documentation](https://github.com/choojs/bankai#api) for more info. `quiet` defaults to `true` if not defined.