RainwayApp / node-clangffi

Generate Typescript FFI bindings for C/C++ libraries using libclang and ffi-napi.
MIT License
7 stars 1 forks source link
ffi ffi-bindings generator libclang nodejs typescript

node-clangffi

CI CD

Tools to generate Typescript FFI bindings for C/C++ libraries using libclang and ffi-napi.

Features

See the following packages for more information:

npm

npm

Contributing

Contributions are welcome, but guidelines for how to get involved are not in place yet. As a result, please start by opening an issue. Thanks for your interest!

Coding Guidelines

Helpful commands

To get started:

# clone and enter the project directory
git clone --config core.autocrlf=false --recursive https://github.com/rainwayapp/node-clangffi.git
cd node-clangffi

# install deps
npm i

# bootstrap and build
npm run bootstrap && npm run build

# bootstrap once last time to ensure typings are present
npm run bootstrap