{"id":24775646,"url":"https://github.com/inseefr/trevas-ts","last_synced_at":"2025-08-17T18:07:50.361Z","repository":{"id":39415039,"uuid":"203967735","full_name":"InseeFr/Trevas-TS","owner":"InseeFr","description":"JavaScript engine for the Validation and Transformation Language","archived":false,"fork":false,"pushed_at":"2024-10-09T10:05:40.000Z","size":65896,"stargazers_count":9,"open_issues_count":13,"forks_count":8,"subscribers_count":9,"default_branch":"master","last_synced_at":"2025-08-07T02:21:30.061Z","etag":null,"topics":["antlr","control","parsing","validation","vtl"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/InseeFr.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"docs/CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-08-23T09:28:45.000Z","updated_at":"2024-10-09T10:00:45.000Z","dependencies_parsed_at":"2023-12-19T01:01:27.167Z","dependency_job_id":"686d434e-bc0c-4fb4-96ad-53f872578093","html_url":"https://github.com/InseeFr/Trevas-TS","commit_stats":{"total_commits":647,"total_committers":9,"mean_commits":71.88888888888889,"dds":"0.44049459041731065","last_synced_commit":"870aee30ba8bdb8ad5f9c0e4c5438f1ab1369a62"},"previous_names":["inseefr/vtl-tools"],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/InseeFr/Trevas-TS","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/InseeFr%2FTrevas-TS","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/InseeFr%2FTrevas-TS/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/InseeFr%2FTrevas-TS/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/InseeFr%2FTrevas-TS/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/InseeFr","download_url":"https://codeload.github.com/InseeFr/Trevas-TS/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/InseeFr%2FTrevas-TS/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":270885361,"owners_count":24662452,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-08-17T02:00:09.016Z","response_time":129,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["antlr","control","parsing","validation","vtl"],"created_at":"2025-01-29T06:55:06.240Z","updated_at":"2025-08-17T18:07:50.337Z","avatar_url":"https://github.com/InseeFr.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Trevas TS\n\nTrevas TS is a TypeScript engine for the [Validation and Transformation Language](https://sdmx.org/?page_id=5096). It is part of the Trevas family, together with the [Trevas](https://github.com/InseeFr/Trevas) Java engine.\n\n[![Trevas TS CI](https://github.com/InseeFr/Trevas-TS/actions/workflows/ci.yml/badge.svg)](https://github.com/InseeFr/Trevas-TS/actions/workflows/ci.yml)\n[![Coverage](https://sonarcloud.io/api/project_badges/measure?project=InseeFr_Trevas-TS\u0026metric=coverage)](https://sonarcloud.io/dashboard?id=InseeFr_Trevas-TS)\n[![Quality Gate Status](https://sonarcloud.io/api/project_badges/measure?project=InseeFr_Trevas-TS\u0026metric=alert_status)](https://sonarcloud.io/dashboard?id=InseeFr_Trevas-TS)\n[![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](https://opensource.org/licenses/MIT)\n[![Storybook](https://cdn.jsdelivr.net/gh/storybookjs/brand@main/badge/badge-storybook.svg)](https://inseefr.github.io/Trevas-TS/storybook/storybook-static)\n\nThe documentation can be found in the [docs](https://github.com/InseeFr/Trevas-TS/tree/master/docs) folder and [browsed online](https://inseefr.github.io/Trevas-TS/docs).\n\n## @inseefr/trevas\n\n[![npm version](https://badge.fury.io/js/%40inseefr%2Ftrevas.svg)](https://badge.fury.io/js/%40inseefr%2Ftrevas)\n\nThe `@inseefrtrevas` package is the VTL engine itself, which exposes the `interpret` function root (named export).\n\n### Versions\n\nVTL 2.1 is supported since Trevas TS \u003e= 1.0.0\n\nVTL 2.0 was supported for Trevas TS \u003c 1.0.0\n\n## Getting started\n\n### Use Trevas TS\n\nTo use Trevas TS in your JavaScript project, just run:\n\n```\nyarn add @inseefr/trevas\n```\n\nor\n\n```\nnpm install @inseefr/trevas\n```\n\n### Build Trevas TS\n\nIf you prefer to build Trevas TS locally, first clone the Github repository:\n\n```\ngit clone https://github.com/InseeFr/Trevas-TS.git\ncd Trevas-TS\nyarn\nyarn build\n```\n\n### Tests\n\nRun once:\n\n```\nyarn test\n```\n\nRun with hot reloading:\n\n```\nyarn test-watch\n```\n\n### Storybook\n\nRun storybook:\n\n```\nyarn storybook\n```\n\n### Documentation\n\nRun docusaurus documentation:\n\n```\ncd docs\nyarn\nyarn start\n```\n\n## Archived packages\n\n### @inseefr/vtl-2.0-antlr-tools\n\nThis library is deprecated and no longer maintained.\nThe last version is 0.3.2.\n\nSee [here](https://github.com/Making-Sense-Info/VTL-2.0-ANTLR-Tools-TS) for replacing tools.\n\n### @inseefr/vtl-tools\n\nThis library is deprecated and no longer maintained.\nThe last version is 0.1.15.\n\n### @inseefr/vtl-2.1-engine\n\nThis library is deprecated and no longer maintained.\nThe last version is 0.1.9.\n\n`@inseefr/trevas` is the next engine.\n\n### @inseefr/vtl-2.1-antlr-tools\n\nThis library is deprecated and no longer maintained.\nThe last version is 1.0.0-rc2.\n\nSee [here](https://github.com/Making-Sense-Info/VTL-2.1-ANTLR-Tools-TS) for replacing tools.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Finseefr%2Ftrevas-ts","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Finseefr%2Ftrevas-ts","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Finseefr%2Ftrevas-ts/lists"}