# helper-lookup-deps [![NPM version](https://badge.fury.io/js/helper-lookup-deps.svg)](http://badge.fury.io/js/helper-lookup-deps)  [![Build Status](https://travis-ci.org/helpers/helper-lookup-deps.svg)](https://travis-ci.org/helpers/helper-lookup-deps) 

> Collection of template helpers for the methods in lookup-deps.


## Install with [npm](npmjs.org)

```bash
npm i helper-lookup-deps --save
```

## Example usage

Handlebars:

```js
var lookup = require('helper-lookup-deps');
```

### Handlebars

Register the helper:

```js
var lookup = require('helper-lookup-deps');
handlebars.registerHelper('links', lookup.links);
```
Use the helper;

```handlebars
<!-- generate links to all related projects -->
{{links}}

<!-- pass an array on the context to generate 
links to only specified projects -->
{{links links}}
```

### Template, Verb, or Assemble

> Replace `app` with whatever you're using

Register the helper:

```js
var lookup = require('helper-lookup-deps');
app.helper('links', lookup.links);
```
Use the helper

```js
// links to all related projects
{%= links() %}

// links to only specified projects
{%= links(['arr-diff']) %}
```

## Running tests
Install dev dependencies:

```bash
npm i -d && 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-deps/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/jonschlinkert](https://github.com/jonschlinkert)
+ [twitter/jonschlinkert](http://twitter.com/jonschlinkert) 

## License
Copyright (c) 2015 Jon Schlinkert  
Released under the MIT license

***

_This file was generated by [verb-cli](https://github.com/assemble/verb-cli) on February 26, 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
