发布于 2016-04-02 00:50:10 | 56 次阅读 | 评论: 0 | 来源: 网友投递
这里有新鲜出炉的Node.js主要方法使用说明,程序狗速度看过来!
Node.js 服务器端的JavaScript
Node.js 是一个基于Chrome JavaScript 运行时建立的一个平台, 用来方便地搭建快速的 易于扩展的网络应用· Node.js 借助事件驱动, 非阻塞I/O 模型变得轻量和高效, 非常适合 运行在分布式设备 的 数据密集型 的实时应用
Node v5.10.0 (Stable) 发布了。
重要更新:
buffer:
fs: add the fs.mkdtemp() function. (Florian MARGAINE) #5333
net: emit host in lookup event (HUANG Wei) #5598
node: --no-browser-globals configure flag (Fedor Indutny) #5853
npm: Upgrade to v3.8.3. Fixes a security flaw in the use of authentication tokens in HTTP requests that would allow an attacker to set up a server that could collect tokens from users of the command-line interface. Authentication tokens have previously been sent with every request made by the CLI for logged-in users, regardless of the destination of the request. This update fixes this by only including those tokens for requests made against the registry or registries used for the current install. (Forrest L Norvell) npm/node#6
repl: support standalone blocks (Prince J Wesley) #5581
src: override v8 thread defaults using cli options (Tom Gallacher) #4344
详细更新日志:https://nodejs.org/en/blog/release/v5.10.0/
下载地址:https://nodejs.org/en/download/