https://github.com/swordev/json-types
A repository of JSON types automatically generated from a JSON schema.
https://github.com/swordev/json-types
json json-schema types typescript typing
Last synced: 2 months ago
JSON representation
A repository of JSON types automatically generated from a JSON schema.
- Host: GitHub
- URL: https://github.com/swordev/json-types
- Owner: swordev
- License: mit
- Created: 2023-10-20T22:48:43.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2026-04-12T03:29:33.000Z (2 months ago)
- Last Synced: 2026-04-12T05:17:55.633Z (2 months ago)
- Topics: json, json-schema, types, typescript, typing
- Language: TypeScript
- Homepage:
- Size: 458 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# json-types
> A repository of JSON types automatically generated from a JSON schema.
[![workflow-badge]](https://github.com/swordev/json-types/actions/workflows/ci.yaml) [![license-badge]](https://github.com/swordev/json-types#license)
[workflow-badge]: https://img.shields.io/github/actions/workflow/status/swordev/json-types/ci.yaml?branch=main
[license-badge]: https://img.shields.io/github/license/swordev/json-types
## Usage
Review the readme file for published [packages](https://github.com/swordev/json-types/tree/main/packages).
## Development
### Requirements
- [Node.js v20](https://nodejs.org)
- [pnpm v8](https://pnpm.io)
### Installation
```sh
git clone https://github.com/swordev/json-types
cd json-types
```
Add the type to the [catalog.json](https://github.com/swordev/json-types/blob/main/catalog.json) file and generate the package:
```sh
pnpm types:gen
```
## License
Distributed under the MIT License.