Bundle Transformer: TypeScript NuGet Package

BundleTransformer.TypeScript contains one translator-adapter - `TypeScriptTranslator` (supports the TypeScript (https://www.typescriptlang.org) version 5.3.3).

This adapter makes translation of TypeScript code to JS code. Also contains the `TypeScriptAssetHandler` debugging HTTP handler, which is responsible for text output of translated TypeScript asset.

BundleTransformer.TypeScript does not support external modules (CommonJS, AMD, SystemJS, UMD and ES6 modules).

As a JS engine is used the JavaScript Engine Switcher library (https://github.com/Taritsyn/JavaScriptEngineSwitcher).

For correct working of this module, you need to install one of the following NuGet packages:

* JavaScriptEngineSwitcher.ChakraCore
* JavaScriptEngineSwitcher.Jint
* JavaScriptEngineSwitcher.Msie
* JavaScriptEngineSwitcher.V8

After installing the packages, you will need to register the default JS engine (https://github.com/Taritsyn/JavaScriptEngineSwitcher/wiki/Registration-of-JS-engines).




Got any Bundle Transformer: TypeScript Question?





Info

Version: 1.13.16
Author(s): Andrey Taritsyn
Last Update: Wednesday, January 10, 2024
.NET Fiddle: Create the first Fiddle
Project Url: https://github.com/Taritsyn/BundleTransformer
NuGet Url: https://www.nuget.org/packages/BundleTransformer.TypeScript


Install
Install-Package BundleTransformer.TypeScript
dotnet add package BundleTransformer.TypeScript
paket add BundleTransformer.TypeScript
BundleTransformer.TypeScript Download (Unzip the "nupkg" after downloading)



Tags



STATS

must-have-score

3.9

avg-downloads-per-day

69

days-since-last-release

107