Node.js的模块载入方式与机制
摘要:Node.js中模块可以通过文件路径或名字获取模块的引用。模块的引用会映射到一个js文件路径,除非它是一个Node内置模块。Node的内置模块公开了一些常用的API给开发者,并且它们在Node进程开始的时候就预加载了。其它的如通过NPM安装的第三方模块(third-party modules)或本地...
阅读全文
posted @ 2013-11-27 14:09
If you cannot hear the sound of the genuine in you, you will all of your life spend your days on the ends of strings that somebody else pulls.
posted @ 2013-11-27 14:09
posted @ 2013-11-24 12:31
posted @ 2013-11-20 07:14
posted @ 2013-11-19 10:36
posted @ 2013-11-17 18:55