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.
148 lines (122 loc) • 10.6 kB
Markdown
# helper-lookup [](http://badge.fury.io/js/helper-lookup)
> 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.
## Install with [npm](npmjs.org)
```bash
npm i helper-lookup --save
```
## Example usage
Handlebars:
```js
var lookup = require('helper-lookup');
```
```handlebars
handlebars.registerHelper()
{{{links ""}}
```
Lo-Dash or Underscore:
```js
<%= lookup("") %>
```
Verb (lo-dash, with special delimiters to avoid delimiter collision in markdown docs):
```js
{%= lookup('') %}
```
## Run tests
```bash
npm test
```
## Contributing
Pull requests and stars are always welcome. For bugs and feature requests, [please create an issue](https://github.com/helpers/helper-lookup/issues)
To request or contribute a helper to the [github.com/helpers][helpers] org, please read [this contributing guide][guide] first.
## Author
**Jon Schlinkert**
+ [github/helpers](https://github.com/helpers)
+ [twitter/helpers](http://twitter.com/helpers)
## License
Copyright (c) 2015 Jon Schlinkert
Released under the MIT license
***
_This file was generated by [verb](https://github.com/assemble/verb) on January 20, 2015._
[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
[arr-diff]: https://github.com/jonschlinkert/arr-diff
[arr-filter]: https://github.com/jonschlinkert/arr-filter
[arr-flatten]: https://github.com/jonschlinkert/arr-flatten
[arr-union]: https://github.com/jonschlinkert/arr-union
[array-slice]: https://github.com/jonschlinkert/array-slice
[array-unique]: https://github.com/jonschlinkert/array-unique
[braces]: https://github.com/jonschlinkert/braces
[deep-filter-object]: https://github.com/jonschlinkert/deep-filter-object
[expand-range]: https://github.com/jonschlinkert/expand-range
[export-files]: https://github.com/jonschlinkert/export-files
[extend-shallow]: https://github.com/jonschlinkert/extend-shallow
[filename-regex]: https://github.com/regexps/filename-regex
[fill-range]: https://github.com/jonschlinkert/fill-range
[filter-keys]: https://github.com/jonschlinkert/filter-keys
[filter-object]: https://github.com/jonschlinkert/filter-object
[filter-values]: https://github.com/jonschlinkert/filter-values
[for-in]: https://github.com/jonschlinkert/for-in
[for-own]: https://github.com/jonschlinkert/for-own
[get-value]: https://github.com/jonschlinkert/get-value
[is-glob]: https://github.com/jonschlinkert/is-glob
[is-number]: https://github.com/jonschlinkert/is-number
[isobject]: https://github.com/jonschlinkert/isobject
[kind-of]: https://github.com/jonschlinkert/kind-of
[look-up]: https://github.com/jonschlinkert/look-up
[lookup-deps]: https://github.com/jonschlinkert/lookup-deps
[make-iterator]: https://github.com/jonschlinkert/make-iterator
[markdown-utils]: https://github.com/jonschlinkert/markdown-utils
[micromatch]: https://github.com/jonschlinkert/micromatch
[preserve]: https://github.com/jonschlinkert/preserve
[randomatic]: https://github.com/jonschlinkert/randomatic
[repeat-element]: https://github.com/jonschlinkert/repeat-element
[repeat-string]: https://github.com/jonschlinkert/repeat-string
[sort-asc]: https://github.com/jonschlinkert/sort-asc
[sort-desc]: https://github.com/jonschlinkert/sort-desc
[sort-object]: https://github.com/helpers/sort-object
[unixify]: https://github.com/jonschlinkert/unixify
[arr-diff](https://github.com/jonschlinkert/arr-diff)
[arr-filter](https://github.com/jonschlinkert/arr-filter)
[arr-flatten](https://github.com/jonschlinkert/arr-flatten)
[arr-union](https://github.com/jonschlinkert/arr-union)
[array-slice](https://github.com/jonschlinkert/array-slice)
[array-unique](https://github.com/jonschlinkert/array-unique)
[braces](https://github.com/jonschlinkert/braces)
[deep-filter-object](https://github.com/jonschlinkert/deep-filter-object)
[expand-range](https://github.com/jonschlinkert/expand-range)
[export-files](https://github.com/jonschlinkert/export-files)
[extend-shallow](https://github.com/jonschlinkert/extend-shallow)
[filename-regex](https://github.com/regexps/filename-regex)
[fill-range](https://github.com/jonschlinkert/fill-range)
[filter-keys](https://github.com/jonschlinkert/filter-keys)
[filter-object](https://github.com/jonschlinkert/filter-object)
[filter-values](https://github.com/jonschlinkert/filter-values)
[for-in](https://github.com/jonschlinkert/for-in)
[for-own](https://github.com/jonschlinkert/for-own)
[get-value](https://github.com/jonschlinkert/get-value)
[is-glob](https://github.com/jonschlinkert/is-glob)
[is-number](https://github.com/jonschlinkert/is-number)
[isobject](https://github.com/jonschlinkert/isobject)
[kind-of](https://github.com/jonschlinkert/kind-of)
[look-up](https://github.com/jonschlinkert/look-up)
[lookup-deps](https://github.com/jonschlinkert/lookup-deps)
[make-iterator](https://github.com/jonschlinkert/make-iterator)
[markdown-utils](https://github.com/jonschlinkert/markdown-utils)
[micromatch](https://github.com/jonschlinkert/micromatch)
[preserve](https://github.com/jonschlinkert/preserve)
[randomatic](https://github.com/jonschlinkert/randomatic)
[repeat-element](https://github.com/jonschlinkert/repeat-element)
[repeat-string](https://github.com/jonschlinkert/repeat-string)
[sort-asc](https://github.com/jonschlinkert/sort-asc)
[sort-desc](https://github.com/jonschlinkert/sort-desc)
[sort-object](https://github.com/helpers/sort-object)
[unixify](https://github.com/jonschlinkert/unixify)
{"arr-diff":["arr","array","diff","differ","difference"],"arr-filter":["array","filter","collection","util"],"arr-flatten":["recurse","recursive","recursively","arr","array","util","utils","utility","javascript","node.js","flat","flatten"],"arr-union":["array","concat","union","unique","javascript","js","util","utility","utils"],"array-slice":["array","javascript","js","slice","util","utils"],"array-unique":[],"braces":["alpha","alphabetical","bash","brace","expand","expansion","filepath","fill","fs","glob","globbing","letter","match","matches","matching","number","numerical","path","range","ranges","sh"],"deep-filter-object":["filter","find","glob","key","keys","match","matcher","obj","object","prop","properties","sort"],"expand-range":["alpha","alphabetical","bash","brace","expand","expansion","glob","match","matches","matching","number","numerical","range","ranges","sh"],"export-files":["export","exports","file","files","module","modules"],"extend-shallow":["extend","javascript","js","keys","merge","obj","object","prop","properties","property","props","shallow","util","utility","utils","value"],"filename-regex":["base","basename","expression","file","filename","filepath","fs","match","name","path","regex","regexp","regular","test"],"fill-range":["alpha","alphabetical","bash","brace","expand","expansion","glob","match","matches","matching","number","numerical","range","ranges","sh"],"filter-keys":["filter","glob","js","key","keys","match","object","pattern","util","utility"],"filter-object":["arr","array","expand","filter","find","function","glob","globbing","globs","js","key","keys","match","matcher","minimatch","obj","object","order","pattern","patterns","sort","wildcard"],"filter-values":[],"for-in":["find","for-in","for-own","has","has-own","hasOwn","javascript","js","key","keys","loop","node.js","object","own","properties","property","util","utilities","utility","utils","value"],"for-own":["find","for-in","for-own","has","has-own","hasOwn","javascript","js","key","keys","loop","node.js","object","own","properties","property","util","utilities","utility","utils","value"],"get-value":["get","key","nested","object","path","paths","prop","properties","property","props","segment","util","utilities","utility","utils","value","values"],"is-glob":["bash","braces","check","exec","expression","glob","globstar","match","matches","pattern","regex","regular","string","test"],"is-number":["coerce","coercion","integer","is","istype","javascript","math","number","test","type","typeof","util","utility","value"],"isobject":["is","isobject","is-object","object","type","typeof","kind","kindof","value","javascript","check"],"kind-of":["arguments","array","boolean","check","date","function","is","is-type","is-type-of","kind","kind-of","number","object","regexp","string","test","type","type-of","typeof","types"],"look-up":["file","find","find-up","findup","glob","look","match","package","package.json","pattern","resolve","search","sync","up"],"lookup-deps":["dep","dependencies","dependency","deps","find","graph","lookup","module","modules","name","node","node-modules","npm","package","packages","pkg","resolve","tree"],"make-iterator":["arr","array","iterate","iterator","contains","for-own","forOwn","forown","function"],"markdown-utils":["blog","commonmark","markdown","md","post","remarkable","render","renderer","util","write"],"micromatch":["bash","expand","expansion","expression","file","files","filter","find","glob","globbing","globs","globstar","match","matcher","matches","matching","minimatch","multimatch","path","pattern","patterns","regex","regexp","regular","shell","wildcard"],"preserve":["escape","format","placeholder","placeholders","prettify","regex","replace","template","templates","token","tokens"],"randomatic":["alpha","alpha-numeric","alphanumeric","characters","chars","numeric","rand","random","randomize","randomized"],"repeat-element":["array","element","repeat","string"],"repeat-string":["fast","fastest","fill","javascript","js","left","left-pad","multiple","node.js","pad","padding","repeat","repeating","right","right-pad","str","string","text","times","util","utility","utils"],"sort-asc":["array","arr","asc","ascending","function","keys","key","order","ordered","obj","object","sort"],"sort-desc":["array","arr","desc","descending","function","keys","key","order","ordered","obj","object","sort"],"sort-object":["arr","array","function","js","key","keys","obj","object","order","re","re-order","sort","util","utils"],"unixify":["directory","file","filepath","fix","fs","path","slash","unix","windows"]}