Skip to content
This repository has been archived by the owner on Jun 17, 2024. It is now read-only.

microsoft/node-v0.12

 
 

Repository files navigation

Evented I/O for javascript.

Node.js uses the V8 JavaScript engine by default. This project enables Node.js to optionally use the Chakra JavaScript engine on Windows 10, allowing Node.js to run on Windows 10 IoT. Our goal is to merge back into master after stabilizing this code, fixing key gaps and responding to early community feedback.

How it works

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

How to get started

You will need the following installed on your PC to start using Node.js with Chakra

Checkout IoT specific instructions and samples here.

How to build (with Chakra on Windows)

In addition to the above installations. You will need to install Python 2.6 or 2.7 to build Node.js for Chakra

To build node.exe:

vcbuild chakra nosign [x86|x64|arm]

Original README

Read original node.js README here.

About

Enable Node.js to use Chakra as its JavaScript engine.

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 36.2%
  • C 28.1%
  • Python 17.3%
  • C 10.5%
  • Lua 3.7%
  • HTML 2.5%
  • Other 1.7%