JavaScript Engine Switcher determines unified interface for access to the basic features of popular JavaScript engines (ChakraCore, Jint, Jurassic, MSIE JavaScript Engine for .NET, NiL.JS, Jering.Javascript.NodeJS, Microsoft ClearScript.V8, VroomJs and YantraJS). This library allows you to quickly and easily switch to using of another JavaScript engine.
The supported .NET types are as follows:
JavaScriptEngineSwitcher.Core.Undefined
System.Boolean
System.Int32
System.Double
System.String
This library can be installed through NuGet:
- JS Engine Switcher: Core (supports .NET Framework 4.0 Client, .NET Framework 4.5, .NET Standard 1.3 and .NET Standard 2.0)
- JS Engine Switcher: MS Dependency Injection (supports .NET Framework 4.5, .NET Standard 1.3 and .NET Standard 2.0)
- JS Engine Switcher: ChakraCore (supports .NET Framework 4.0 Client, .NET Framework 4.5, .NET Framework 4.7.1, .NET Standard 1.3, .NET Standard 2.0 and .NET Standard 2.1)
- JS Engine Switcher: Jint (supports .NET Framework 4.6.2, .NET Standard 2.0, .NET Standard 2.1, .NET 6 and .NET 8)
- JS Engine Switcher: Jurassic (supports .NET Framework 4.0 Client, .NET Framework 4.5 and .NET Standard 2.0)
- JS Engine Switcher: MSIE (supports .NET Framework 4.0 Client, .NET Framework 4.5, .NET Standard 1.3 and .NET Standard 2.0)
- JS Engine Switcher: NiL (supports .NET Framework 4.6.1, .NET Framework 4.8, .NET Core App 3.1, .NET 5.0, .NET 6 and .NET 7)
- JS Engine Switcher: Node (supports .NET Framework 4.6.1, .NET Standard 2.0, .NET Core App 3.1, .NET 5.0, .NET 6 and .NET 7)
- JS Engine Switcher: V8 (supports .NET Framework 4.5, .NET Framework 4.7.1, .NET Standard 2.1, .NET Core App 3.1 and .NET 5.0)
- Microsoft ClearScript.V8 for Windows (x86)
- Microsoft ClearScript.V8 for Windows (x64)
- Microsoft ClearScript.V8 for Windows (ARM64)
- Microsoft ClearScript.V8 for Linux (x64)
- Microsoft ClearScript.V8 for Linux (ARM)
- Microsoft ClearScript.V8 for Linux (ARM64)
- Microsoft ClearScript.V8 for OS X (x64)
- Microsoft ClearScript.V8 for OS X (ARM64)
- JS Engine Switcher: Vroom (supports .NET Framework 4.0 Client, .NET Framework 4.5, .NET Framework 4.7.1, .NET Standard 1.6 and .NET Standard 2.0)
- JS Engine Switcher: Yantra (supports .NET Standard 2.0 and .NET Standard 2.1)
If you have used the JavaScript Engine Switcher version 2.X, then I recommend to first read βHow to upgrade applications to version 3.Xβ section of the documentation.
Documentation is located on the wiki of this Repo.
See the changelog.
If you use the JavaScript Engine Switcher in some project, please send me a message so I can include it in this list:
- AbundantMusic.NET by Connor Schmidt
- Autoprefixer Host for .NET by Andrey Taritsyn
- Bundle Transformer by Andrey Taritsyn
- Cruncher by James South
- Dart Sass Host for .NET by Andrey Taritsyn
- E.F.F.C JavaScriptEngineSwitcher Extention Lib by ItTrending
- GFMParserSample.Net
- JSPool by Daniel Lo Nigro
- ProteanCMS by Trevor Spink
- QSI
- ReactJS.NET by Daniel Lo Nigro
- SSR.Net
- Statiq Framework (formerly known as Wyam)
- T1.Scripts
- VIEApps.Services.Base
- YouTubeStreamsExtractor
- zxcvbn.net by Darcy Thomas