MelineeTS / VTL-Tools

JavaScript tools for the Validation and Transformation Language

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

VTL Tools

JavaScript tools for the Validation and Transformation Language

Build Status Coverage Status Quality Gate Status License: MIT

The documentation can be found in the docs folder and browsed online.

Storybook is also available online.

Packages

VTL Tools is a monorepo. You can find below 4 packages giving 4 librairies.

@inseefr/vtl-tools

This library is not yet maintained. Last version is 0.1.15. Editor component & interpret function are now exposed into to separate libs, see below.

@inseefr/vtl-2.1-engine

interpret function is exposed at root (named export)

@inseefr/editor

Editor component is exposed at root (named export)

Antlr tools VTL grammars

@inseefr/vtl-2.1-antlr-tools

VtlLexer, VtlParser, VtlListener and VtlVisitor are exposed at root (named export)

@inseefr/vtl-2.0-antlr-tools

VtlLexer, VtlParser, VtlListener and VtlVisitor are exposed at root (named export)

Getting started

Initilization

Clone Github repository:

git clone https://github.com/InseeFr/VTL-Tools.git
cd VTL-Tools

Install dependencies (yarn is required because of workspaces) and locally build packages:

yarn
yarn build

Tests

Run once:

yarn test

Run with hot reloading:

yarn test-watch

Storybook

Run storybook:

yarn start-storybook

About

JavaScript tools for the Validation and Transformation Language

License:MIT License


Languages

Language:JavaScript 92.4%Language:ANTLR 7.1%Language:CSS 0.4%Language:Shell 0.2%