UNPKG

grunt-verb

Version:

Grunt plugin for Verb, the markdown documentation generator with zero-configuration required.

32 lines (25 loc) 604 B
/** * Verb <https://github.com/assemble/verb> * * Copyright (c) 2014 Jon Schlinkert, contributors. * Licensed under the MIT license. */ 'use strict'; // Custom mixins module.exports = function(options, params) { options = options || {}; options.customProp = options.customProp || ''; exports.customMixin = function(src, opts) { return src + ' worked!'; }; exports.customProp = function() { return options.customProp; }; exports.concat = function(a, b) { return a + b; }; exports.lowercase = function(src) { return src.toLowerCase(); }; return exports; };