# handlebars-helper-strict-equal

> Handlebars helper for strict equality comparison

Latest version **1.0.0** (published 2015-05-19) · MIT license · 0 weekly downloads

## Install

```sh
npm install handlebars-helper-strict-equal
pnpm add handlebars-helper-strict-equal
yarn add handlebars-helper-strict-equal
bun add handlebars-helper-strict-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 | 2015-05-19 |
| First published | 2015-05-19 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Jim Fitzpatrick |
| Maintainers | jimf |
| Keywords | handlebars, helper |

## Links

- npm: https://www.npmjs.com/package/handlebars-helper-strict-equal
- Repository: https://github.com/jimf/handlebars-helper-strict-equal
- Issues: https://github.com/jimf/handlebars-helper-strict-equal/issues
- npm.io page: https://npm.io/package/handlebars-helper-strict-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) — 2015-05-19

## README

# handlebars-helper-strict-equal

A [Handlebars][] helper for strict equality comparison.

[![Build Status][build-badge]][build-status]

## Installation

Install using npm:

    $ npm install handlebars-helper-strict-equal

## Usage

**helpers.js**

Example helpers file that requires in Handlebars and registers the strict-equal
helper under the name "equal".

```js
var Handlebars = require('handlebars');

Handlebars.registerHelper('equal', require('handlebars-helper-strict-equal'));
```

**templates/example.handlebars**

Example template file that makes use of the strict-equal helper.

```
<nav>
  {{#equal pagerStyle "pager"}}
    <ul class="pager">
      <li><a href="#">Previous</a></li>
      <li><a href="#">Next</a></li>
    </ul>
  {{else}}
    <ul class="pagination">
      {{#each linkablePages}}
        <li {{#equal ../currentPage this}}class="active"{{/equal}}>
          <a href="#">{{this}}</a>
        </li>
      {{/each}}
    </ul>
  {{/equal}}
</nav>
```

## License

MIT

[Handlebars]: http://handlebarsjs.com/
[build-badge]: https://img.shields.io/travis/jimf/handlebars-helper-strict-equal/master.svg
[build-status]: https://travis-ci.org/jimf/handlebars-helper-strict-equal

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