Skip to content
This repository has been archived by the owner on Aug 8, 2022. It is now read-only.

Sample Native Node.js/Electron.js/NW.js Addons using Node-addon-api (N-API)

Notifications You must be signed in to change notification settings

sudhakar3697/Node-Addons-using-N-API-CPP-Samples

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 

Repository files navigation

N-API_CPP_Sample_Node_Addons

As Node-Addon-Api (N-API) is used, these addons can be compiled for both Node.js Electron.js and NW.js(Node-Webkit). Samples are based on NW.js.

Addons:

Callback function with parameters

Sync function to take a number as argument and increment it and return the result.

Async function to take a number and a callback as arguments and increment and return the result.

About

Sample Native Node.js/Electron.js/NW.js Addons using Node-addon-api (N-API)

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published