Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Very basic C++ native addons for NodeJS

Currently this repo includes basic setup for V8 and N-API in C++.

Special feature - compile_commands.json

This means support for NeoVim + clangd

Usage

Use this repo as a "template" in GitHub, run (I use Bun for this) "bun run cxx:fetch" to install all headers for current NodeJS version + set all CMake paths. "bun run cxx:conf" configures build and compile_commands.json, "bun run cxx:build" build the binaries.

Coming soon

Vitest tests (like github.com/Guthib-of-Dan/lib_arch), VCPKG config, mutli-version builds for V8, GitHub CI/CD (+ npm publishing)

About

Basic architecture for NodeJS C++ native addons (node-addon-api OR V8)

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages