nowfound

Life & fun · January 19, 2017

GT

Generate TypeScript Types from JSON Samples

Generate TypeScript Types from JSON Samples launched on January 19, 2017 with 5 votes and more than 50% of that year's launches. The site was still online in September 2026, 9 years on.

What it does

MakeTypes generates TypeScript classes that parse and typecheck JSON objects at runtime, and let you statically type check code that interacts with JSON objects. All it requires is a set of JSON samples. Want to run MakeTypes as part of a build process? npm i -g maketypes installs the command line tool maketypes . Use these if you want to statically type check interactions with JSON objects without runtime type checks. Use these if you want to statically type check interactions with JSON objects with runtime type checks. Proxy classes generated with MakeTypes will parse your JSON and check that it matches the expected type at runtime . Proxy objects generated with MakeTypes are expressed as…from jvilk.com

Does a similar job

all alternatives →
  • Types Generator2022 · vineethtrv.github.io · ▲61

    Types generator will auto generate TS Interfaces from JSON

  • quicktype2018 · quicktype.io · ▲88

    Generate beautiful, typesafe code from data

  • JSON Generator2014 · json-generator.com · ▲139

    Create mock and sample JSON using a powerful template syntax

  • JSON to TypeScript Generator2023 · json-5.com · ▲6

    Convert JSON Data to TypeScript Interface Automatically

  • An opinionated and statically-typed TypeScript SDK generator2022 · easysdk.xyz · ▲81

    Hi Hacker News! My name is Sagar, I’m working on a startup called Speakeasy - we’re making all APIs self-service. The platform is currently in beta, but we’re independently launching this tool which you can use to generate language-idiomatic, statically-typed TS SDKs from any public OpenAPI schemas. We hope to continue iterating on this to give devs a way to easily generate high fidelity client SDKs for all the major languages. Inspiration for this product is from past experiences struggling with OpenAPI. I was originally optimistic about using the OpenAPI tools to build out our offering,…

  • GJ
    Generate JSON mock data for testing/initial app development2023 · jsongenerator.io · ▲103

    Easily create complex JSON data structures using intuitive templates.

More life & fun this month

the category →

Source: Show HN post ↗

Launched alongside, January 2017

the whole month →