Skip to content

TypeScript d.ts file generate from JSON Schema file

Notifications You must be signed in to change notification settings

ShopStyle/dtsgenerator

 
 

Repository files navigation

#dtsgenerator

NPM version Build Status Coverage Status

TypeScript d.ts file generator for JSON Schema file

Install

npm install -g dtsgenerator

Usage

$ dtsgen --help

  Usage: dtsgen [options] <file ... | file patterns using node-glob>

  Options:

    -h, --help        output usage information
    -V, --version     output the version number
    -o, --out [file]  output d.ts filename

Example

dtsgen --out types.d.ts schema1.json schema2.json
dtsgen --out types.d.ts schema/**/*.schema.json

About

TypeScript d.ts file generate from JSON Schema file

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • TypeScript 87.5%
  • JavaScript 12.5%