nodejs / nodejs/nan

N-API support?

Open
#836 12 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C++
Stars
3.4k
Forks
531
Avg merge
21m
Merged PRs (30d)
1

Description

Would it be feasible to target N-API for it's subset of features on node versions 8+?

I've been using NAN for years but with node 6 hitting it's EOL next year it's becoming more interesting to explore N-Api. It covers most of the use cases that I have and would help keep my projects working with out having to upgrade for new node versions.

However if NAN supported it I wouldn't have to do a major rewrite.

Are there thoughts around this?

Contributor guide

Open the contributing guide

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

The issue does not identify any files, tests, or entry points. Start by reviewing NAN's current feature coverage and the N-API subset available in Node.js 8+, then determine whether a compatible implementation is feasible and what scope would constitute support.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp, node.js
Domain
tooling
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.