-
Notifications
You must be signed in to change notification settings - Fork 2
/
index.js
22 lines (20 loc) · 1.23 KB
/
index.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
/**
* Turnpike.JS
*
* A lightweight and politely opinionated HMVC framework for Node.js. Turnpike can be used as a traditional
* framework, with code generation and rapid deployment, or invoked as a library for more obscure use cases.
*
* Within the framework, some elements will be documented as "plumbing". If you are using Turnpike as a rapid
* deployment framework, then these should be treated as the internal workings of the Turnpike "black box".
* You shouldn't need or want to use or call any of the plumbing yourself.
* If you are using Turnpike as a library, you will probably need use use a good deal of the plumbing directly.
* If you do this, that's fine, but be aware that continuing development of the Turnpike framework may radically
* alter the plumbing interfaces at any time, even between minor versions and revisions.
*
* Other elements of the framework are documented as "porcelain". These are the entry points to the framework we
* expect any app relying on Turnpike to use. In general, after the 1.0.0 release, we will aim to maintain the
* existing plumbing interfaces with few to no changes without a bump in the major version number.
*/
// The big redo:
var turnpike = require('./lib');
module.exports = turnpike;