# jstransformer-handlebars

> Handlebars support for JSTransformers.

Latest version **1.2.0** (published 2022-01-17) · MIT license · 0 weekly downloads

## Install

```sh
npm install jstransformer-handlebars
pnpm add jstransformer-handlebars
yarn add jstransformer-handlebars
bun add jstransformer-handlebars
```

## Health

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

Positive: no vulnerabilities.

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

Negative: abandoned.

## Facts

| | |
|---|---|
| Version | 1.2.0 |
| Published | 2022-01-17 |
| First published | 2015-02-16 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Node | >=4 |
| Dependencies | 1 |
| Unpacked size | 4.4 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 6 |
| Author | JSTransformers Team |
| Maintainers | robloach, forbeslindesay, stoeffel, hemanth, timothygu, calebeby, webketje |
| Keywords | jstransformer, handlebars |

## Links

- npm: https://www.npmjs.com/package/jstransformer-handlebars
- Repository: https://github.com/jstransformers/jstransformer-handlebars
- Homepage: https://github.com/jstransformers/jstransformer-handlebars#readme
- Issues: https://github.com/jstransformers/jstransformer-handlebars/issues
- npm.io page: https://npm.io/package/jstransformer-handlebars

## Dependencies (1)

- [handlebars](https://npm.io/package/handlebars.md) ^4.7.7

## Alternatives

- [mobx-react](https://npm.io/package/mobx-react.md) — 2.8M weekly downloads
- [rc-tree](https://npm.io/package/rc-tree.md) — 2.6M weekly downloads
- [@react-oauth/google](https://npm.io/package/@react-oauth/google.md) — 1.3M weekly downloads
- [@wagmi/connectors](https://npm.io/package/@wagmi/connectors.md) — 877.0K weekly downloads
- [vee-validate](https://npm.io/package/vee-validate.md) — 836.4K weekly downloads

## Recent versions

- 1.2.0 (latest) — 2022-01-17
- 1.1.0 — 2018-01-28
- 1.0.0 — 2015-09-03
- 0.1.0 — 2015-06-28
- 0.0.2 — 2015-04-02
- 0.0.1 — 2015-02-16

## README

# jstransformer-handlebars

[Handlebars.js](http://handlebarsjs.com/) support for [JSTransformers](http://github.com/jstransformers).

[![Build Status](https://img.shields.io/travis/jstransformers/jstransformer-handlebars/master.svg)](https://travis-ci.org/jstransformers/jstransformer-handlebars)
[![Coverage Status](https://img.shields.io/codecov/c/github/jstransformers/jstransformer-handlebars/master.svg)](https://codecov.io/gh/jstransformers/jstransformer-handlebars)
[![Dependency Status](https://img.shields.io/david/jstransformers/jstransformer-handlebars/master.svg)](http://david-dm.org/jstransformers/jstransformer-handlebars)
[![NPM version](https://img.shields.io/npm/v/jstransformer-handlebars.svg)](https://www.npmjs.org/package/jstransformer-handlebars)

## Installation

    npm install jstransformer-handlebars

## API

```js
var handlebars = require('jstransformer')(require('jstransformer-handlebars'));

var locals = {
  name: "World"
};

handlebars.render('<h1>Hello {{name}}!</h1>', {}, locals).body
//=> '<h1>Hello World!</h1>'
```

In addition to the standard [Handlebars compile options](https://handlebarsjs.com/api-reference/compilation.html#handlebars-compile-template-options), the render method can be passed objects for `partials`, `helpers` and `decorators` (deprecated).

## License

MIT

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