Node.js v6.2.2 发布下载,看到Node.js这个名字,初学者可能会误以为这是一个Javascript应用,事实上,Node.js采用C++语言编写而成,是一个Javascript的运行环境。为什么采用C++语言呢?据Node.js创始人Ryan Dahl回忆,他最初希望采用Ruby来写Node.js,但是后来发现Ruby虚拟机的性能不能满足他的要求,后来他尝试采用V8引擎,所以选择了C++语言。既然不是Javascript应用,为何叫.js呢?因为Node.js是一个Javascript的运行环境。Node.js是一个后端的Javascript运行环境(支持的系统包括Linux、Windows和Mac等),这意味着你可以编写系统级或者服务器端的Javascript代码,交给Node.js来解释执行,Node.js采用了Google Chrome浏览器的V8引擎,性能很好,同时还提供了很多系统级的API,如文件操作、网络编程等。浏览器端的Javascript代码在运行时会受到各种安全性的限制,对客户系统的操作有限。相比之下,Node.js则是一个全面的后台运行时,为Javascript提供了其他语言能够实现的许多功能。
更新日志
显着的变化
- http:
req.read(0)could cause incoming connections to stall and time out under certain conditions. (Fedor Indutny) #7211- When freeing the socket to be reused in keep-alive Agent wait for both prefinish and end events. Otherwise the next request may be written before the previous one has finished sending the body, leading to a parser errors. (Fedor Indutny) #7149
- npm: upgrade npm to 3.9.5 (Kat Marchán) #7139
提交
- [
d71ede8113] - benchmark: don't convert arguments to numbers (Brian White) #6570 - [
32f76983e2] - benchmark: increase http token check iterations (Brian White) #6570 - [
23a495a9a9] - benchmark: add benchmark for url.format() (Rich Trott) #7250 - [
27ed7fc56c] - benchmark: fix child-process-exec-stdout on win (Bartosz Sosnowski) #7178 - [
5e5af8b4bb] - benchmark: fix child-process-read on Windows (Bartosz Sosnowski) #6971 - [
d24e4095bf] - benchmark: add benchmark for Buffer.concat (Anna Henningsen) #7054 - [
666b6f9302] - build: add REPLACEME tag for version info in docs (Ben Noordhuis) #6864 - [
6d3d2d1ae4] - cluster: don't send messages if no IPC channel (Santiago Gimeno) #7132 - [
068718c91c] - debugger: remove obsolete setTimeout (Rich Trott) #7154 - [
2961f06f6f] - debugger: fix --debug-brk interaction with -e (Rich Trott) #7089 - [
701e699d4f] - deps: upgrade npm to 3.9.5 (Kat Marchán) #7139 - [
1095ae1ac5] - doc: Add CII Best Practices badge to README.md (David A. Wheeler) #6819 - [
0198987b0d] - doc: add internal link in GOVERNANCE.md (Rich Trott) #7279 - [
8e14f761bb] - doc: useBuffer.byteLengthfor Content-Length (kimown) #7274 - [
5d03bdd94f] - doc: add information for IncomingMessage.destroy() (Rich Trott) #7237 - [
a113734099] - doc: general improvements to path.md copy (James M Snell) #7122 - [
b5e44df9a3] - doc: make pull request template more concise (Rich Trott) #7239 - [
40a5974a0e] - doc:url.format()parameter may be a string (Rich Trott) #7235 - [
a7d813915e] - doc: clarify use ofport value (Rich Trott) #7206 - [
0fc8012b65] - doc: remove cluster.setupMaster() myth (cjihrig) #7179 - [
70167fd1d4] - doc: fix IRC link (Ilkka Myller) #7210 - [
4f2215fd98] - doc: fix minor nit introduced in readline.md (James M Snell) #7198 - [
d31f728e09] - doc: clarify rl.question callback args (James M Snell) #7022 - [
70f2f357be] - doc: general improvements to readline.md copy (James M Snell) #7022 - [
c2aba5ba27] - doc: consolidate test/lint text in GH PR template (Rich Trott) #7155 - [
712120112f] - doc: use consistent typography in streams.md (Rich Trott) #6986 - [
e2f6f8061b] - doc: general improvements to process.md copy (James M Snell) #7029 - [
84ea6fc57c] - doc: general improvements to repl.md copy (James M Snell) #7002 - [
bfb7e3cc6e] - doc: addadded:information for readline (Julian Duque) #6996 - [
632b411cd0] - doc: improved syntax consistency in console.md (Jonathan Montane) #7062 - [
826bd99486] - doc: specify how to link issues in commit log (Luigi Pinca) #7161 - [
865644a604] - doc: general improvements to querystring.md copy (James M Snell) #7023 - [
dd4c607267] - doc: fix header depth of util.isSymbol (James M Snell) #7138 - [
5086e5f3ee] - doc: general improvements to stream.md copy (James M Snell) #6947 - [
75d6875034] - doc: update licenses (Myles Borins) #7121 - [
dc8cb93c4f] - doc: addadded:information for dns (Julian Duque) #7021 - [
a7c85e6fd5] - doc: addadded:information for path (Julian Duque) #6985 - [
026bf17378] - doc: addaddedinformation for net (Italo A. Casas) #7038 - [
d4a2c82f5f] - doc: general improvements to punycode.md copy (James M Snell) #7025 - [
51d295efe6] - doc: add links to platform specific mechanisms (Michael Dawson) #7071 - [
1600966f59] - fs: execute mkdtemp's callback with no context (Sakthipriyan Vairamani) #7068 - [
ad1045c829] - http: fix no dumping aftermaybeReadMore(Fedor Indutny) #7211 - [
2a462ba1e2] - http: optimize checkInvalidHeaderChar() (Brian White) #6570 - [
4a63be031f] - http: optimize checkIsHttpToken() (Brian White) #6570 - [
40e49dee82] - http: wait for both prefinish/end to keepalive (Fedor Indutny) #7149 - [
e8c91e7557] - repl: refine handling of illegal tokens (Rich Trott) #7104 - [
cf0928ccb7] - src: clean up string_search (Brian White) #7174 - [
b0225e5926] - stream: ensure awaitDrain is increased once (David Halls) #7292 - [
9c6b69ec1b] - stream: reset awaitDrain after manual .resume() (Anna Henningsen) #7160 - [
caa6718a01] - test: fix test-net-* error code check for getaddrinfo(3) (Natanael Copa) #5099 - [
535c8dd554] - test: add more http token/value checking tests (Brian White) #6570 - [
257f4e6202] - test: add note about duration_ms in TAP reporter (Rod Vagg) #7216 - [
798a737f45] - Revert "test: change duration_ms to duration" (Rod Vagg) #7216 - [
72e4e43b91] - test: rebuild add-ons when their sources change (Ben Noordhuis) #7262 - [
eded11705b] - test: use random ports where possible (Brian White) #7045 - [
d54c7c19a6] - test: fix spawn on windows (Brian White) #7049 - [
e873063a3c] - test: enable test-debug-brk-no-arg (Rich Trott) #7143 - [
d6091c8194] - test: use common.fixturesDir almost everywhere (Bryan English) #6997 - [
e8b1456d8b] - test: change duration_ms to duration (Gibson Fahnestock) #7133 - [
6ce26c8c8b] - test: add test for uid/gid setting in spawn (Rich Trott) #7084 - [
40604b54d4] - test: remove disabled eio race test (Rich Trott) #7083 - [
9545c41cba] - tools: fix license builder to work with icu-small (Myles Borins) #7119 - [
6562c9fc75] - tools,doc: add example usage for REPLACEME tag (Anna Henningsen) #6864
下载
下面关于Node.js的内容你可能也喜欢:
在 Ubuntu 14.04/15.04 上安装配置 Node.js v4.0.0 http://www.linuxidc.com/Linux/2015-10/123951.htm
如何在CentOS 7安装Node.js http://www.linuxidc.com/Linux/2015-02/113554.htm
Ubuntu 14.04下搭建Node.js开发环境 http://www.linuxidc.com/Linux/2014-12/110983.htm
Ubunru 12.04 下Node.js开发环境的安装配置 http://www.linuxidc.com/Linux/2014-05/101418.htm
Node.Js入门[PDF+相关代码] http://www.linuxidc.com/Linux/2013-06/85462.htm
Node.js开发指南 高清PDF中文版 +源码 http://www.linuxidc.com/Linux/2014-09/106494.htm
Node.js入门开发指南中文版 http://www.linuxidc.com/Linux/2012-11/73363.htm
Ubuntu 编译安装Node.js http://www.linuxidc.com/Linux/2013-10/91321.htm
Node.js 的详细介绍:请点这里
Node.js 的下载地址:请点这里
本文永久更新链接地址:http://www.linuxidc.com/Linux/2016-06/132449.htm
