Microsoft.ClearScript.V8
7.4.1
Prefix Reserved
See the version list below for details.
Requires NuGet 4.9.0 or higher.
dotnet add package Microsoft.ClearScript.V8 --version 7.4.1
NuGet\Install-Package Microsoft.ClearScript.V8 -Version 7.4.1
<PackageReference Include="Microsoft.ClearScript.V8" Version="7.4.1" />
paket add Microsoft.ClearScript.V8 --version 7.4.1
#r "nuget: Microsoft.ClearScript.V8, 7.4.1"
// Install Microsoft.ClearScript.V8 as a Cake Addin #addin nuget:?package=Microsoft.ClearScript.V8&version=7.4.1 // Install Microsoft.ClearScript.V8 as a Cake Tool #tool nuget:?package=Microsoft.ClearScript.V8&version=7.4.1
Description
ClearScript is a library that makes it easy to add scripting to your .NET applications. It currently supports JavaScript (via V8 and JScript) and VBScript.
Features
- Simple usage; create a script engine, add your objects and/or types, run scripts
- Support for several script engines: Google's V8, Microsoft's JScript and VBScript
- Exposed resources require no modification, decoration, or special coding of any kind
- Scripts get simple access to most of the features of exposed objects and types:
- Methods, properties, fields, events
- (Objects) Indexers, extension methods, conversion operators, explicitly implemented interfaces
- (Types) Constructors, nested types
- Full support for generic types and methods, including C#-like type inference and explicit type arguments
- Exposed .NET collections support native script iteration mechanisms:
- Scripts can invoke methods with output parameters, optional parameters, and parameter arrays
- Script delegates enable callbacks into script code
- Support for exposing all the types defined in one or more assemblies in one step
- Optional support for importing types and assemblies from script code
- The host can invoke script functions and access script objects directly
- Full support for script debugging
- Support for fast data transfer to and from JavaScript typed arrays
- Support for JavaScript modules
- Support for CommonJS modules
- Automatic conversion between .NET
BigInteger
and JavaScriptBigInt
. - Optional automatic conversion between .NET
DateTime
and JavaScriptDate
. - Optional automatic conversion between .NET tasks and JavaScript promises.
- Support for .NET 5.0+, .NET Framework 4.5+, .NET Core 3.1, and .NET Standard 2.1.
- Support for Windows (x86/x64/arm64), Linux (x64/arm/arm64), and macOS (x64/arm64).
Installation
Composite packages
Everything you need for one platform.
Platform | Packages |
---|---|
Windows | |
Linux | |
macOS |
Component packages
Cross-platform libraries and data.
Component | Packages |
---|---|
Core | |
JScript/VBScript | |
V8 |
V8 native assembly packages
Platform-specific V8 libraries.
Platform | Packages |
---|---|
Windows | |
Linux | |
macOS |
Documentation
Acknowledgments
We'd like to thank:
- The V8 team.
- The Jekyll team.
- Kenneth Reitz for generously providing the
Httpbin
service. - Michael Rose for generously providing the So Simple Jekyll theme.
- Toptal for generously providing the Toptal JavaScript Minifier.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 is compatible. 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. |
.NET Core | netcoreapp3.0 was computed. netcoreapp3.1 is compatible. |
.NET Standard | netstandard2.1 is compatible. |
.NET Framework | net45 is compatible. net451 was computed. net452 was computed. net46 was computed. net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 is compatible. net472 was computed. net48 was computed. net481 was computed. |
MonoAndroid | monoandroid was computed. |
MonoMac | monomac was computed. |
MonoTouch | monotouch was computed. |
Tizen | tizen60 was computed. |
Universal Windows Platform | uap was computed. uap10.0 is compatible. |
Xamarin.iOS | xamarinios was computed. |
Xamarin.Mac | xamarinmac was computed. |
Xamarin.TVOS | xamarintvos was computed. |
Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETCoreApp 3.1
- Microsoft.ClearScript.Core (>= 7.4.1)
- Microsoft.ClearScript.V8.ICUData (>= 7.4.1)
- Newtonsoft.Json (>= 13.0.1)
-
.NETFramework 4.5
- Microsoft.ClearScript.Core (>= 7.4.1)
- Microsoft.ClearScript.V8.ICUData (>= 7.4.1)
- Newtonsoft.Json (>= 13.0.1)
- System.Runtime.InteropServices.RuntimeInformation (>= 4.3.0)
- System.ValueTuple (>= 4.5.0)
-
.NETFramework 4.7.1
- Microsoft.ClearScript.Core (>= 7.4.1)
- Microsoft.ClearScript.V8.ICUData (>= 7.4.1)
- Newtonsoft.Json (>= 13.0.1)
-
.NETStandard 2.1
- Microsoft.ClearScript.Core (>= 7.4.1)
- Microsoft.ClearScript.V8.ICUData (>= 7.4.1)
- Newtonsoft.Json (>= 13.0.1)
-
net5.0
- Microsoft.ClearScript.Core (>= 7.4.1)
- Microsoft.ClearScript.V8.ICUData (>= 7.4.1)
- Newtonsoft.Json (>= 13.0.1)
-
UAP 10.0
- Microsoft.ClearScript.Core (>= 7.4.1)
- Microsoft.ClearScript.V8.ICUData (>= 7.4.1)
- Newtonsoft.Json (>= 13.0.1)
NuGet packages (26)
Showing the top 5 NuGet packages that depend on Microsoft.ClearScript.V8:
Package | Downloads |
---|---|
JavaScriptEngineSwitcher.V8
JavaScriptEngineSwitcher.V8 contains a `V8JsEngine` adapter (wrapper for the Microsoft ClearScript.V8). |
|
Microsoft.ClearScript
A library for adding scripting to .NET applications on Windows (x86/x64). Supports JavaScript (via V8 and JScript) and VBScript. |
|
Microsoft.ClearScript.linux-x64
A library for adding scripting to .NET applications on Linux (x64). Supports JavaScript via V8. |
|
Take.Blip.Builder
Package Description |
|
KR.Core
Package Description |
GitHub repositories (8)
Showing the top 5 popular GitHub repositories that depend on Microsoft.ClearScript.V8:
Repository | Stars |
---|---|
babalae/better-genshin-impact
📦BetterGI · 更好的原神 - 自动拾取 | 自动剧情 | 全自动钓鱼(AI) | 全自动七圣召唤 | 自动伐木 | 自动刷本 | 自动采集 - UI Automation Testing Tools For Genshin Impact
|
|
NethermindEth/nethermind
A robust execution client for Ethereum node operators.
|
|
smartstore/Smartstore
A modular, scalable and ultra-fast open-source all-in-one eCommerce platform built on ASP.NET Core 7
|
|
WolvenKit/WolvenKit
Community Mod editor/creator for REDengine games.
|
|
Taritsyn/JavaScriptEngineSwitcher
JavaScript Engine Switcher determines unified interface for access to the basic features of popular JavaScript engines. This library allows you to quickly and easily switch to using of another JavaScript engine.
|
Version | Downloads | Last updated |
---|---|---|
7.4.5 | 461,710 | 3/25/2024 |
7.4.4 | 541,922 | 10/17/2023 |
7.4.3 | 258,164 | 8/19/2023 |
7.4.2 | 186,009 | 6/1/2023 |
7.4.1 | 307,001 | 4/8/2023 |
7.4.0 | 39,508 | 3/9/2023 |
7.3.7 | 186,361 | 1/23/2023 |
7.3.6 | 82,748 | 12/20/2022 |
7.3.5 | 55,475 | 11/12/2022 |
7.3.4 | 175,056 | 9/29/2022 |
7.3.3 | 4,907 | 9/28/2022 |
7.3.2 | 26,595 | 9/15/2022 |
7.3.1 | 366,410 | 6/29/2022 |
7.3.0 | 50,025 | 6/2/2022 |
7.2.5 | 89,072 | 5/1/2022 |
7.2.4 | 65,113 | 3/30/2022 |
7.2.3 | 58,262 | 3/5/2022 |
7.2.2 | 87,120 | 2/6/2022 |
7.2.1 | 167,857 | 1/11/2022 |
7.2.0 | 119,281 | 11/22/2021 |
7.1.7 | 152,875 | 10/21/2021 |
7.1.7-preview | 1,699 | 9/28/2021 |
7.1.6 | 41,093 | 9/21/2021 |
7.1.5 | 290,980 | 7/23/2021 |
7.1.4 | 46,680 | 6/29/2021 |
7.1.3 | 89,385 | 5/26/2021 |
7.1.2 | 53,838 | 4/17/2021 |
7.1.1 | 267,651 | 3/4/2021 |
7.1.0 | 178,901 | 1/22/2021 |
7.0.0 | 156,249 | 11/18/2020 |
7.0.0-rc5 | 2,928 | 11/5/2020 |