{"id":19256464,"url":"https://github.com/paroi-tech/typeonly","last_synced_at":"2025-04-21T15:30:50.946Z","repository":{"id":57168586,"uuid":"190333338","full_name":"paroi-tech/typeonly","owner":"paroi-tech","description":"Parses typing definitions from TypeScript and brings them at runtime.","archived":false,"fork":false,"pushed_at":"2025-02-06T17:25:34.000Z","size":748,"stargazers_count":53,"open_issues_count":1,"forks_count":3,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-04-10T02:43:43.001Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"cc0-1.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/paroi-tech.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"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-06-05T05:47:53.000Z","updated_at":"2025-02-06T17:25:37.000Z","dependencies_parsed_at":"2024-03-11T22:24:51.577Z","dependency_job_id":"9ded8650-d3c7-4e57-a03a-288b005d10c3","html_url":"https://github.com/paroi-tech/typeonly","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/paroi-tech%2Ftypeonly","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/paroi-tech%2Ftypeonly/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/paroi-tech%2Ftypeonly/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/paroi-tech%2Ftypeonly/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/paroi-tech","download_url":"https://codeload.github.com/paroi-tech/typeonly/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250080508,"owners_count":21371519,"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","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":[],"created_at":"2024-11-09T19:05:50.163Z","updated_at":"2025-04-21T15:30:50.934Z","avatar_url":"https://github.com/paroi-tech.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Monorepo for TypeOnly\n\n[![Build Status](https://travis-ci.com/paroi-tech/typeonly.svg?branch=master)](https://travis-ci.com/paroi-tech/typeonly)\n\n**TypeOnly** is a lightweight validation library that uses TypeScript type definitions to validate JSON data. **[Learn more about TypeOnly here](https://github.com/paroi-tech/typeonly/tree/master/packages/typeonly)**.\n\n## Projects\n\n* [typeonly](https://github.com/paroi-tech/typeonly/tree/master/packages/typeonly): Parses types and interfaces from TypeScript and stores them as JSON files;\n* [@typeonly/loader](https://github.com/paroi-tech/typeonly/tree/master/packages/loader): Brings types and interfaces from TypeScript at runtime;\n* [@typeonly/validator](https://github.com/paroi-tech/typeonly/tree/master/packages/validator): An API to validate JSON data or JavaScript objects, using TypeScript typing definitions;\n* [@typeonly/validator-cli](https://github.com/paroi-tech/typeonly/tree/master/packages/validator-cli): A CLI to validate JSON files, using TypeScript typing definitions.\n\n## Contribute\n\n### Install and Build\n\nWe need a JVM (Java Virtual Machine) to build the parser because we use [ANTLR](https://www.antlr.org/), which is a Java program. So, at first, install a JVM on your system.\n\nIn a terminal, open the cloned `typeonly/typeonly/` repository. Then:\n\n```sh\n# Download once the ANTLR JAR file in the project's root directory\nwget https://www.antlr.org/download/antlr-4.13.2-complete.jar\n\n# Install once all Node.js dependencies\nnpm install\n```\n\n### Development environment\n\nWith VS Code, our recommanded plugins are:\n\n- **Biome** from biomejs (biomejs.dev)\n- **ANTLR4 grammar syntax support** from Mike Lischke (`mike-lischke.vscode-antlr4`)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fparoi-tech%2Ftypeonly","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fparoi-tech%2Ftypeonly","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fparoi-tech%2Ftypeonly/lists"}