UNPKG

verb

Version:

Verb makes it easy to build project documentation using simple markdown templates, with zero configuration required.

22 lines (19 loc) 462 B
/** * 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. */ 'use strict'; /** * Reverse a string * * @name reverse * @param {String} str The string to reverse * @return {String} The reversed string. * @api public */ module.exports = function(str) { return str.split('').reverse().join(''); };