chakra-core /ChakraCore

ChakraCore is an open source Javascript engine with a C API.

★ 9,260⑂ 1,219👁 408⑃ 4,770● 2,226▤ 61
JavaScriptMITCreated 2016-01-05
Download: ChakraCore v1.11.24ChakraCore-1.11.24 ↓1.11.242020-12-09
+0
Daily
9,260
stars
1,219
forks
408
watchers
4,770
prs
2,226
issues
61
releases

README

ChakraCore





ChakraCore is a JavaScript engine with a C API you can use to add support for JavaScript to any C or C compatible project. It can be compiled for x64 processors on Linux macOS and Windows. And x86 and ARM for Windows only. It is a future goal to support x86 and ARM processors on Linux and ARM on macOS. 

 Future of ChakraCore

As you may have heard Microsoft Edge no longer uses Chakra. Microsoft will continue to provide security updates for ChakraCore 1.11 until 9th March 2021 but do not intend to support it after that.

ChakraCore is planned to continue as a community project targeted primarily at embedded use cases. We hope to produce future releases with new features and enhancements to support such use cases. We also would like to invite any interested parties to be involved in this project. For further details please see the following draft planning documents:
Overall plan
Version 1.12 plan

Also see discussion in issue 6384

If you'd like to contact the community team please either open an issue or join the Discord chat linked above.

 Security

If you believe you have found a security issue in ChakraCore 1.11, please share it with Microsoft privately following the guidance at the Microsoft Security TechCenter. Reporting it via this channel helps minimize risk to projects built with ChakraCore.

If you find a security issue in the Master branch of Chakracore but not in 1.11 please join our Discord server and private message one of the Core team members.

 Documentation

 ChakraCore Architecture
 Quickstart Embedding ChakraCore
 API Reference
 Contribution guidelines
 Blogs, talks and other resources

 Building ChakraCore

You can build ChakraCore on Windows 7 SP1 or above, and Windows Server 2008 R2 or above, with either Visual Studio 2015 or 2017 with C++ support installed.  Once you have Visual Studio installed:

 Clone ChakraCore through git clone https://github.com/Microsoft/ChakraCore.git
 Open Build\Chakra.Core.sln in Visual Studio
 Build Solution

On macOS you can build ChakraCore with the xcode command line tools and cmake.
On Linux you can build ChakraCore with cmake and ninja.

More details in Building ChakraCore.

Alternatively, see Getting ChakraCore binaries for pre-built ChakraCore binaries.

 Using ChakraCore

Once built, you have a few options for how you can use ChakraCore:

 The most basic is to test the engine is running correctly with the application ch.exe (ch on linux or macOS).  This app is a lightweight host of ChakraCore that you can use to run small applications.  After building, you can find this binary in:
   Windows: Build\VcBuild\bin\${platform}_${configuration} (e.g. Build\VcBuild\bin\x64_debug)
   macOS/Linux: buildFolder/config/ch (e.g. out/Release/ch)
 You can embed ChakraCore in your applications - see documentation and samples.

_A note about using ChakraCore_: ChakraCore is a JavaScript engine, it does not include the external APIs that are provided by a Web Browser or Node.js.  For examp

Top issues

Latest release

ChakraCore v1.11.24 v1.11.24 2020-12-09
Release Notes | NuGet Packages

 
Download ChakraCore binaries hosted on Azure:
 

| Platform | SHA256 |
|:---------|:-------|
| Windows (all) | 41CF717409D69F6AF32C6B21E8135EA0CF382935D2E6263BC94485A6839E6FAD |
| Linux (x64) | 939283618139D6C4223842D79C176C3691296BCE5368D54CB9805616A94EB605 |
| OSX (x64) | 3F988B09F7A4FFF5129CA3EBA29233780B5E409254541A5A613E1810B2AB6C02 |

Snapshot: 2026-11-16T09:23:14Z · Data license Apache-2.0 · JSON