Embed JavaScript
Execute scripts, evaluate expressions, call functions, and exchange values with .NET.
Embed a modern ECMAScript interpreter in any .NET application, without a native runtime.
Execute scripts, evaluate expressions, call functions, and exchange values with .NET.
Apply statement, time, memory, recursion, parsing, and cancellation limits.
Add console, timers, fetch, streams, crypto, storage, workers, and more when your host needs them.
Parse HTML, run page scripts, automate a DOM, and inspect the result without Chromium.
Connect Chrome DevTools, Puppeteer, or Playwright to an engine your application hosts.
Use the core engine from .NET Framework 4.7.2 through current .NET, with Native AOT support on modern targets.
dotnet add package JintWith using Jint; in scope:
var result = new Engine()
.SetValue("name", "World")
.Evaluate("`Hello, ${name}!`")
.AsString();Jint is the main product and documentation entry point. Add another package only when you need debugging or browser functionality. Jint is open source under the BSD 2-Clause License.
jint-browser command for extraction, evaluation, CDP, and MCP.Jint.Browser.McpAn MCP server that lets agents navigate and interact with non-rendered pages.Projects using Jint include RavenDB, EventStoreDB, Orchard Core, Elsa Workflows, Docfx, and JavaScript Engine Switcher.