Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Javascript (node.js) bindings #2

Open
lobis opened this issue Jun 18, 2023 · 0 comments
Open

Javascript (node.js) bindings #2

lobis opened this issue Jun 18, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@lobis
Copy link
Owner

lobis commented Jun 18, 2023

It would be useful to be able to call this library from node.js in order to integrate it in nodered.

Instead of rewritting the library in javascript, we could create bindings for javascript (nodejs).

The details need to be defined, I have done minimal research and it's not straightforward to create javascript bindings for python code but I think we can just use the python-shell javascript library to call this python library directly and it should work okay, since we do not care about performance. It will have to make a new connection each time it's called but this should be OK.

We should also create an npm package to allow install of the bindings, I don't think (at this time) it makes sense to publish it into a repository such as npm as it would not work without the python counter-part.

@lobis lobis added the enhancement New feature or request label Jun 18, 2023
@lobis lobis linked a pull request Jun 19, 2023 that will close this issue
@lobis lobis removed a link to a pull request Jun 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant