What's the general pattern for accessing (built in) node modules from Lumo?
Is there a better option than (js/console.info ...)
for example?
@hlship in Lumo 1.7:
(require 'fs)
(fs/readFileSync "foo" "utf8")
oh you mean JS globals
yeah that’s the most concise you can make
“Built-in node modules” for me mean fs
, path
et. al
I'm on Lumo 1.6.
... dowloading 1.7
No, I'm interested in node stuff like fs.
oh, so my example should just work!
if anything doesn’t let me know
Is there any way to alias or refer? I don't want to have to type child_process
a billion times.