Giter Site home page Giter Site logo

type-o-rama's Introduction

Stand With Ukraine

type-o-rama

Conversion table

Convert from X→ to →Y (X→Y).

→TypeScript →Flow →Graphql →JSON Schema →Elm →JSDoc →Closure JSDoc →Reason
TypeScript - + + + + +
Flow + - + 😢 +
GraphQL + + - + + +
JSON Schema 📦 + + - 📦
Elm + -
JSDoc + + -
JSON 📦 📦 + + 📦
Reason + + -
PureScript + +
JavaScript + + +
PropTypes + +
CSS Modules + +
gRPC + + + + +
Thrift +
SQL + + +

Badge type-o-rama

If you want to show that your project was mentioned in type-o-rama you can use this badge:

[![type-o-rama](https://img.shields.io/badge/type--o--rama-%F0%9F%9A%80-blue.svg)](https://github.com/stereobooster/type-o-rama)

TypeScript

TypeScript to Flow

See also:

TypeScript to JSON Schema

TypeScript to JSDoc

TypeScript to Closure JSDoc

TypeScript to Reason

TypeScript to Dart

TypeScript to Kotlin

Flow

Flow to TypeScript

See also:

Flow to Reason

Flow to Closure JSDoc

  • 😢 no options here

Who needs it:

Flow to Prepack

Flow to JSON Schema

Flow to PropTypes

GraphQL

GraphQL to TypeScript

See also:

GraphQL to Flow

GraphQL to JSON Schema

GraphQL to Elm

GraphQL to Reason

JSON Schema

JSON Schema to TypeScript

JSON Schema to Flow

JSON Schema to Graphql

JSON Schema to Elm

JSON Schema to gRPC

JSON Schema to SQL

OpenAPI

OpenAPI to TypeScript

Swagger to TypeScript

Swagger to Flow

Elm

Elm to TypeScript

JSDoc

JSDoc to Flow

JSDoc to TypeScript

TypeScript JSDoc to TypeScript

Who needs it:

Closure JSDoc to TypeScript

JSDoc flavours

See also:

JSON

JSON to TypeScript

JSON to Flow

JSON to Graphql

JSON to PropTypes

JSON to Elm

JSON to Scala

I suppose this can be used for Scala.js.

JSON to JSON Schema

JSON to Reason

Reason

Reason to TypeScript

Reason to Flow

PureScript

PureScript to TypeScript

PureScript to Flow

JavaScript

Status of Static Typing in ECMAScript

JavaScript to TypeScript

JavaScript to Flow

JavaScript to Reason

PropTypes

PropTypes to TypeScript

JSX to TypeScript

PropTypes to Flow

CSS Modules

CSS Modules to TypeScript

CSS Modules to Flow

gRPC

gRPC to TypeScript

gRPC to Flow

gRPC to GraphQL

gRPC to JSON Schema

gRPC to Elm

gRPC to SQL

gRPC to Scala

Thrift

Thrift to Typescript

SQL

SQL to Typescript

SQL to Flow

SQL to GraphQL

SQL to gRPC

WebIDL

https://developer.microsoft.com/en-us/microsoft-edge/platform/catalog/ - checkout "Visualization" tab.

WebIDL to TypeScript

WebIDL to Flow

Go

Go to TypeScript

Go to Flow

Kotlin

Kotlin to TypeScript

Runtime types to static types

Runtime type system

Why do you need Runtime and Static type system together? See this discussion.

Compatible with TypeScript

  • ts-runtime - TypeScript Runtime Type Checks Playground
  • io-ts - TypeScript compatible runtime type system for IO validation

Compatible with Flow

  • flow-runtime - Flow-compatible runtime type system for JavaScript.
  • flow-io - (deprecated) Flow compatible runtime type system for IO validation

Incompatible with existing static type systems

  • React PropTypes
  • tcomb - Type checking and DDD for JavaScript
  • hm-def - Runtime type checking for JS with Hindley Milner signatures
  • ftor - ftor enables ML-like type-directed, functional programming with Javascript including reasonable debugging
  • sanctuary-def - Run-time type system for JavaScript. See also sanctuary#254
  • rfx - Self documenting runtime interfaces.
  • rtype - Intuitive structural type notation for JavaScript.

See also:

Property based testing

Testing with TypeScript

Testing with Flow

Incompatible with existing static type systems

Testing with Elm

Testing with Reason

Testing with PureScript

Languages that compile to JS

(And not mentioned above)

See also:

Schemas

type-o-rama's People

Contributors

bcherny avatar coobaha avatar stearm avatar stereobooster avatar urigo avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

type-o-rama's Issues

Sad state of Flow tooling

  • there are no decoder generators 📦, like for Elm Json.Decoders or TypeScript proxies. UPD tried to use io-ts for this, but starting from version 1.0 io-ts dropped Flow support
  • flow-typed install is frustrating
  • workflow around creating signatures is frustrating. You can generate definitions with flow gen-flow-files or flow-typed create-stub or you can create dinitions from TypeScript with flowgen, but it is so much effort to donate those signatures to flow-typed repo
  • type errors can be really obscure and give no clue about what is wrong. Examples of how it supposed to be: BetterErrors for Reason or Elm
  • there is no tool which can convert Flow signatures to Closure JSDoc to use in Google Closure Compiler with advanced mode
  • For type definitions distributed with packages to be picked up automatically, you need to include node_modules in analysis, which makes process painfully slow.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.