mafintosh / mafintosh/a-native-example

Why not N-API?

Open
#1 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C++
Stars
37
Forks
7
PR merge metrics
No merged PRs in 30d

Description

Would be great to see example with [N-API](https://nodejs.org/api/n-api.html) which should just work without rebuilding on different major versions of `node.js`.
[abi-stable-node](https://github.com/nodejs/abi-stable-node) and [node-addon-api](https://github.com/nodejs/node-addon-api) can be used to support versions older then `8.0.0`.

Anyways thank you for such a simple example of using native node modules :).

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reviewing the existing native Node.js module example, then read the linked N-API, abi-stable-node, and node-addon-api resources to determine the example's compatibility approach. Done means the repository includes a working N-API example that does not require rebuilding across supported major Node.js versions.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp, node.js
Domain
backend
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.