# handlebars-helper-equal

> A Handlebars helper for testing equality

Latest version **1.0.0** (published 2014-10-03) · ISC license · 0 weekly downloads

## Install

```sh
npm install handlebars-helper-equal
pnpm add handlebars-helper-equal
yarn add handlebars-helper-equal
bun add handlebars-helper-equal
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.0 |
| Published | 2014-10-03 |
| First published | 2014-10-03 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 6 |
| Author | Zeke Sikelianos |
| Maintainers | zeke |
| Keywords | handlebars, helper |

## Links

- npm: https://www.npmjs.com/package/handlebars-helper-equal
- Repository: https://github.com/zeke/handlebars-helper-equal
- Issues: https://github.com/zeke/handlebars-helper-equal/issues
- npm.io page: https://npm.io/package/handlebars-helper-equal

## Alternatives

- [lodash.assign](https://npm.io/package/lodash.assign.md) — 2.3M weekly downloads
- [lodash.chunk](https://npm.io/package/lodash.chunk.md) — 1.8M weekly downloads
- [react-native-ios-utilities](https://npm.io/package/react-native-ios-utilities.md) — 138.5K weekly downloads
- [@technically/lodash](https://npm.io/package/@technically/lodash.md) — 50.9K weekly downloads
- [@fluid-topics/ft-icon](https://npm.io/package/@fluid-topics/ft-icon.md) — 20.6K weekly downloads

## Recent versions

- 1.0.0 (latest) — 2014-10-03

## README

# handlebars-helper-equal

A Handlebars helper for testing equality

Found it on [some blog](http://doginthehat.com.au/2012/02/comparison-block-helper-for-handlebars-templates/).

## Installation

Download node at [nodejs.org](http://nodejs.org) and install it, if you haven't already.

```sh
npm install handlebars-helper-equal --save
```

## Usage

In your JavaScript file:

```js
var express = require("express")
var hbs = require("hbs")
hbs.registerHelper("equal", require("handlebars-helper-equal"))
var app = express()
app.set("view engine", "hbs")
// etc...
```

In your Handlebars template:

```hbs
{{#equal unicorns ponies }}
  That's amazing, unicorns are actually undercover ponies
{{/equal}}
```

## Tests

```sh
npm install
```

---
_Source: https://npm.io/package/handlebars-helper-equal · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
