hoagie
express-like organization for command-line applications.
Install
$ npm install hoagie --save
Usage
// math.jsvar hoagie = ;var app = ;app;app;
$ node ./math.js add 1 12
See the examples
directory for more code samples.
app.use([command, ]fn...)
Adds each middleware function to the stack, optionally under the command
space. Each middleware should be a function of the signature function(req, res, next)
.
Middleware
- hoagie-session adds "session" support
- hoagie-exec Make your hoagie program exec to another process