Microsoft.ClearScript.Core 7.4.4

The ID prefix of this package has been reserved for one of the owners of this package by NuGet.org. Prefix Reserved

Requires NuGet 4.9.0 or higher.

dotnet add package Microsoft.ClearScript.Core --version 7.4.4
NuGet\Install-Package Microsoft.ClearScript.Core -Version 7.4.4
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Microsoft.ClearScript.Core" Version="7.4.4" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Microsoft.ClearScript.Core --version 7.4.4
#r "nuget: Microsoft.ClearScript.Core, 7.4.4"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install Microsoft.ClearScript.Core as a Cake Addin
#addin nuget:?package=Microsoft.ClearScript.Core&version=7.4.4

// Install Microsoft.ClearScript.Core as a Cake Tool
#tool nuget:?package=Microsoft.ClearScript.Core&version=7.4.4

Banner

Twitter Follow

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
  • V8 Support for fast data transfer to and from JavaScript typed arrays
  • V8 Support for JavaScript modules
  • V8 JScript Support for CommonJS modules
  • V8 Automatic conversion between .NET BigInteger and JavaScript BigInt.
  • V8 Optional automatic conversion between .NET DateTime and JavaScript Date.
  • V8 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

Complete package

All in one, for all supported platforms.

ClearScript.Complete

Composite packages

Everything you need for one platform.

Platform Packages
Windows ClearScript ClearScript.win-arm64
Linux ClearScript.linux-x64 ClearScript.linux-arm ClearScript.linux-arm64
macOS ClearScript.osx-x64 ClearScript.osx-arm64

Component packages

Cross-platform libraries and data.

Component Packages
Core ClearScript.Core
JScript/VBScript ClearScript.Windows.Core ClearScript.Windows
V8 ClearScript.V8 Microsoft.ClearScript.V8.ICUData

V8 native assembly packages

Platform-specific V8 libraries.

Platform Packages
Windows ClearScript.V8.Native.win-x86 ClearScript.V8.Native.win-x64 ClearScript.V8.Native.win-arm64
Linux ClearScript.V8.Native.linux-x64 ClearScript.V8.Native.linux-arm ClearScript.V8.Native.linux-arm64
macOS ClearScript.V8.Native.osx-x64 ClearScript.V8.Native.osx-arm64

Documentation

Acknowledgments

We'd like to thank:

Product 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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (10)

Showing the top 5 NuGet packages that depend on Microsoft.ClearScript.Core:

Package Downloads
Microsoft.ClearScript.V8 The ID prefix of this package has been reserved for one of the owners of this package by NuGet.org.

A library for adding scripting to .NET applications. This package supports the V8 JavaScript engine.

Microsoft.ClearScript.Windows.Core The ID prefix of this package has been reserved for one of the owners of this package by NuGet.org.

A library for adding scripting to .NET applications. This package supports the Windows Script engines (JScript and VBScript).

Microsoft.ClearScript.Windows The ID prefix of this package has been reserved for one of the owners of this package by NuGet.org.

A library for adding scripting to .NET applications. This package supports the Windows Script engines (JScript and VBScript) in a desktop environment.

Rsd.Dudu.Redjs

Package Description

eslib.clearscript

Package Description

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
7.4.4 256,927 10/17/2023
7.4.3 135,391 8/19/2023
7.4.2 141,758 6/1/2023
7.4.1 196,244 4/8/2023
7.4.0 29,757 3/9/2023
7.3.7 177,394 1/23/2023
7.3.6 72,396 12/20/2022
7.3.5 53,032 11/12/2022
7.3.4 144,003 9/29/2022
7.3.3 5,673 9/28/2022
7.3.2 23,804 9/15/2022
7.3.1 307,346 6/29/2022
7.3.0 54,180 6/2/2022
7.2.5 76,314 5/1/2022
7.2.4 63,345 3/30/2022
7.2.3 52,768 3/5/2022
7.2.2 76,911 2/6/2022
7.2.1 147,360 1/11/2022
7.2.0 111,656 11/22/2021
7.1.7 132,263 10/21/2021
7.1.7-preview 1,838 9/28/2021
7.1.6 39,416 9/21/2021
7.1.5 279,000 7/23/2021
7.1.4 43,813 6/29/2021
7.1.3 79,583 5/26/2021
7.1.2 54,149 4/17/2021
7.1.1 251,703 3/4/2021
7.1.0 164,951 1/22/2021
7.0.0 136,766 11/18/2020
7.0.0-rc5 2,908 11/5/2020