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.
21 lines (16 loc) • 326 B
JavaScript
/**
* ## .namify( str )
*
* Convert a npm package name into a safe-to-use variable name.
*
* @method namify
* @param {String} The string to namify
* @api public
*/
const namify = require('namify');
module.exports = function () {
exports.namify = function(str) {
return namify(str);
};
return exports;
};