GitMurf/help

GOAL: Convert/fork node-canvas library from using NAN to Node-API (N-API)

GitMurf opened this issue · 0 comments

Here is node-canvas: https://github.com/Automattic/node-canvas

I need this repo forked and converted to use Node-API instead of NAN.

Node-API: https://nodejs.org/api/n-api.html

Here is discussion about this which was done already by Node-API dev 5 years ago: Automattic/node-canvas#923

Here is a fork that node-api dev actually already accomplished my goal 5 years ago. You would just need to implement similar with node-canvas current version: https://github.com/jasongin/node-canvas/tree/napi

Goal: Build node-canvas fork that uses Node-API instead of NAN and validate it can work with Electron.

Let me know if you have any questions.