Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Convert TypeScript Interfaces (in code) to JSON-Schemata
JavaScript
branch: master

Merge pull request #2 from vorburger/patch-1

link vorburger/eclipse-typescript-xtext and lbovet/wtype
latest commit 53f9d0064b
@ysangkok authored
Failed to load latest commit information.
README.md Update README.md
convert.ts make it compile with current git. still have to figure out the new AST
example.ts add integration
ifacejson.js make it compile with current git. still have to figure out the new AST
ifacejsonjsproxy.js
test.nodeunit.js add integration

README.md

To run

  1. sudo npm install -g typescript (if you havn't already)
  2. sudo npm install -g JSV (needed for validation)
  3. git clone https://git01.codeplex.com/typescript
  4. tsc --out ifacejson.js typescript/src/compiler/parser.ts convert.ts
  5. tsc example.ts
  6. node example.js

A similar converter from TypeScript to JSON Schema, implemented in Java instead of JS, can be found on https://github.com/vorburger/eclipse-typescript-xtext + https://github.com/lbovet/wtype.

Something went wrong with that request. Please try again.