Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
GitMurf opened this issue Dec 9, 2022 · 1 comment

Comments

@GitMurf
Copy link
Owner

GitMurf commented Dec 9, 2022

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants
@GitMurf and others