browser-module-sandbox icon indicating copy to clipboard operation
browser-module-sandbox copied to clipboard

Examples of use?

Open t3db0t opened this issue 3 years ago • 1 comments

I'm developing a browser-based tool for prototyping javascript functions and I'd like the user to be able to use NPM modules. So this project seems perfect (unless there's something newer that replaces it?) but it's unclear to me exactly how to use it. I've also been looking at the code for ESNextbin but that's unclear too. Is the idea that you just write i.e. import _ from lodash and the bundle is automatically obtained? Or is there something else that has to be done?

t3db0t avatar Jun 09 '22 13:06 t3db0t

Also: does this require a node server? Or is it purely in the client?

t3db0t avatar Jun 09 '22 14:06 t3db0t