helpers/handlebars-helper-and

Name: handlebars-helper-and

Owner: Helpers

Description: Handlebars helper that returns true when all of the given conditions are truthy.

Created: 2018-03-23 18:27:59.0

Updated: 2018-03-23 18:42:16.0

Pushed: 2018-03-23 18:42:21.0

Homepage: https://github.com/jonschlinkert

Size: 8

Language: JavaScript

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

handlebars-helper-and NPM version NPM monthly downloads NPM total downloads Linux Build Status

Handlebars helper that returns true when all of the given conditions are truthy.

Please consider following this project's author, Jon Schlinkert, and consider starring the project to show your :heart: and support.

Install

Install with npm:

m install --save handlebars-helper-and
Usage
lebars.registerHelper('and', require('handlebars-helper-and'));

Params

Example

 { great: true, magnificent: true } -->
nd great magnificent}} A {{else}} B {{/and}}
 results in: ' A ' -->
About

Contributing

Pull requests and stars are always welcome. For bugs and feature requests, please create an issue.

Please read the contributing guide for advice on opening issues, pull requests, and coding standards.

Running Tests

Running and reviewing unit tests is a great way to get familiarized with a library and its API. You can install dependencies and run tests with the following command:

m install && npm test

Building docs

(This project's readme.md is generated by verb, please don't edit the readme directly. Any changes to the readme must be made in the .verb.md readme template.)

To generate the readme, run the following command:

m install -g verbose/verb#dev verb-generate-readme && verb

Author

Jon Schlinkert

License

Copyright © 2018, Jon Schlinkert. Released under the MIT License.


This file was generated by verb-generate-readme, v0.6.0, on March 23, 2018.


This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.