TypeScript Schema

Open-source TypeScript projects categorized as Schema Edit details

Top 22 TypeScript Schema Projects

  • postgraphile

    Execute one command (or mount one Node.js middleware) and get an instant high-performance GraphQL API for your PostgreSQL database!

    Project mention: v4.12.11 | reddit.com/r/PostGraphile | 2022-05-25
  • graphql-code-generator

    A tool for generating code based on a GraphQL schema and GraphQL operations (query/mutation/subscription), with flexible support for custom plugins.

    Project mention: Am I correct in thinking that codegen can create a file outside of the root but not update it? | reddit.com/r/graphql | 2022-06-24
  • Appwrite

    Appwrite - The Open Source Firebase alternative introduces iOS support . Appwrite is an open source backend server that helps you build native iOS applications much faster with realtime APIs for authentication, databases, files storage, cloud functions and much more!

  • TypeGraphQL

    Create GraphQL schema and resolvers with TypeScript, using classes and decorators!

    Project mention: Best python tutorials for graphql? | reddit.com/r/learnpython | 2022-06-26

    I'll be honest and say I don't think python is the right language to implement graphql. It's possible of course and if you're looking for a graphene tutorial, I'm sure you can find one (and I'll help you evaluate one, if you'd like). I'd personally go with node.js, typescript, and typegraphql.

  • Superstruct

    A simple and composable way to validate data in JavaScript (and TypeScript).

    Project mention: Why doesn’t TypeScript natively do any type checking | reddit.com/r/typescript | 2022-05-27
  • graphql-cli

    📟 Command line tool for common GraphQL development workflows

    Project mention: What's new in GraphQL CLI 4.1 | dev.to | 2021-07-29

    GraphQL CLI is your one-stop shop for developing full-stack GraphQL applications in Node.js. With GraphQL CLI you can create and run a new GraphQL application in just a few seconds! Just declare your GraphQL schema and you can perform code generation, schema validation, introspection and more through intuitive CLI commands.

  • schemats

    Generate typescript interface definitions from SQL database schema

    Project mention: GraphQL error handling to the max with Typescript, codegen and fp-ts | dev.to | 2022-03-07

    :::note When using remote APIs, we often have the possibility to generate the types automatically from a JSON schema for REST APIs, from protobuf files for gRPC-based APIs, from a database schema, etc. You might even be using an external API through an SDK that already provides you with all types. In such cases, the creation of specialized Error classes is not mandatory. However, it might still be a good idea to do so to provide application-specific errors rather than bubbling up 3rd-party low-level errors. For such cases, the upcoming Ecma TC39 proposal for Error Cause is useful as it allows to chain errors. Polyfills exist: Pony Cause or error-cause. :::

  • json-schema-to-ts

    Infer TS types from JSON schemas 📝

    Project mention: Better Backend DX: JSON Schema + TypeScript + Swagger = ✨ Vol. 2 | dev.to | 2022-05-20

    // First create a general "post" schema // Shared Schema export const postSchema = { $id: 'post', type: 'object', properties: { id: { type: 'number' }, title: { type: 'string' }, published: { type: 'boolean' }, content: { type: 'string' }, tags: { type: 'array', items: { type: 'string' } }, deleted: { type: 'boolean' } }, required: ['title', 'published', 'content', 'tags', 'deleted'] } as const // We don't need to create a separate "bodySchema". // But directly infer type from postSchema export type Body = FromSchema // Reply Schema // Check https://www.fastify.io/docs/latest/Reference/Validation-and-Serialization/#adding-a-shared-schema const replySchema = { type: 'object', properties: { posts: { type: 'array', items: { $ref: 'post#' } } }, additionalProperties: false } as const // Check https://github.com/ThomasAribart/json-schema-to-ts#references export type Reply = FromSchema< typeof replySchema, { references: [typeof postSchema] } > // Also make ReplyNotFound reusable for future use export const postNotFoundSchema = { $id: 'postNotFound', // add $id here type: 'object', required: ['error'], properties: { error: { type: 'string' } }, additionalProperties: false } as const export type PostNotFound = FromSchema

  • Scout APM

    Less time debugging, more time building. Scout APM allows you to find and fix performance issues with no hassle. Now with error monitoring and external services monitoring, Scout is a developer's best friend when it comes to application development.

  • native

    Generate a form using JSON Schema and Vue.js (by formschema)

    Project mention: FormKit: Form building framework for Vue 3 | news.ycombinator.com | 2022-05-13
  • Funval

    🦩 Joi like validations for TypeScript

    Project mention: volder is a powerful JavaScript schema builder for value parsing and validation. Define a schema and validate values, volder schema are extremely simple to use, it has custom error messages, custom types, nested schemas. | reddit.com/r/programming | 2021-10-15

    What does this library provide that is not provided by Yup, Zod, Superstruct (a personal favorite), Joi, Nope, computed-types, typanion, and all the other validation libraries?

  • nope-validator

    A small, simple, and fast JS validator. Like, wow that's fast. 🚀

    Project mention: Show HN: Nope-Validator | news.ycombinator.com | 2021-12-14
  • papr

    MongoDB TypeScript-aware Models

    Project mention: Why is mongoose typed so loosely? | reddit.com/r/typescript | 2021-11-20

    I also think the typescript support for mongoose leaves much to be desired. A few months ago, papr catched my eye, which looked like it was created from the lack of typesafe ORMs/ODMs for mongoDB.

  • trilogy

    TypeScript SQLite layer with support for both native C++ & pure JavaScript drivers. (by haltcase)

    Project mention: Trilogy – GitHub-built MySQL client library written in C | news.ycombinator.com | 2021-12-15

    Naming is hard and conflicts are easy, but this project clashes with my own project called Trilogy. Both for SQL-family, although mine is in the JavaScript realm. I'm not too surprised someone followed the logic did to get the name.

    Not a huge project but has some users, and I still try to work on it to get the typings (TypeScript) where I want them.

    https://github.com/citycide/trilogy

  • aurora

    CLI tool that orchestrates prisma files in a way that allows multiple .prisma files with cross-relations (by sabinadams)

    Project mention: Does Prisma work in production? | reddit.com/r/node | 2022-03-28

    Yes, there are a few ways to achieve this! It's not supported natively yet but in this issue lots of people list their favorite workarounds which you can draw inspiration from. One of the most popular ones is to use a library written by one of our community members (who we actually now hired as a Developer Advocate :D) called aurora.

  • squid

    🦑 Provides SQL tagged template strings and schema definition functions. (by andywer)

    Project mention: "ORMs have a special place in my heart, not entirely unlike Brutus and Caesar: a dear friend who betrays you and leaves you to die a slow, painful death." – Taming SQL and ORMs with sqlc | reddit.com/r/programming | 2022-05-01

    For typescript and javascript, there's also squid + its companion project, postguard: https://github.com/andywer/squid

  • schemawax

    🧬 Tiny typed data decoder—get to the DNA of your data

    Project mention: Elm-inspired TypeScript decoding library now supports recursive decoders! | reddit.com/r/elm | 2021-11-10

    GitHub: https://github.com/michaljanocko/schemawax

  • zaml

    The Final Form of configuration files

    Project mention: Typed Config Languages | news.ycombinator.com | 2022-01-21

    Funny enough, I've implemented a config language that fits exactly this bill https://github.com/gilbert/zaml

    An example (also see it in the online editor[0]):

        users {

  • knex-types

    Generate TypeScript definitions (types) from a PostgreSQL database schema.

    Project mention: What database should i use with node. | reddit.com/r/node | 2021-11-26

    And in order to have auto-complete and type checking, you can combine it with knex-types.

  • fefe

    Validate, sanitize and transform values with proper TypeScript types and zero dependencies.

  • formily

    Simple, lightweight, and flexible schema-based form for Vue.js (by vue-formily)

    Project mention: Vue Formily - New Schema Based Form Generator Library for Vue.js | reddit.com/r/vuejs | 2021-09-09

    Today, I want to introduce to you my very first Vue.js library: https://github.com/vue-formily/formily

  • yup-schema-faker

    Fake data generator for yup

    Project mention: Yup-schema-faker: fake data generator for yup schema | reddit.com/r/javascript | 2022-03-31
  • yipp

    An api tool for building rest apis, heavily inspired by GQL syntax.

    Project mention: yipp - Build REST APIs using GraphQL inspired syntax | reddit.com/r/api | 2021-12-12
  • next-js-graphql-apollo-server-starter

    Next.js Graphql apollo Typescript server starter , with merge schema , combine resolvers generate type in fast and simple way

    Project mention: Next.js GraphQL Apollo Server Starter Project | dev.to | 2022-01-10
NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020). The latest post mention was on 2022-06-26.

TypeScript Schema related posts

Index

What are some of the best open-source Schema projects in TypeScript? This list will help you:

Project Stars
1 postgraphile 11,393
2 graphql-code-generator 8,886
3 TypeGraphQL 7,287
4 Superstruct 5,964
5 graphql-cli 1,875
6 schemats 962
7 json-schema-to-ts 697
8 native 441
9 Funval 313
10 nope-validator 308
11 papr 254
12 trilogy 239
13 aurora 159
14 squid 92
15 schemawax 52
16 zaml 46
17 knex-types 36
18 fefe 36
19 formily 23
20 yup-schema-faker 6
21 yipp 4
22 next-js-graphql-apollo-server-starter 1
Find remote jobs at our new job board 99remotejobs.com. There are 2 new remote jobs listed recently.
Are you hiring? Post a new remote job listing for free.
Clean code begins in your IDE with SonarLint
Up your coding game and discover issues early. SonarLint is a free plugin that helps you find & fix bugs and security issues from the moment you start writing code. Install from your favorite IDE marketplace today.
www.sonarlint.org