Skip to content

fabrix-app/spool-bootstrap

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

spool-bootstrap

Gitter NPM version Build Status Test Coverage Dependency Status Follow @FabrixApp on Twitter

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){

}

License

MIT

Releases

No releases published

Packages

No packages published