UNPKG

helper-lookup

Version:

Template helper for generating a list of markdown formatted reference links to github repos for the tree of dependencies and devDependencies listed in package.json.

68 lines (47 loc) 1.43 kB
# {%= name %} {%= badge("fury") %} {% var nickname = strip(name, "helper-") %} > {%= description %} {%= include("install-npm", {save: true}) %} ## Example usage Handlebars: ```js var lookup = require('helper-lookup'); ``` ```handlebars handlebars.registerHelper() {{{links ""}} ``` Lo-Dash or Underscore: ```js <%= {%= nickname %}("") %> ``` Verb (lo-dash, with special delimiters to avoid delimiter collision in markdown docs): ```js {%= "{%%= " + nickname + "('') %}" %} ``` ## Run tests ```bash npm test ``` ## Contributing Pull requests and stars are always welcome. For bugs and feature requests, [please create an issue]({%= bugs.url %}) To request or contribute a helper to the [github.com/helpers][helpers] org, please read [this contributing guide][guide] first. ## Author {%= include("author") %} ## License {%= copyright() %} {%= license() %} *** {%= include("footer") %} [assemble]: https://github.com/assemble/assemble [generator-verb]: https://github.com/assemble/generator-verb [handlebars-helpers]: https://github.com/assemble/handlebars-helpers/ [handlebars]: https://github.com/wycats/handlebars.js/ [helpers]: https://github.com/helpers [Lo-Dash]: https://lodash.com/ [template]: https://github.com/jonschlinkert/template [underscore]: https://github.com/jashkenas/underscore [verb]: https://github.com/assemble/verb [guide]: https://github.com/helpers/requests {%= reflinks() %} {%= links() %}