@ifit/json-schema-tools
v0.1.0
Published
> TODO: description
Downloads
17
Maintainers
Keywords
Readme
@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);
});