@fabrix/spool-bootstrap
v1.0.0
Published
Spool: Run a bootstrap function when Fabrix server is ready
Maintainers
Readme
spool-bootstrap
Spool to run a bootstrap function when Fabrix server is ready.
Usage
Load in your spool config.
// config/main.ts
export const main = {
// ...
spools: [
require('@fabrix/spool-bootstrap').BootstrapSpool
]
}Config
// config/bootstrap.ts
export const bootstrap = function(app){
}