Giter VIP home page Giter VIP logo

Comments (6)

abmusse avatar abmusse commented on May 23, 2024

Original comment by Jesse G (Bitbucket: ThePrez, GitHub: ThePrez).


I believe this to be resolved with the latest commits. Thanks!!

from nodejs-idb-connector.

abmusse avatar abmusse commented on May 23, 2024

Ran it through the conversion tool the output is located:
https://bitbucket.org/abmusse/nodejs-idb-connector

Have not built it yet, but getting to it soon.

from nodejs-idb-connector.

abmusse avatar abmusse commented on May 23, 2024

Original comment by Jesse G (Bitbucket: ThePrez, GitHub: ThePrez).


Created branch N-API-compliance to serve as a home for this major rework

from nodejs-idb-connector.

abmusse avatar abmusse commented on May 23, 2024

Original comment by Liam Allan (Bitbucket: WorksOfLiam, GitHub: WorksOfLiam).


Hi

Sorry for the late reply. If I can find the time I will happily make a PR, until then I will post some notes about what I might do in case anyone else wants to give it a shot.

  1. Build nodejs-idb-connector on IBM i with Node.js 8.6.0 or above
  2. Once built, attempt to use converter.js which is found in the node-addon-api repository on GitHub.
  3. I hear that this will convert around 80% (don't quote me on that) and then it's manual work from there.

Hopefully this is a step in the right direction.

Cheers,
Liam

from nodejs-idb-connector.

abmusse avatar abmusse commented on May 23, 2024

Original comment by Jesse G (Bitbucket: ThePrez, GitHub: ThePrez).


https://github.com/nodejs/node-addon-api/blob/master/tools/conversion.js

This conversion tool is a good place to start on the project. It's expected to get about 80% of the conversion done (and they will take issues for anything that reasonably should have been converted and wasn't)

This article may also be useful: https://medium.com/the-node-js-collection/n-api-next-generation-node-js-apis-for-native-modules-169af5235b06

from nodejs-idb-connector.

abmusse avatar abmusse commented on May 23, 2024

Original comment by Xu Meng (Bitbucket: mengxumx, GitHub: dmabupt).


Issue #9 was marked as a duplicate of this issue.

from nodejs-idb-connector.

Related Issues (20)

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.