# @hidoo/handlebars-helpers

> A helper library that summarizes commonly used functions in Handlebars.

Latest version **1.2.0** (published 2025-04-15) · MIT license · 0 weekly downloads

## Install

```sh
npm install @hidoo/handlebars-helpers
pnpm add @hidoo/handlebars-helpers
yarn add @hidoo/handlebars-helpers
bun add @hidoo/handlebars-helpers
```

## Health

**Score 45/100 (D)** — status: stable.

Positive: esm support; no vulnerabilities; high maintenance score.

Warnings: low downloads; no types.

Negative: stale.

## Facts

| | |
|---|---|
| Version | 1.2.0 |
| Published | 2025-04-15 |
| First published | 2018-08-20 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | ESM + CommonJS |
| Node | >=18.0.0 |
| Dependencies | 5 |
| Unpacked size | 42.8 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | hidoo |
| Maintainers | hidoo |
| Keywords | handlebars |

## Links

- npm: https://www.npmjs.com/package/@hidoo/handlebars-helpers
- Repository: https://github.com/hidoo/handlebars-lib
- npm.io page: https://npm.io/package/@hidoo/handlebars-helpers

## Dependencies (5)

- [marked](https://npm.io/package/marked.md) 15.0.8
- [highlight.js](https://npm.io/package/highlight.js.md) 11.11.1
- [@hidoo/data-from](https://npm.io/package/@hidoo/data-from.md) 1.0.0
- [marked-highlight](https://npm.io/package/marked-highlight.md) 2.2.1
- [marked-gfm-heading-id](https://npm.io/package/marked-gfm-heading-id.md) 4.1.1

## Recent versions

- 1.2.0 (latest) — 2025-04-15
- 1.1.0 — 2024-03-25
- 1.0.0 — 2024-03-18
- 0.8.2 — 2021-06-08
- 0.8.1 — 2021-03-29
- 0.8.0 — 2020-05-07
- 0.7.0 — 2020-03-03
- 0.6.1 — 2019-11-11
- 0.6.0 — 2019-08-05
- 0.5.1 — 2019-06-10
- 0.5.0 — 2019-03-11
- 0.4.2 — 2019-03-04
- 0.4.1 — 2018-10-26
- 0.4.0 — 2018-10-25
- 0.3.0 — 2018-10-16
- … 5 more at https://npm.io/package/@hidoo/handlebars-helpers/versions

## README

# @hidoo/handlebars-helpers

A helper library that summarizes commonly used functions in Handlebars.

## Installation

```sh
npm install --save handlebars @hidoo/handlebars-helpers
```

## Usage

```js
import Handlebars from 'handlebars';
import * as helpers from '@hidoo/handlebars-helpers';

Object.entries(helpers).forEach(([name, helper]) =>
  Handlebars.registerHelper(name, helper);
);
```

via register API:

```js
import Handlebars from 'handlebars';
import register from '@hidoo/handlebars-helpers/register';

register(Handlebars);
```

## Test

```sh
pnpm test
```

## License

MIT

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