How can I ‘require’ CommonJS modules in the browser? [closed]
I have used RequireJS extensively in the past (implementation on BBC iPlayer in 2010) and it works well. It can handle CommonJS modules, but it needs an additional wrapper, which I find annoying. If you want to use those modules in Node.js as well, you need to use RequireJS on the server side as well, … Read more