Trevas

Usage

Download the library from npm:

yarn add @inseefr/trevas

Import the interpret function:

import { interpret } from '@inseefr/trevas';

Execute VTL interpretation on an expression:

const expr = '"Hello " || NAME';
const bindings = { NAME: 'world' };
const result = interpret(expr, bindings);
// result will be: 'Hello world'

results matching ""

    No results matching ""