Documentation home
Documentation menu
A library that lets .NET applications invoke JavaScript in Node.js. It provides a dependency injection API, a static API and a managed Node.js process, with invocation from files, strings and streams.
Start here
TutorialsFind out what the library does and make the first call.
ChangelogRead the release history and version notes.
LicensesCheck the terms and third party notices.
Source codeBrowse the repository and issue tracker.
PackageView the published package.
ContactAsk a question or report a problem.
Install
dotnet add package Jering.Javascript.NodeJS
What it does
A library that lets .NET applications invoke JavaScript in Node.js. It provides a dependency injection API, a static API and a managed Node.js process, with invocation from files, strings and streams.
- Invoke JavaScript from a file, a string or a stream.
- Use a dependency injection API or the StaticNodeJSService wrapper.
- Reuse a long lived Node.js process between invocations.
- Enable multi process concurrency for throughput sensitive work.
- Debug Node.js code with the Chrome inspector through process options.
Requirements
| Target framework | .NET Standard 2.0 and .NET Framework 4.6.1 |
|---|---|
| Platforms | Windows and macOS |
| Prerequisite | Node.js installed and available on the PATH |
| Distribution | NuGet package |