/json2ts

Convert a JSON to TypeScript interfaces.

Primary LanguageTypeScriptMIT LicenseMIT

json2ts

JSON对象转化为TypeScript interfaces.

fork from json2ts

安装

npm install @wenonly/json2ts

使用

在Node.js中使用:

let json2ts = require("json2ts");
let result = json2ts.convert(jsonContent);