3 ms·
You can write the library/addon in C and then define the bindings with JavaScript using various npm libraries. There's no need for C++. Here's an example of su
by nawitus 11y ago
You can write the library/addon in C and then define the bindings with JavaScript using various npm libraries. There's no need for C++.
Here's an example of such a wrapper over a C library: https://github.com/panuhorsmalahti/mtp https://github.com/panuhorsmalahti/mtp