This is an example skeleton for a C++ project that uses Nobind using the traditional node-gyp
build system.
It includes some non-trivial examples such as C buffers, vectors of objects and maps.
You can check hadron-nobind-example-project
for the hadron
version.
git clone https://github.com/mmomtchev/nobind-example-project.git
cd nobind-example-project
npm install
Run the unit tests:
# Run all unit tests
npm test
Build with:
npm install
npx node-gyp configure build --debug
Check the CI workflow for ASAN and dual-language code coverage setups.