Microsoft.ClearScript 7.5.1.1

Prefix Reserved

Requires NuGet 5.10.0 or higher.

dotnet add package Microsoft.ClearScript --version 7.5.1.1
                    
NuGet\Install-Package Microsoft.ClearScript -Version 7.5.1.1
                    
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" Version="7.5.1.1" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Microsoft.ClearScript" Version="7.5.1.1" />
                    
Directory.Packages.props
<PackageReference Include="Microsoft.ClearScript" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Microsoft.ClearScript --version 7.5.1.1
                    
#r "nuget: Microsoft.ClearScript, 7.5.1.1"
                    
#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.
#:package Microsoft.ClearScript@7.5.1.1
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Microsoft.ClearScript&version=7.5.1.1
                    
Install as a Cake Addin
#tool nuget:?package=Microsoft.ClearScript&version=7.5.1.1
                    
Install as a Cake Tool

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.6.2+, .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:

There are no supported framework assets in this package.

Learn more about Target Frameworks and .NET Standard.

NuGet packages (30)

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

Package Downloads
Alternet.Studio.Common.TypeScript

AlterNET Studio allows you to extend your WinForms and WPF .NET applications with code editing, scripting, and user interface designing capabilities. It provides a set of component libraries that enables users of your applications to write scripts in C#, Visual Basic, TypeScript, JavaScript, and Python programming languages to extend your application with custom functionality; run and debug these scripts with a fully-featured debugging engine and design visual user interfaces with graphical Form Designer. This package includes common utility and helper classes required for TypeScript and JavaScript parsing and execution. This multi-target package can be used with .NET applications targeting .NET Framework 4.5.2 or higher. More information about AlterNET Studio can be found here: https://www.alternetsoft.com/products/studio Documentation and sample projects can be downloaded here: https://www.alternetsoft.com/download NOTE: This is a commercial software product and requires purchasing a license for legal usage. Please refer to our licensing FAQ here: https://www.alternetsoft.com/faq#license

YSAI.Core

核心组件:Core ( 抽象、TCP、UDP、HTTP、WS、串口、扩展、处理、反射、转发、脚本、订阅、虚拟地址、WebApi )

ModFramework.Modules.ClearScript

ModFramework module to enable javascript plugins via Microsoft's ClearScript.

RG3.PF.PinYinScriptEngineCliWrap

1、【RG3.PF.PinYinScriptEngineCliWrap】实现中文拼音、繁体等操作 2、 20240815 升级到.netcore sdk 8.0

Contensive.Processor

Core processor library for the Contensive Platform - provides the implementation for cp (CPClass) and all platform services including content management, user authentication, email, caching, and file operations.

GitHub repositories (4)

Showing the top 4 popular GitHub repositories that depend on Microsoft.ClearScript:

Repository Stars
zsh2401/AutumnBox
图形化ADB工具箱
koculu/Topaz
Multithreaded Javascript Engine for .NET
WolvenKit/CyberCAT
CyberPunk 2077 Customization Assistant Tool. Work in progress Savegame editor.
nightroman/FarNet
Far Manager framework for .NET modules and scripts in PowerShell, F#, JavaScript.
Version Downloads Last Updated
7.5.1.1 3,108 9/4/2026
7.5.1 83,949 5/10/2026
7.5.0 2,582,417 3/7/2025
7.4.5 2,424,510 3/25/2024
7.4.4 2,066,358 10/17/2023
7.4.3 1,816,933 8/19/2023
7.4.2 1,795,744 6/1/2023
7.4.1 1,796,516 4/8/2023
7.4.0 1,759,730 3/9/2023
7.3.7 1,799,075 1/23/2023
7.3.6 1,767,238 12/20/2022
7.3.5 1,766,197 11/12/2022
7.3.4 1,883,045 9/29/2022
7.3.3 1,750,277 9/28/2022
7.3.2 1,756,492 9/15/2022
7.3.1 1,810,445 6/29/2022
7.3.0 1,759,450 6/2/2022
7.2.5 1,768,233 5/1/2022
7.2.4 1,773,969 3/30/2022
7.2.3 1,753,986 3/5/2022
Loading failed