Node v0.12.2 (Stable) 发布,此版本更新信息如下: uv: Upgrade to 1.4.2 npm: Upgrade to 2.7.4 V8: Fix --max_old_space_size=4096 integer overflow (Andrei Sedoi) asyncwrap: fix constructor condition for early ret (Trevor Norris) buffer: align chunks on 8-byte boundary (Fedor Indutny) buffer: fix pool offset adjustment (Trevor Norris) console: allow Object.prototype fields as labels (Colin Ihrig) fs: make F_OK/R_OK/W_OK/X_OK not writable (Jackson Tian) fs: properly handle fd passed to truncate() (Bruno Jouhier) http: fix assert on data/end after socket error (Fedor Indutny) lib: fix max size check in Buffer constructor (Ben Noordhuis) lib: fix stdio/ipc sync i/o regression (Ben Noordhuis) module: replace NativeModule.require (Herbert Vojčík) net: allow port 0 in connect() (cjihrig) net: unref timer in parent sockets (Fedor Indutny) path: refactor for performance and consistency (Nathan Woltman) smalloc: extend user API (Trevor Norris) src: fix for SIGINT crash on FreeBSD (Fedor Indutny) src: fix builtin modules failing with --use-strict (Julien Gilli) watchdog: fix timeout for early polling return (Saúl Ibarra Corretgé) 下载信息: Source Code: http://nodejs.org/dist/v0.12.2/node-v0.12.2.tar.gz Macintosh Installer (Universal): http://nodejs.org/dist/v0.12.2/node-v0.12.2.pkg Windows Installer: http://nodejs.org/dist/v0.12.2/node-v0.12.2-x86.msi Windows x64 Installer: http://nodejs.org/dist/v0.12.2/x64/node-v0.12.2-x64.msi Windows x64 Files: http://nodejs.org/dist/v0.12.2/x64/ Linux 32-bit Binary: http://nodejs.org/dist/v0.12.2/node-v0.12.2-linux-x86.tar.gz Linux 64-bit Binary: http://nodejs.org/dist/v0.12.2/node-v0.12.2-linux-x64.tar.gz Solaris 32-bit Binary: http://nodejs.org/dist/v0.12.2/node-v0.12.2-sunos-x86.tar.gz Solaris 64-bit Binary: http://nodejs.org/dist/v0.12.2/node-v0.12.2-sunos-x64.tar.gz Other release files: http://nodejs.org/dist/v0.12.2/ Website: http://nodejs.org/docs/v0.12.2/ Documentation: http://nodejs.org/docs/v0.12.2/api/ 详细信息请查看发行页面。 Node.js 是一套用来编写高性能网络服务器的 JavaScript 工具包,一系列的变化由此开始。比较独特的是,Node.js 会假设你是在 POSIX 环境下运行它 Linux 或 Mac OS X。如果你是在Windows下,那就需要安装 MinGW 以获得一个仿 POSIX 的环境。在 Node 中,Http 是首要的。Node 为创建 http 服务器作了优化,所以你在网上看到的大部分示例和库都是集中在 web 上(http 框架、模板库等)。 这里是一个简单的 hello world 的 Web 服务器。 Node v0.12.2 (Stable) 发布,JavaScript 脚本下载地址