发布于 2016-07-07 00:26:50 | 76 次阅读 | 评论: 0 | 来源: 网友投递
Node.js 服务器端的JavaScript
Node.js 是一个基于Chrome JavaScript 运行时建立的一个平台, 用来方便地搭建快速的 易于扩展的网络应用· Node.js 借助事件驱动, 非阻塞I/O 模型变得轻量和高效, 非常适合 运行在分布式设备 的 数据密集型 的实时应用
Node v6.3.0 (Current) 发布了,主要更新如下:
buffer: Added buffer.swap64()
to complement swap16()
& swap32()
. (Zach Bjornson) #7157
build: New configure
options have been added for building Node.js as a shared library. (Stefan Budeanu)#6994
The options are: --shared
, --without-v8-platform
& --without-bundled-v8
.
crypto: Root certificates have been updated. (Ben Noordhuis) #7363
debugger: The server address is now configurable via --debug=<address>:<port>
. (Ben Noordhuis) #3316
npm: Upgraded npm to v3.10.3 (Kat Marchán) #7515 & (Rebecca Turner) #7410
readline: Added the prompt
option to the readline constructor. (Evan Lucas) #7125
repl / vm: sigint
/ctrl+c
will now break out of infinite loops without stopping the Node.js instance. (Anna Henningsen) #6635
src:
stream: Improved readable.read()
performance by up to 70%. (Brian White) #7077
timers: setImmediate()
is now up to 150% faster in some situations. (Andras) #6436
util: Added a breakLength
option to util.inspect()
to control how objects are formatted across lines. (cjihrig) #7499
v8-inspector: Experimental support has been added for debugging Node.js over the inspector protocol. (Ali Ijaz Sheikh) #6792
Note: This feature is experimental, and it could be altered or removed.
You can try this feature by running Node.js with the --inspect
flag.