GithubHelp home page GithubHelp logo

Comments (2)

mhdawson avatar mhdawson commented on May 26, 2024

@lengendecas. I'm not sure that is needed. node-addon-api only depends on the C N-API functions exported by Node.js (or another N-API implementation).

So, for other N-API implementations they should be able to just build/run the node-addon-test suite as is. If tweaks/changes are needed to allow them to run the tests then that is probably best handled through changes in the node-addon-api repo.

One of the key differences is that we don't expect different implementations of node-addon-api, it should be able to be used by all implementations that support all of the exported N-API functions.

from js-native-api-test.

legendecas avatar legendecas commented on May 26, 2024

The issue we've encountered is that node-addon-api used some es6 features(symbols, here) in a crucial code path that not supported in ShadowNode yet, which depends on aJS engine still on a very early ECMA stage.

So the naïve idea is n-api test suite could generates a report if node-addon-api are supported on the N-API implementations, or some parts of node-addon-api are supported.

from js-native-api-test.

Related Issues (4)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.