https://github.com/zuck/fastify-plugin-load
Configure the list of plugins to register
https://github.com/zuck/fastify-plugin-load
fastify fastify-plugin
Last synced: 19 days ago
JSON representation
Configure the list of plugins to register
- Host: GitHub
- URL: https://github.com/zuck/fastify-plugin-load
- Owner: zuck
- License: mit
- Created: 2019-12-13T08:38:04.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2019-12-13T08:41:48.000Z (over 6 years ago)
- Last Synced: 2025-12-04T01:43:01.039Z (7 months ago)
- Topics: fastify, fastify-plugin
- Size: 2.93 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# fastify-plugin-load
Configure the list of plugins to register
## Install
```
npm i fastify fastify-plugin-load
```
## Example
```js
'use strict'
const Fastify = require('fastify')
const PluginLoad = require('fastify-plugin-load')
const fastify = Fastify()
fastify.register(PluginLoad, [
'fastify-helmet',
'fadtify-sensible',
'./plugins/local'
])
fastify.listen(3000)
```
## License
MIT