Skip to content

Example of how to call C++ functions in Javascript using Node C++ Addons

License

Notifications You must be signed in to change notification settings

GreatGameDota/Cpp-in-Javascript

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

C++ in Javascript

Call C++ functions in Javascript

Using Node V8 C++ Addons

I recommend just running npm install --global --production windows-build-tools in a command prompt ran as Administrator

Once everything is installed clone the addon.cc and binding.gyp files and run

node-gyp configure build

If you don't run into any errors you can then simply call node test to run the Javascript file

Ignore any errors in the .cc file

About

Example of how to call C++ functions in Javascript using Node C++ Addons

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published