3 ms·
Umm .. On the server, node_modules / NPM driven modular system (AMD) works quite well. RequireJS can be used on the client as well.
by factorialboy 14y ago
Umm .. On the server, node_modules / NPM driven modular system (AMD) works quite well. RequireJS can be used on the client as well.
- ajuc 14y agoI especially like the fact, that "importing" module in node returns imported module, instead of putting it into namespace like it does in Java. It's much better design. var myModule = require('./module'); instead of import com.company.module.Sth;