@junaidatari/json2ts
Version:
Convert JSON objects to TypeScript interfaces automatically.
17 lines (16 loc) • 781 B
TypeScript
/**
* @fileoverview This module provides the main converter classes for transforming JSON data into TypeScript interfaces.
* It includes both standard and flattened interface generation capabilities, along with utility functions
* and type definitions for the conversion process.
*
* @author Junaid Atari <mj.atari@gmail.com>
* @copyright 2025 Junaid Atari
* @see https://github.com/blacksmoke26
*
* @module JsonConverters
*/
import JsonToTsConverter from './classes/JsonToTsConverter';
import JsonToFlattenedTsConverter from './classes/JsonToFlattenedTsConverter';
import ConverterUtils from './utils/ConverterUtils';
export type { ExportType, ConvertOptions, CaseType } from './typings/global';
export { JsonToFlattenedTsConverter, JsonToTsConverter, ConverterUtils };