helpers/helpers.js
function params (options) {
  if (this.params) {
    var list = this.params.map(function (param) {
      var nameSplit = param.name.split('.')
      var name = nameSplit[nameSplit.length - 1]
      if (nameSplit.length > 1) name = '.' + name
      if (param.variable) name = '...' + name
      if (param.optional) name = '[' + name + ']'
      return {
        indent: '    '.repeat(nameSplit.length - 1),
        name: name,
        type: param.type,
        defaultvalue: param.defaultvalue,
        description: param.description
      }
    })
    return options.fn(list)
  }
}
function params (options) {
  if (this.params) {
    var list = this.params.map(function (param) {
      var nameSplit = param.name.split('.')
      var name = nameSplit[nameSplit.length - 1]
      if (nameSplit.length > 1) name = '.' + name
      if (param.variable) name = '...' + name
      if (param.optional) name = '[' + name + ']'
      return {
        indent: '    '.repeat(nameSplit.length - 1),
        name: name,
        type: param.type,
        defaultvalue: param.defaultvalue,
        description: param.description
      }
    })
    return options.fn(list)
  }
}
function params ( options ) { if ( this . params ) { var list = this . params . map ( function ( param ) { var nameSplit = param . name . split ( '.' ) var name = nameSplit [ nameSplit . length - 1 ] if ( nameSplit . length > 1 ) name = '.' + name if ( param . variable ) name = '...' + name if ( param . optional ) name = '[' + name + ']' return { indent : '    ' . repeat ( nameSplit . length - 1 ) , name : name , type : param . type , defaultvalue : param . defaultvalue , description : param . description } } ) return options . fn ( list ) } }
block helper.. provides the data to render the @params tag
block helper .. provides the data to render the