Platform | AppVeyor/Travis CI |
---|---|
Windows (x64) | |
Ubuntu 14.04 (x64) | |
macOS 10.12.1 (x64) |
06/28/2020 With the official word from Microsoft regarding ChakraCore being that "Microsoft will continue to provide security updates for Chakracore 1.11 until 9th March 2021 but do not intend to support it after that." This project is basically dead. Investigating possibilities of using V8 as a backing engine.
Updated with ChakraCore 1.11.5
Provides a sandboxed JavaScript runtime natively to a .Net Standard 2.0 application on Windows, Linux and macOS.
Applications can expose custom modules and types written in .Net code to the runtime, making it useful for providing a rules engine or other scripted capabilities that interact with existing managed libraries.
The underlying JavaScript runtime is Chakra, the JavaScript engine that powers Microsoft Edge, allowing for a fully managed, latest standards compliant, performant and well sandboxed JavaScript-based scripting environment.
The BaristaCore package comes with an extensions library that enables hybrid .net functionality, such as on-the-fly transpilation between TypeScript and JavaScript, server-side rendering via React/React-Dom-Server and more.
Additionally, BaristaCore comes with a set of WebAPI middleware, allowing an application to provide a Functions-as-a-Service platform where scripts, stored as content, can be used to power web-based applications.
BaristaCore is available on NuGet and can be simply added to any dotnet standard 2.0 application. It can be found as a cross-platform .Net Standard 2.0 NuGet Package here: https://www.nuget.org/packages/BaristaCore/
For in-depth instruction, please read this wiki topic on embedding BaristaCore
For details on planned features and future direction please refer to the Roadmap.