TypeScriptModelsGenerator 1.0.9
See the version list below for details.
dotnet add package TypeScriptModelsGenerator --version 1.0.9
NuGet\Install-Package TypeScriptModelsGenerator -Version 1.0.9
<PackageReference Include="TypeScriptModelsGenerator" Version="1.0.9" />
<PackageVersion Include="TypeScriptModelsGenerator" Version="1.0.9" />
<PackageReference Include="TypeScriptModelsGenerator" />
paket add TypeScriptModelsGenerator --version 1.0.9
#r "nuget: TypeScriptModelsGenerator, 1.0.9"
#:package TypeScriptModelsGenerator@1.0.9
#addin nuget:?package=TypeScriptModelsGenerator&version=1.0.9
#tool nuget:?package=TypeScriptModelsGenerator&version=1.0.9
Example usage:
var sourceAssembly = typeof(MyApp.Startup).Assembly;
var directoryInfo = new DirectoryInfo(destinationDirectoryPath);
TypeScriptModelsGeneration
.Setup(sourceAssembly, directoryInfo)
.Options((options)=>
{
options.Log = Console.WriteLine;
options.AddTypeMatchRule("Model$", string.Empty);
options.AddNamespaceReplaceRule("MyApp", string.Empty);
})
.Execute();
Use TypeScriptModelsGeneration.Setup(sourceAssemblyPath destinationDirectoryPath) to enable 'Watch' option.
Support for system types (also as nullable)
string
int
uint
bool
byte[]
long
ulong
float
short
ushort
byte
sbyte
char
DateTime
Guid
decimal
double
Support for collections (T as generic, system type, collection or custom type)
ICollection<T>
IEnumerable<T>
IList<T>
List<T>
Array
Dictionary<T1,T2>
Support for custom types
(abstract) class
interface
enum
Support for generics: in most cases it should just work.
- Known issue: circular referenced generic arguments throws StackOverFlowException
| 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 | netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
| .NET Standard | netstandard2.0 is compatible. netstandard2.1 was computed. |
| .NET Framework | net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
| MonoAndroid | monoandroid was computed. |
| MonoMac | monomac was computed. |
| MonoTouch | monotouch was computed. |
| Tizen | tizen40 was computed. tizen60 was computed. |
| Xamarin.iOS | xamarinios was computed. |
| Xamarin.Mac | xamarinmac was computed. |
| Xamarin.TVOS | xamarintvos was computed. |
| Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETStandard 2.0
- Microsoft.Extensions.DependencyInjection (>= 2.1.1)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on TypeScriptModelsGenerator:
| Package | Downloads |
|---|---|
|
TypeScriptModelsGenerator.HttpServices
Convert types to TypeScript http services. |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 1.2.1 | 11,331 | 10/27/2022 |
| 1.2.0 | 18,790 | 1/9/2021 |
| 1.1.10 | 1,044 | 11/8/2020 |
| 1.1.9 | 4,451 | 4/10/2020 |
| 1.1.8 | 898 | 4/2/2020 |
| 1.1.7 | 850 | 3/5/2020 |
| 1.1.6 | 1,079 | 1/11/2020 |
| 1.1.5 | 956 | 10/28/2019 |
| 1.1.4 | 12,840 | 7/17/2019 |
| 1.1.3 | 752 | 6/10/2019 |
| 1.1.2 | 947 | 5/22/2019 |
| 1.1.1 | 1,717 | 1/24/2019 |
| 1.1.0 | 1,252 | 1/5/2019 |
| 1.0.12 | 891 | 12/21/2018 |
| 1.0.9 | 1,346 | 10/28/2018 |
| 1.0.8 | 1,088 | 9/18/2018 |
| 1.0.7 | 984 | 8/31/2018 |
| 1.0.6 | 1,092 | 8/14/2018 |
| 1.0.4 | 1,632 | 4/17/2018 |
| 1.0.3 | 1,613 | 3/30/2018 |
| 1.0.2 | 1,735 | 3/23/2018 |
| 1.0.1 | 1,506 | 3/19/2018 |
| 1.0.0 | 1,496 | 2/3/2018 |
* Improved imports for System types. * Added extension method Options.
* Added CleanDestination option. * Added FileWriteMode.OnlyNew option. * Added verbose logging option.