Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

@handlebars/parser

handlebars-lang785.6kISC2.2.0TypeScript support: included

The parser for the Handlebars language

readme

Handlebars Parser

The official Handlebars.js parser. This package contains the definition for for the Handlebars language AST, and the parser for parsing into that AST.

changelog

Changelog

Release (2025-03-19)

  • @handlebars/parser 2.2.0 (minor)

:rocket: Enhancement

  • @handlebars/parser
    • #15 Implement hash and array literal syntax (@wycats)
    • #14 Add support for a # prefix in path segments (@wycats)

:bug: Bug Fix

  • @handlebars/parser
    • #6 [bugfix] Don't emit parts: [undefined] for {{this}} (@dfreeman)

:house: Internal

Committers: 3

v2.1.0 (2021-02-22)

:rocket: Enhancement

  • #4 [FEATURE] Allows SubExpressions to be PathExpression roots (@pzuraq)

Committers: 1

v2.0.0 (2020-12-09)

:boom: Breaking Change

Committers: 1

v1.1.0 (2020-09-18)

:rocket: Enhancement

Committers: 1

v1.0.0 (2020-09-14)

:rocket: Enhancement

  • #1 [FEAT] Adds initial setup, lint, ci (@pzuraq)

Committers: 1