<commit_before># Ember Truth Helpers [![Build Status](https://travis-ci.org/jmurphyau/ember-truth-helpers.svg?branch=master)](https://travis-ci.org/jmurphyau/ember-truth-helpers)

HTMLBars template helpers for additional truth logic in `if` and `unless` statements.

## Usage

Helper   | JavaScript                           | HTMLBars
---------|--------------------------------------|-------------------
eq       | `if (a === b)`                       | `{{if (eq a b)}}`
not-eq   | `if (a !== b)`                       | `{{if (not-eq a b)}}`
not      | `if (!a)`                            | `{{if (not a)}}`
and      | `if (a && b)`                        | `{{if (and a b)}}`
or       | <code>if (a &#124;&#124; b)</code>   | `{{if (or a b)}}`
gt       | `if (a > b)`                         | `{{if (gt a b)}}`
gte      | `if (a >= b)`                        | `{{if (gte a b)}}`
lt       | `if (a < b)`                         | `{{if (lt a b)}}`
lte      | `if (a <= b)`                        | `{{if (lte a b)}}`
is-array | `if (Ember.isArray(a))`              | `{{if (is-array a)}}`

## Install

* `ember install:addon ember-truth-helpers`

## Other Helpers

* [ember-get-helper](https://github.com/jmurphyau/ember-get-helper)

## Development

* `git clone https://github.com/jmurphyau/ember-truth-helpers.git`
* `npm install`
* `bower install`
* `ember server`
* Visit your app at http://localhost:4200.

## Running Tests

* `ember test`
* `ember test --server`<commit_msg>Update installation command for addon<commit_after># Ember Truth Helpers [![Build Status](https://travis-ci.org/jmurphyau/ember-truth-helpers.svg?branch=master)](https://travis-ci.org/jmurphyau/ember-truth-helpers)

HTMLBars template helpers for additional truth logic in `if` and `unless` statements.

## Usage

Helper   | JavaScript                           | HTMLBars
---------|--------------------------------------|-------------------
eq       | `if (a === b)`                       | `{{if (eq a b)}}`
not-eq   | `if (a !== b)`                       | `{{if (not-eq a b)}}`
not      | `if (!a)`                            | `{{if (not a)}}`
and      | `if (a && b)`                        | `{{if (and a b)}}`
or       | <code>if (a &#124;&#124; b)</code>   | `{{if (or a b)}}`
gt       | `if (a > b)`                         | `{{if (gt a b)}}`
gte      | `if (a >= b)`                        | `{{if (gte a b)}}`
lt       | `if (a < b)`                         | `{{if (lt a b)}}`
lte      | `if (a <= b)`                        | `{{if (lte a b)}}`
is-array | `if (Ember.isArray(a))`              | `{{if (is-array a)}}`

## Install

* `ember install ember-truth-helpers`

## Other Helpers

* [ember-get-helper](https://github.com/jmurphyau/ember-get-helper)

## Development

* `git clone https://github.com/jmurphyau/ember-truth-helpers.git`
* `npm install`
* `bower install`
* `ember server`
* Visit your app at http://localhost:4200.

## Running Tests

* `ember test`
* `ember test --server`
{'fraction_non_alphanumeric': 0.23110367892976588, 'fraction_numerical': 0.006688963210702341, 'mean_word_length': 1.5986099044309297, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 11, 'https://': 8, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 6, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4275312', 'n_tokens_mistral': 1033, 'n_tokens_neox': 994, 'n_words': 259}