/nobind-example-project

A template for a `nobind17` project using `node-gyp`

Primary LanguageC++ISC LicenseISC

Nobind example skeleton

Test codecov

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.

Try building yourself

Build the project

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

Code instrumentation

Build with:

npm install
npx node-gyp configure build --debug

Check the CI workflow for ASAN and dual-language code coverage setups.