[GH-ISSUE #26] Document usability of Node.js packages #18

Closed
opened 2026-05-05 11:24:28 -06:00 by gitea-mirror · 1 comment
Owner

Originally created by @benwiley4000 on GitHub (Feb 21, 2018).
Original GitHub issue: https://github.com/kusti8/proton-native/issues/26

My biggest question going into this is whether any arbitrary Node.js package (including native bindings) can be required and used as with Electron. Based on this example which uses fs I believe that's the case. If so, that may be worth documenting in the list of "Features" (makes a difference for me if I have access to Node implementations of browser JS APIs like web audio).

Originally created by @benwiley4000 on GitHub (Feb 21, 2018). Original GitHub issue: https://github.com/kusti8/proton-native/issues/26 My biggest question going into this is whether any arbitrary Node.js package (including native bindings) can be required and used as with Electron. Based on [this example](https://github.com/kusti8/proton-native/blob/master/examples/Notepad/index.js#L2) which uses `fs` I believe that's the case. If so, that may be worth documenting in the list of "Features" (makes a difference for me if I have access to [Node implementations](https://github.com/audiojs/web-audio-api) of browser JS APIs like web audio).
Author
Owner

@parro-it commented on GitHub (Feb 22, 2018):

See #20
TLDR: yes, you can use node modules.
I also think that a small remark in documentation would be useful...

<!-- gh-comment-id:367607500 --> @parro-it commented on GitHub (Feb 22, 2018): See #20 TLDR: yes, you can use node modules. I also think that a small remark in documentation would be useful...
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: github-starred/proton-native#18
No description provided.