Skip to content

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

License

Notifications You must be signed in to change notification settings

michelefenu/json2interface

Repository files navigation

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