Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/astahmer/transformer

Takes an input (ex: TS) and ouputs to destination format (ex: Zod/JSON/Open API Schemas)
https://github.com/astahmer/transformer

json-schema online openapi typescript vite zod

Last synced: about 1 month ago
JSON representation

Takes an input (ex: TS) and ouputs to destination format (ex: Zod/JSON/Open API Schemas)

Awesome Lists containing this project

README

        

# Transformer 🪄

![Screenshot 2022-05-03 at 00 46 40](https://user-images.githubusercontent.com/47224540/166338700-e1a749d8-671a-41f8-ae46-d3fda4dfea5d.png)

## from TS to :

- [x] JSON Schema
- [x] OpenAPI
- [x] Zod

## from OpenAPI to :

- [x] Typescript
- [x] JSON Schema
- [x] Zod

## from JSON Schema to :

- [x] Typescript
- [x] OpenAPI
- [x] Zod

### Stack

- [tRPC](https://trpc.io/) for client-server communication
- [typeconv](https://github.com/grantila/typeconv) for most `TS to X` conversions
- [pnpm](https://pnpm.io/) as packages + workspaces manager
- [turborepo](https://turborepo.org/) for monorepo setup
- [Front template](https://github.com/astahmer/vite-react-chakra-ts)