@nodulus/core

core http component for nodulus using express

Stats

stars 🌟issues ⚠️updated 🛠created 🐣size 🏋️‍♀️
10Dec 31, 2016Jul 30, 2016Minified + gzip package size for @nodulus/core in KB

Readme

@nodulus/core

Installation

$ npm install @nodulus/core

Philosophy

the nodulus core lets you choose from popular nodejs frameworks, using the application configuration file.

config key

{
  framework: 'express'|'hapi'|'koa'
}

framework agnosticism is acheieved by using a common interface to either of the configurated frameworks.

usage

var core = require('@nodulus/core');

//core object contains the framework app.
core.use('/path', function(req,res){

});

core.use('/path', core.static('/filepath'));

configuration

set the default page using the configuration:


defaultPage: "public/default.html"

License

MIT

-nodulus-core

If you find any bugs or have a feature request, please open an issue on github!

The npm package download data comes from npm's download counts api and package details come from npms.io.