Skip to content
This repository has been archived by the owner on Aug 13, 2024. It is now read-only.

snowplow-archive/json-schema-to-ts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

JSON Schema to TS

License

Convert JSON Schema files to TypeScript interfaces

How to use

Tested on Node.js (10, 12 or 14 LTS)

  • Run npm install
  • Add your JSON Schemas to the input folder
  • Run npm start or node index.js
  • Your TypeScript interfaces will be in the output folder

Credits

Uses the json-schema-to-typescript npm package.

Copyright and license

JSON Schema to TS is copyright 2021 Snowplow Analytics Ltd.

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this software except in compliance with the License.

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

About

Convert JSON Schema files to TypeScript interfaces

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published