Require a JavaScript module on the server

Warning: this video is about SERVER SIDE JavaScript, not client side. To rephrase, it's NOT for running in the browser.

Modularize your code with CommonJS style modules.

Subscribe to our newsletter!