verb
Version:
Verb makes it easy to build project documentation using simple markdown templates, with zero configuration required.
22 lines (17 loc) • 504 B
JavaScript
/**
* Verb <https://github.com/assemble/verb>
* Generate markdown documentation for GitHub projects.
*
* Copyright (c) 2014 Jon Schlinkert, Brian Woodward, contributors.
* Licensed under the MIT license.
*/
;
var _ = require('lodash');
module.exports = function(verb) {
var verbOpts = _.extend({}, verb.options);
exports.shortname = function (name, options) {
var opts = _.extend({}, verbOpts, options);
return verb.utils.safename(name, opts);
};
return exports;
};