Coder Social home page Coder Social logo

Electronjs about sweph HOT 3 CLOSED

timotejroiko avatar timotejroiko commented on June 9, 2024
Electronjs

from sweph.

Comments (3)

krisztianb avatar krisztianb commented on June 9, 2024

If you install this Node.js package it gets compiled on your local system. Therefore the output (binary) is created for your particular system. You can forge it into your ElectronJs application like so: https://stackoverflow.com/questions/38361996/how-can-i-bundle-a-precompiled-binary-with-electron/

But it will only work on systems like yours and not cross platform.

from sweph.

timotejroiko avatar timotejroiko commented on June 9, 2024

i have not tested it with mac or electron but it should work

from sweph.

timotejroiko avatar timotejroiko commented on June 9, 2024

to close this issue, Electron supports native node addons as long as they are compiled properly for Electron, take a look at their guide: https://www.electronjs.org/docs/latest/tutorial/using-native-node-modules

Im gonna go ahead and close this, let me know if there's any issues!

from sweph.

Related Issues (18)

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.