TinyTypeGen 1.0.0.85-alpha
See the version list below for details.
dotnet add package TinyTypeGen --version 1.0.0.85-alpha
NuGet\Install-Package TinyTypeGen -Version 1.0.0.85-alpha
<PackageReference Include="TinyTypeGen" Version="1.0.0.85-alpha" />
<PackageVersion Include="TinyTypeGen" Version="1.0.0.85-alpha" />
<PackageReference Include="TinyTypeGen" />
paket add TinyTypeGen --version 1.0.0.85-alpha
#r "nuget: TinyTypeGen, 1.0.0.85-alpha"
#:package TinyTypeGen@1.0.0.85-alpha
#addin nuget:?package=TinyTypeGen&version=1.0.0.85-alpha&prerelease
#tool nuget:?package=TinyTypeGen&version=1.0.0.85-alpha&prerelease
TinyTypeGen
This library can generate TypeScript types for C# and F# types or more precisely for their corresponding JSON serialized data. Thus it can be used in JavaScript/TypeScript clients to have a strongly typed interface to a dotnet backend.
F# types like records (including anonymous records) and unions as well as F# collections like list<'T>, Map<'T> and Set<'T> are supported.
Get started
dotnet add package TinyTypeGen --version 1.0.0.21-alpha
var builder = new TinyTypeGen.GeneratorBuilder();
builder.AddTypes([typeof(FSharpResult<,>), typeof(MyType)])
builder.AddEndpoints(MyModule.endpoints);
var generator = builder.Build();
generator.RenderTypesToDirectory("../my-client/src/client/");
generator.RenderApiToFile("../my-client/src/client/api.ts");
todo remove/ignore
System Type IntPtr RuntimeFieldHandle RuntimeTypeHandle ModuleHandle
System.Security System.Runtime.InteropServices System.Reflection AspNetCore Mvc AspNetCore Http
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net8.0 is compatible. 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. |
-
net8.0
- FSharp.Core (>= 8.0.100)
- FSharp.SystemTextJson (>= 1.2.42)
NuGet packages (4)
Showing the top 4 NuGet packages that depend on TinyTypeGen:
| Package | Downloads |
|---|---|
|
TinyTypeGen.Giraffe
Package Description |
|
|
TinyTypeGen.AspNetCore
Package Description |
|
|
TinyTypeGen.NodaTime
Package Description |
|
|
TinyTypeGen.SignalR
Package Description |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 1.0.0.188-alpha | 105 | 2/25/2026 |
| 1.0.0.185-alpha | 118 | 1/25/2026 |
| 1.0.0.171-alpha | 113 | 1/22/2026 |
| 1.0.0.168-alpha | 120 | 1/19/2026 |
| 1.0.0.88-alpha | 208 | 2/16/2025 |
| 1.0.0.87-alpha | 170 | 1/27/2025 |
| 1.0.0.86-alpha | 174 | 1/23/2025 |
| 1.0.0.85-alpha | 185 | 1/23/2025 |
| 1.0.0.84-alpha | 191 | 1/23/2025 |
| 1.0.0.83-alpha | 188 | 1/23/2025 |
| 1.0.0.80-alpha | 183 | 1/23/2025 |
| 1.0.0.79-alpha | 167 | 1/23/2025 |
| 1.0.0.78-alpha | 171 | 1/22/2025 |
| 1.0.0.76-alpha | 175 | 1/22/2025 |
| 1.0.0.72-alpha | 170 | 1/22/2025 |
| 1.0.0.71-alpha | 216 | 12/10/2024 |
| 1.0.0.70-alpha | 188 | 12/9/2024 |
| 1.0.0.69-alpha | 187 | 12/8/2024 |
| 1.0.0.68-alpha | 176 | 12/8/2024 |
| 0.15.0 | 1,300 | 5/22/2024 |