ShadowNode

Use Node.js in your end devices(QQ: 796448809)

View the Project on GitHub yodaos-project/ShadowNode

N-API

Most N-API api in ShadowNode are aligned with definition of Node.js version 10.8. Yet there are some that may not implemented nor not supported. Documents of supported API can be found in Node.js N-API document. Following is a list of api that can not be used in ShadowNode.

How to build

Use node-gyp whenever possible, since N-API is designed to be ABI stable.

API not supported in ShadowNode

Working with JavaScript Values

Object Creation Functions
Functions to convert from C types to N-API
Functions to convert from N-API to C types

Working with JavaScript Values - Abstract Operations

Custom Asynchronous Operations

Though N-API functions for creating/destroying async contexts are available, they do not work as expected as async_hooks has not been implemented.

Memory Management

Promises

Script execution

Experimental functions