UNPKG

verb

Version:

A project without documentation is like a project that doesn't exist. Verb solves this by making it dead simple to generate docs, using simple markdown templates, with zero configuration required.

17 lines (14 loc) 290 B
/** * 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; };