Skip to content
 
 

Latest commit

 

History

81 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

yaag-nodejs

under development

NPM version Downloads Build Status Build status Coverage Status

Installation

$ npm install yaag-nodejs

Usage

####Use with default options

var docGenerator = require('yaag-nodejs');
var app = require('express')();
var bodyParser = require('body-parser');
app.use(bodyParser.urlencoded({
	extended: true
}));
app.use(bodyParser.json());
app.use(docGenerator());

####Use with custom options

var docGenerator = require('yaag-nodejs');
var app = require('express')();
app.use(docGenerator());
var bodyParser = require('body-parser');
app.use(bodyParser.urlencoded({
	extended: true
}));
app.use(bodyParser.json());
app.use(docGenerator({
	on: true,
	baseUrls: {
		Production: 'http://yaag-nodejs.com'
	},
	docTitle: 'Yaag API',
	docPath: '/yaagDocs'
}));

Screenshots

API doc generated with default options

alt first

API doc generated with custom options

alt first

Contributors

License

GNU

About

yet another apiDoc generator for nodejs web app

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages