@inseefr/trevas

0.1.21 • Public • Published

Trevas

npm version License: MIT

Transformation engine and validator for statistics.

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'

Readme

Keywords

none

Package Sidebar

Install

npm i @inseefr/trevas

Weekly Downloads

148

Version

0.1.21

License

MIT

Unpacked Size

654 kB

Total Files

8

Last publish

Collaborators

  • insee
  • avouacr-insee
  • ddecrulle
  • renaud.genevois
  • franckco
  • nicolaval