2

I started to have a look at the atom-shell and as documented there is a possibility to access native node modules: https://github.com/atom/electron/blob/master/docs/tutorial/using-native-node-modules.md

So is there any possibility to use those node modules from the javascript code which is executed inside the atom shell, for example to execute sql statements.

2 Answers 2

5

Yes, of course, that's the point :) Once built correctly, you require native node.js modules just like you require JavaScript-based ones.

Sign up to request clarification or add additional context in comments.

Comments

1

For anyone having the same question, the remote-object can handle this:

https://github.com/atom/electron/blob/master/docs/api/remote.md

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.