@fabrix/spool-bootstrap
TypeScript icon, indicating that this package has built-in type declarations

1.0.0 • Public • Published

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

/@fabrix/spool-bootstrap/

    Package Sidebar

    Install

    npm i @fabrix/spool-bootstrap

    Homepage

    fabrix.app

    Weekly Downloads

    15

    Version

    1.0.0

    License

    MIT

    Unpacked Size

    7.88 kB

    Total Files

    15

    Last publish

    Collaborators

    • scottbwyatt