TypeScriptParser 0.0.6.20
There is a newer version of this package available.
See the version list below for details.
See the version list below for details.
dotnet add package TypeScriptParser --version 0.0.6.20
NuGet\Install-Package TypeScriptParser -Version 0.0.6.20
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="TypeScriptParser" Version="0.0.6.20" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="TypeScriptParser" Version="0.0.6.20" />
<PackageReference Include="TypeScriptParser" />
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add TypeScriptParser --version 0.0.6.20
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: TypeScriptParser, 0.0.6.20"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package TypeScriptParser@0.0.6.20
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=TypeScriptParser&version=0.0.6.20
#tool nuget:?package=TypeScriptParser&version=0.0.6.20
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
TypeScript Parser
基于Tree-sitter的TypeScript解析器 - .NET绑定
快速开始
# 1. 构建native库
(cd tree-sitter/ && make clean && make)
# 2. 复制运行时文件
RID=$(dotnet --info | grep "RID:" | awk '{print $2}')
mkdir -p TypeScriptParser.Native/runtimes/$RID/native
cp -r tree-sitter/dist/* TypeScriptParser.Native/runtimes/$RID/native/
# 3. 构建和测试
dotnet restore
dotnet build -c Release
dotnet test --configuration Release
# 4. 打包NuGet包
dotnet pack -c Release -o ./artifacts
项目结构
TypeScriptParser/- 主要的.NET绑定库TypeScriptParser.Native/- 跨平台Native库包TypeScriptParser.Tests/- 单元测试
开发指南
Debug模式构建
dotnet build -c Debug
dotnet test --configuration Debug
支持平台
- Linux x64
- macOS ARM64
- Windows x64
CI/CD流程
开发流程
- 创建功能分支
- 提交Pull Request → 自动构建测试
- 合并到main分支
发布流程
- 创建版本标签:
git tag v1.2.0 && git push origin v1.2.0 - 自动构建测试发布到NuGet.org
- 版本号格式:
1.2.0.{构建号}
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
| .NET Core | netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
| .NET Standard | netstandard2.1 is compatible. |
| MonoAndroid | monoandroid was computed. |
| MonoMac | monomac was computed. |
| MonoTouch | monotouch was computed. |
| Tizen | tizen60 was computed. |
| Xamarin.iOS | xamarinios was computed. |
| Xamarin.Mac | xamarinmac was computed. |
| Xamarin.TVOS | xamarintvos was computed. |
| Xamarin.WatchOS | xamarinwatchos was computed. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
.NETStandard 2.1
- TypeScriptParser.Native (>= 0.0.6.20)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 0.4.2.39 | 872 | 8/27/2025 |
| 0.3.3.37 | 244 | 8/27/2025 |
| 0.3.2.36 | 239 | 8/27/2025 |
| 0.3.1.35 | 236 | 8/27/2025 |
| 0.2.9.32 | 261 | 8/26/2025 |
| 0.2.8.31 | 262 | 8/26/2025 |
| 0.2.5.30 | 223 | 8/25/2025 |
| 0.2.4.29 | 210 | 8/25/2025 |
| 0.2.2.28 | 208 | 8/25/2025 |
| 0.1.1.26 | 260 | 8/24/2025 |
| 0.0.9.25 | 247 | 8/24/2025 |
| 0.0.8.24 | 252 | 8/24/2025 |
| 0.0.7.21 | 216 | 8/24/2025 |
| 0.0.6.20 | 215 | 8/24/2025 |
| 0.0.4.19 | 146 | 8/24/2025 |
| 0.0.3.18 | 147 | 8/24/2025 |
| 0.0.2.16 | 209 | 8/24/2025 |
基于Tree-sitter的TypeScript解析器 - 支持跨平台Native库自动管理