documentation/formats.js
Tom MacWright 8883fa371b Remove docset and its sqlite dependency
Remove other dependencies only used by docset

Remove docset support from README. Fixes #61
2015-06-16 14:09:12 -04:00

26 lines
554 B
JavaScript

'use strict';
var splicer = require('stream-splicer'),
json = require('./streams/output/json.js'),
markdown = require('./streams/output/markdown.js'),
htmlOutput = require('./streams/output/html.js');
module.exports = {
json: function () {
return json();
},
md: function (options) {
return markdown({
template: options.mdtemplate,
name: options.name,
version: options.version
});
},
html: function (options) {
return htmlOutput({
name: options.name,
version: options.version
});
}
};