https://github.com/ivanjosipovic/tsdparser
C# TypeScript Definition Parser
https://github.com/ivanjosipovic/tsdparser
definition parser typescript
Last synced: about 1 year ago
JSON representation
C# TypeScript Definition Parser
- Host: GitHub
- URL: https://github.com/ivanjosipovic/tsdparser
- Owner: IvanJosipovic
- License: mit
- Archived: true
- Created: 2023-08-25T20:59:07.000Z (almost 3 years ago)
- Default Branch: alpha
- Last Pushed: 2024-07-10T00:09:25.000Z (almost 2 years ago)
- Last Synced: 2025-03-19T21:09:20.079Z (about 1 year ago)
- Topics: definition, parser, typescript
- Language: C#
- Homepage:
- Size: 2.82 MB
- Stars: 3
- Watchers: 2
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
# TSDParser
[](https://www.nuget.org/packages/TSDParser)
[](https://www.nuget.org/packages/TSDParser)
[](https://codecov.io/gh/IvanJosipovic/TSDParser)
## 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
```cshrap
var parsed = await TSDParser.ParseDefinition("""
/**
* interface comment
*/
export interface Test1 {
/**
* prop comment
*/
prop: string;
method(): void;
}
""");
```