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
Markdown
{% var nickname = strip(name, "helper-") %}
> {%= description %}
{%= include("install-npm", {save: true}) %}
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 + "('') %}" %}
```
```bash
npm test
```
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.
{%= include("author") %}
{%= copyright() %}
{%= license() %}
***
{%= include("footer") %}
[]: https://github.com/assemble/assemble
[]: https://github.com/assemble/generator-verb
[]: https://github.com/assemble/handlebars-helpers/
[]: https://github.com/wycats/handlebars.js/
[]: https://github.com/helpers
[]: https://lodash.com/
[]: https://github.com/jonschlinkert/template
[]: https://github.com/jashkenas/underscore
[]: https://github.com/assemble/verb
[]: https://github.com/helpers/requests
{%= reflinks() %}
{%= links() %}