You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In node, there is a -r / --require flag. When specified, it requires a module for the script being ran. An example would be node --require bco myScript.js, this would require the bco module and run myScript.js with it required. All it really does is make your scripts look more nice.
What would be nice is if -r / --require would work in interactive mode. Such as node --require bco. Right now this currently doesn't work.
This may be repl's job, but I'm not really sure.
The text was updated successfully, but these errors were encountered:
In node, there is a
-r
/--require
flag. When specified, it requires a module for the script being ran. An example would benode --require bco myScript.js
, this would require thebco
module and runmyScript.js
with it required. All it really does is make your scripts look more nice.What would be nice is if
-r
/--require
would work in interactive mode. Such asnode --require bco
. Right now this currently doesn't work.This may be repl's job, but I'm not really sure.
The text was updated successfully, but these errors were encountered: