Comments (2)
@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.
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)
- Discussion on bootstrapping NTS project HOT 6
- Add boilerplate docs HOT 2
- Concept and approach HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from js-native-api-test.