Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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: 1 day 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 (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-04-13T01:02:13.000Z (7 months ago)
- Last Synced: 2024-04-13T21:37:30.474Z (7 months ago)
- Topics: json, json-schema, types, typescript, typing
- Language: TypeScript
- Homepage:
- Size: 162 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.