trymodule
trymodule copied to clipboard
Idea: trymodule .
Hey @VictorBjelkholm. I love this module!
It would be cool to be able to run trymodule . or trymodule some/dir to load a REPL for a given directory, using the name of the directory as the name of required module:
cd projects/foo
trymodule .
Then in the repl, foo would be set to the value of require('.')