architect-express

v0.1.0
Express plugin for Architect

architect-express

This plugin allows for easy creation/configuration on an express server to be used by other plugins in an architect driven system

Config Format

{
  "packagePath": "./node_modules/architect-express",
  "port": 3000
}

Usage

Let's use that puppy in our plugin

module.exports = function (options, imports, register) {

  var app = imports.express;

  // Do stuf here. It's just an express server.
};

TODO

  • Allow registration of more apps
  • Better configuration in config file
  • Tests
npm i architect-express

Metadata

  • MIT
  • Whatever
  • Nujii Labs
  • released 9/8/2012

Downloads

Maintainers