ms-iot/node

Name: node

Owner: ms-iot

Description: Node.js on Chakra :sparkles::turtle::rocket::sparkles:

Forked from: nodejs/node-chakracore

Created: 2016-07-20 17:55:29.0

Updated: 2018-01-16 20:15:37.0

Pushed: 2017-02-17 20:39:38.0

Homepage:

Size: 211045

Language: JavaScript

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

Node.js on Chakra and Universal Windows Platform

This project enables Node.js to optionally use the Chakra JavaScript engine and be loaded as a module in a UWP (Universal Windows Platform) application. This project is still work in progress and not an officially supported Node.js branch.

How it works

To enable building and running Node.js with the Chakra JavaScript engine, a V8 API shim (ChakraShim) is created on top of the Chakra runtime hosting API (JSRT). 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. To enable running in a UWP application, code that isn't supported (i.e. doesn't pass WACK (Windows App Certification Kit) tests) has either been removed or replaced (node_uwp_dll in gyp files and the UWP_DLL macro in source files can be used to identify the changes).

How to build

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

Build Command for node.dll - Node.js (Chakra) for UWP

ild chakra uwp-dll nosign [x86|x64|arm]

Build Command for node.exe - Node.js (Chakra)

ild chakra nosign [x86|x64|arm]
How to test node.exe
ild chakra nobuild test [x86|x64|arm]
How to test node.dll

See this


This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.