trymodule
trymodule copied to clipboard
➰ It's never been easier to try nodejs modules!
> https://github.com/VictorBjelkholm/trymodule/blob/2030806d790213d426456959fdc7a69773a4c6f7/index.js#L5 > > You might want to reconsider using colors. It's a bad unmaintained module from a user-hostile author. Check out cli-colors or chalk instead. From: https://github.com/sindresorhus/awesome-nodejs/pull/477#event-606502245
> https://github.com/VictorBjelkholm/trymodule/blob/2030806d790213d426456959fdc7a69773a4c6f7/index.js#L59 > > Oh noes. Please don't. Never do string concat for commands, use execFile instead. Never pass environment variables directly to rm without sanitation, better yet, never spawn...
Nowadays most node.js use babel to work with their js env. Are there any such kind of support for trymodule? Thanks a lot!
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...
So I had the same idea for this module a while ago (great job btw!) and one of the things I wanted to do was allow for packages to allow...
Something that would be useful to have is a save/restore functionality, where previous entered code and state can be restored in a future session. 1. User enters `trymodule lodash` and...