Skip to content

jianchun/node-chakracore

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Node.js on ChakraCore

This project enables Node.js to optionally use the ChakraCore JavaScript engine. This project is still work in progress and not an officially supported Node.js branch. Please refer to the original PR.

How it works

To enable building and running Node.js with the ChakraCore JavaScript engine, a V8 API shim (ChakraShim) is created on top of the ChakraCore runtime hosting API ([JSRT] (https://msdn.microsoft.com/en-us/library/dn249673(v=vs.94).aspx)). ChakraShim implements the most essential V8 APIs so that the underlying JavaScript engine change is transparent to Node.js and other native addon modules written for V8.

A rebuild node.exe and native addon modules with ChakraCore is required for this to work.

Issues

Please report all issues related to Node-ChakraCore on this separate issue page.

Prebuilt Node binaries

You can download and install prebuilt Node-ChakraCore from here.

How to build

If you are looking to build this yourself. Here's what you will need.

Prerequisites:

Build Command:

vcbuild chakracore nosign [x86|x64|arm]

How to test

vcbuild chakracore nobuild test [x86|x64|arm]

To test if Node.js was built correctly with ChakraCore:

C:\>node -e "console.log('Hello from Node.js ' + process.jsEngine)"
Hello from Node.js chakracore

About

Node.js on ChakraCore ✨🐢🚀✨

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 59.5%
  • C++ 21.1%
  • C 7.1%
  • POV-Ray SDL 6.2%
  • HTML 3.3%
  • Python 0.9%
  • Other 1.9%