verb
Version:
Verb makes it easy to build project documentation using simple markdown templates, with zero configuration required.
27 lines (22 loc) • 519 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.
*/
;
/**
* Flatten an array and convert it
* to a comma-separated list.
*
* @title listify
* @param {Array} arr [description]
* @api Public
*/
module.exports = function (verb) {
exports.listify = function(arr, sep) {
return verb.utils.listify(arr, sep);
};
return exports;
};