Skip to content

Latest commit

 

History

History

schema

WarpDrive WarpDrive

:electron: Declarative Schema Parser

Build faster with better DX

WarpDrive Schema

@warp-drive/schema allows you to easily use the typescript you already know as a statically analyzable schema language.

Its like GraphQL, RPC, or Protobuf... but for anything!


Installation

pnpm install @warp-drive/schema

Tagged Releases

  • NPM Canary Version
  • NPM Beta Version
  • NPM Stable Version
  • NPM LTS Version
  • NPM LTS 4.12 Version

🔜 Soon

Scaffold the schema for a User resource

npx -p @warp-drive/schema resource user

Parse Schemas

npx -p @warp-drive/schema parse <path/to/schema.json>

How it works

The parser expects a json config file.

{
  "schemas": "./src/schemas",
  "dest": "./dist",
}

♥️ Credits

Brought to you with ♥️ love by 🐹 Ember <style type="text/css"> img.project-logo { padding: 0 5em 1em 5em; width: 100px; border-bottom: 2px solid #0969da; margin: 0 auto; display: block; } details > summary { font-size: 1.1rem; line-height: 1rem; margin-bottom: 1rem; } details { font-size: 1rem; } details > summary strong { display: inline-block; padding: .2rem 0; color: #000; border-bottom: 3px solid #0969da; } details > details { margin-left: 2rem; } details > details > summary { font-size: 1rem; line-height: 1rem; margin-bottom: 1rem; } details > details > summary strong { display: inline-block; padding: .2rem 0; color: #555; border-bottom: 2px solid #555; } details > details { font-size: .85rem; } @media (prefers-color-scheme: dark) { details > summary strong { color: #fff; } } @media (prefers-color-scheme: dark) { details > details > summary strong { color: #afaba0; border-bottom: 2px solid #afaba0; } } </style>