发布于 2015-10-14 01:17:19 | 175 次阅读 | 评论: 0 | 来源: 网友投递
这里有新鲜出炉的Node.js主要方法使用说明,程序狗速度看过来!
Node.js 服务器端的JavaScript
Node.js 是一个基于Chrome JavaScript 运行时建立的一个平台, 用来方便地搭建快速的 易于扩展的网络应用· Node.js 借助事件驱动, 非阻塞I/O 模型变得轻量和高效, 非常适合 运行在分布式设备 的 数据密集型 的实时应用
Node v4.2.1 (LTS) 发布,更新内容如下
Includes fixes for two regressions
When a server queues a large amount of data to send to a client over a pipelined HTTP connection, the underlying socket may be destroyed. See #3332 and #3342.
Some problems with unreferenced timers running during beforeExit
are still to be resolved. See #1264.
Surrogate pair in REPL can freeze terminal. #690
Calling dns.setServers()
while a DNS query is in progress can cause the process to crash on a failed assertion. #894
url.resolve
may transfer the auth portion of the url when resolving between two full hosts, see #1435.
[b3cbd13340
] - buffer: fix assertion error in WeakCallback (Fedor Indutny) #3329
[102cb7288c
] - doc: label v4.2.0 as LTS in changelog heading (Rod Vagg) #3343
[c245a199a7
] - lib: fix undefined timeout regression (Ryan Graham) [#3331](https://github.com/nodejs/node/pull/3331
详情请看:发行说明
下载地址:
Windows 32-bit Installer: https://nodejs.org/dist/v4.2.1/node-v4.2.1-x86.msi
Windows 64-bit Installer: https://nodejs.org/dist/v4.2.1/node-v4.2.1-x64.msi
Windows 32-bit Binary: https://nodejs.org/dist/v4.2.1/win-x86/node.exe
Windows 64-bit Binary: https://nodejs.org/dist/v4.2.1/win-x64/node.exe
Mac OS X 64-bit Installer: https://nodejs.org/dist/v4.2.1/node-v4.2.1.pkg
Mac OS X 64-bit Binary: https://nodejs.org/dist/v4.2.1/node-v4.2.1-darwin-x64.tar.gz
Linux 32-bit Binary: https://nodejs.org/dist/v4.2.1/node-v4.2.1-linux-x86.tar.gz
Linux 64-bit Binary: https://nodejs.org/dist/v4.2.1/node-v4.2.1-linux-x64.tar.gz
SunOS 32-bit Binary: https://nodejs.org/dist/v4.2.1/node-v4.2.1-sunos-x86.tar.gz
SunOS 64-bit Binary: https://nodejs.org/dist/v4.2.1/node-v4.2.1-sunos-x64.tar.gz
ARMv6 32-bit Binary: Coming soon
ARMv7 32-bit Binary: https://nodejs.org/dist/v4.2.1/node-v4.2.1-linux-armv7l.tar.gz
ARMv8 64-bit Binary: https://nodejs.org/dist/v4.2.1/node-v4.2.1-linux-arm64.tar.gz
Source Code: https://nodejs.org/dist/v4.2.1/node-v4.2.1.tar.gz
Other release files: https://nodejs.org/dist/v4.2.1/
Documentation: https://nodejs.org/docs/v4.2.1/api/
Node.js 是一个基于Chrome JavaScript 运行时建立的一个平台, 用来方便地搭建快速的 易于扩展的网络应用· Node.js 借助事件驱动, 非阻塞I/O 模型变得轻量和高效, 非常适合 运行在分布式设备 的 数据密集型 的实时应用