2.3.4 • Published 9 months ago

jexl-to-string v2.3.4

Weekly downloads
-
License
MIT
Repository
github
Last release
9 months ago

jexl-to-string

Convert a Jexl Abstract Syntax Tree (AST) back to a string expression.

Installation

NPM:

npm install --save jexl-to-string

Yarn:

yarn add jexl-to-string

Example

import { jexlExpressionStringFromAst } from "jexl-to-string";
import { Jexl } from "jexl";

const jexl = new Jexl();
const compiledExpression = jexl.compile(input);
const newExpression = jexlExpressionStringFromAst(
  jexl._grammar,
  compiledExpression._getAst()
);
2.3.4

9 months ago

2.3.3

1 year ago

2.3.2

1 year ago

2.3.1

2 years ago

2.3.0

2 years ago