Skip to content
This repository has been archived by the owner on Jul 10, 2024. It is now read-only.

IvanJosipovic/TSDParser

Repository files navigation

TSDParser

Nuget Nuget) codecov

What is this?

This project uses Node.JS and returns a C# representation of the TypeScript Abstract Syntax Tree

Requirements

Node.JS must be installed for this library to work.

How to use

var parsed = await TSDParser.ParseDefinition("""
/**
* interface comment
*/
export interface Test1 {
    /**
    * prop comment
    */
    prop: string;
    method(): void;
}
""");