nbind
nbind copied to clipboard
:sparkles: Magical headers that make your C++ library accessible from JavaScript :rocket:
Is there any way to call a function from c++. The control should go as below: This is for a scanner device js: function jsMethod1(){ calls c++ MethodA(); } function...
Hello, I am trying to compile a C++ code to asm.js with Nbind, but no matter what I do I am getting the same error. I installed Emscripten and tested...
emcc-path on Windows gives `(PROJECT DIRECTORY)\node_modules\nbind\bin\emcc`. It should give the path of a bat file if on Windows instead of a bash script.
Hi, Using nbind with a simple electron app works fine, but when the app is packaged using electron-packager (or tooling that wraps electron-packager like electron-forge) I get the following error:...
The addon I am building will be used on the server ( Koa ) side of a Node application. This is an asynchronous library where the addon functions receive some...
Running on Windows 10 with WSL (Ubuntu 18.04). Using Webpack 4.25.1, in a React/Django application. Occurs while generating large PDF's using `@react-pdf/renderer` (https://github.com/diegomura/react-pdf). Anyway, I get the following error which...
For users writing JS, having javascript definitions for the values of an enum would be quite useful. For users of ndts/typescript - it seems that you currently cannot bind any...
Hi all, Firstly, I'd like to congratulate you all for the exceptional work on nbind! I'm about to wrap some of my native modules to be called from node. Unfortunately,...
This is an issue raised by one of our users (https://github.com/facebook/yoga/issues/411#issuecomment-281868308), I've not been able to test it myself: ``` > [email protected] node-gyp C:\Users\User\Documents\experiment-flex\node_modules\yoga-layout > node-gyp "configure" "build" "--asmjs=1" C:\Users\User\Documents\experiment-flex\node_modules\yoga-layout>if...
```c++ // c++ class SomeThing { SomeThing() {}; ~SomeThing() {}; SomeThing* getRef() { return this; } } NBIND_CLASS(SomeThing) { method(getRef); } ``` ```javascript // javascript const a = new SomeThing();...