victorb / trymodule

➰ It's never been easier to try nodejs modules!
1.14k stars 29 forks source link

Can't try private modules #13

Open dac09 opened 8 years ago

dac09 commented 8 years ago

Hi,

Is it possible to try a module, but import it into a specific variable name?

This would be particularly use for private modules, as it has a slash and @ in the name e.g. @org/myModule.

I can't seem to access the variable in the way it loads currently.

Thanks

victorb commented 8 years ago

Oh, I haven't tried trymodule with private modules. I can see this being a good feature if we can solve it with nice looking code for sure, but in a different issue. This one we have to solve as a bug.

dac09 commented 8 years ago

:+1: