node-mdoc

0.0.5 • Public • Published

node-mdoc

simple docs for apps with markdown

Installation

$ npm install node-mdoc -g

Create a standalone docs app

$ node-mdoc create

Start the server:

$ node app

Create an embedded docs app

$ node-mdoc create docs -e

Initialize the docs app from your express app:

var express = require('express');
var app = express();
 
app.get('/', function(req, res){
  res.send('Hello World');
});
 
var mdoc = require('./docs');
var docsapp = mdoc('/docs', app);
 
app.listen(3000);

License

MIT - qraftlabs - 2012

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
0.0.50latest

Version History

VersionDownloads (Last 7 Days)Published
0.0.50
0.0.10

Package Sidebar

Install

npm i node-mdoc

Weekly Downloads

0

Version

0.0.5

License

none

Last publish

Collaborators

  • woloski