@ifit/json-schema-tools
TypeScript icon, indicating that this package has built-in type declarations

0.1.0 • Public • Published

@ifit/json-schema-tools

This package provides tools for generating TypeScript code from JSON schemas.

Usage

const { TypescriptGenerator } = require("@ifit/json-schema-tools");

const generator = new TypescriptGenerator();

const schema = {
  // Your JSON schema here
};

generator
  .generate(schema)
  .then((typescriptCode) => {
    console.log("Generated TypeScript code:", typescriptCode);
  })
  .catch((error) => {
    console.error("Error generating TypeScript code:", error);
  });

Readme

Keywords

none

Package Sidebar

Install

npm i @ifit/json-schema-tools

Weekly Downloads

9

Version

0.1.0

License

ISC

Unpacked Size

9.25 kB

Total Files

6

Last publish

Collaborators

  • eduard_tatarenko
  • pavlo2012
  • arml
  • jaredap1995
  • oleksandr1337
  • vladpanchuk
  • talleman-ifit
  • bikersteveifit
  • yevhen.mikitin
  • damiengallagher
  • elainedev
  • abderrahim_hellaci
  • bkifit
  • bryan.may
  • faheem.bhuj
  • caleb.berman
  • andrii.pruchai
  • davidrodriguez085
  • williamt-ifit
  • devon-conn
  • mikelundinifit
  • bao.luong
  • taha-khan-abdalli
  • igor_novikov
  • zhongwei1208
  • ifit.perassi
  • haseebifit
  • tomwileyifit
  • tanzeel.rehman.19901223
  • niall-mahford
  • lamini
  • jamesmerrill
  • jkingifit
  • shashank_ifit
  • mahjongg
  • peter.ifit.com
  • jandersen
  • junchaoz
  • aaronl
  • cbrammer
  • michelle.bowser
  • robertleeplummerjr
  • mojojoejoe
  • ifitshared
  • rkaneda9
  • joekuhn
  • mark-archer
  • tdfacer
  • joshifit
  • yodafred
  • jonb-ifit
  • sm-npm
  • weaster-ifit
  • wesleyf
  • donj
  • phild
  • dawsontoth
  • michaelh-ifit
  • matthewpthomas
  • 32graham
  • jcalmonte
  • jeffy-ifit
  • xbladex
  • timtifit
  • melissawirtz
  • khaifit
  • jackswan
  • mcurcio
  • scottstav
  • emiifont
  • brandonifit
  • ericventor
  • talleman