marked here a well written artical http://javascript.ruanyifeng.com/nodejs/module.html 转载于:https://www.cnblogs.com/kidsitcn/p/7889429.html