# jint **Repository Path**: trusted-list/jint ## Basic Information - **Project Name**: jint - **Description**: Javascript Interpreter for .NET - **Primary Language**: Unknown - **License**: BSD-2-Clause - **Default Branch**: main - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2026-03-11 - **Last Updated**: 2026-09-09 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README [![Build](https://github.com/sebastienros/jint/actions/workflows/build.yml/badge.svg)](https://github.com/sebastienros/jint/actions/workflows/build.yml) [![NuGet](https://img.shields.io/nuget/v/Jint.svg)](https://www.nuget.org/packages/Jint) [![Feedz](https://img.shields.io/feedz/vpre/sebastienros/jint/Jint.svg?label=Feedz)](https://feedz.io/org/sebastienros/repository/jint/packages/Jint) # Jint Jint is a modern ECMAScript interpreter for .NET. It runs JavaScript directly in your process without native dependencies, bytecode generation, or a separate runtime. Jint targets .NET Framework 4.7.2, .NET Standard 2.0/2.1, .NET 8, and .NET 10. Start with the [documentation](https://sebastienros.github.io/jint/) or install the core package: ```bash dotnet add package Jint ``` ## Quick start The examples below assume `using Jint;`. ### Evaluate JavaScript ```csharp var engine = new Engine(); var result = engine.Evaluate("40 + 2").AsNumber(); ``` ### Expose .NET and call JavaScript ```csharp var engine = new Engine() .SetValue("log", new Action(Console.WriteLine)) .Execute(""" function greet(name) { const message = `Hello, ${name}!`; log(message); return message; } """); var greeting = engine.Invoke("greet", "Ada").AsString(); ``` ### Prepare code that runs repeatedly ```csharp var script = Engine.PrepareScript( "items.reduce((sum, value) => sum + value, 0)", source: "sum.js", strict: true); var engine = new Engine(); engine.SetValue("items", new[] { 1, 2, 3 }); var total = engine.Evaluate(in script).AsNumber(); ``` `Prepared