Skip to content

Latest commit

 

History

History
16 lines (12 loc) · 564 Bytes

README.md

File metadata and controls

16 lines (12 loc) · 564 Bytes

JavaScript Style Guide Node.js Package

JSON to TypeScript Interface

A zero-dependencies package to generate TypeScript interfaces from JSON data

Installation

npm install json2interface

Usage

const json2interface = require('json2interface')
const interface = json2interface.generate(A_VALID_JSON)

Contributing

Issues and pull requests are always welcome