node-libclang icon indicating copy to clipboard operation
node-libclang copied to clipboard

Use ffi-napi, ref-napi, and related Node.js NAPI packages

Open joelpurra opened this issue 5 years ago • 1 comments

Forked and fixed quite a few more things: https://github.com/node-ffi-packager/node-libclang


Note: includes commits from previous pull-requests. Should be merged to master one by one, but wanted to showcase the stepwise progress and allow for feedback.

  • https://github.com/tjfontaine/node-libclang/pull/16
  • https://github.com/tjfontaine/node-libclang/pull/17
  • https://github.com/tjfontaine/node-libclang/pull/18

  • The original ffi, ref, and ref-* packages are outdated and unmaintained.
  • Fixes build/compatibility problems with Node.js v12+.
  • Uses node-ffi-napi.
  • Uses the dependency injection (DI, -di suffix) versions of ref-* with ref-napi.
  • Tested with Node.js v10 and v12, the currently supported LTS versions.

See

  • https://github.com/node-ffi-napi
  • https://github.com/nodejs/Release

joelpurra avatar Mar 07 '20 12:03 joelpurra

Forked and fixed quite a few more things, might help someone: https://github.com/node-ffi-packager/node-libclang

joelpurra avatar May 07 '21 04:05 joelpurra