An open API service indexing awesome lists of open source software.

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

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