11---
2- title : Dependencies
2+ title : 依賴項目
33layout : docs.hbs
44---
55
6- # Dependencies
6+ # 依賴項目
77
8- There are several dependencies that Node.js relies on to work the way it does.
8+ 這裡列出了多個 Node.js 所仰賴的依賴項目,以讓 Node.js 能如預期般運作。
99
10- * [ Libraries ] ( #libraries )
10+ * [ 函式庫 ] ( #libraries )
1111 * [ V8] ( #v8 )
1212 * [ libuv] ( #libuv )
1313 * [ http-parser] ( #http-parser )
1414 * [ c-ares] ( #c-ares )
1515 * [ OpenSSL] ( #openssl )
1616 * [ zlib] ( #zlib )
17- * [ Tools ] ( #tools )
17+ * [ 工具 ] ( #tools )
1818 * [ npm] ( #npm )
1919 * [ gyp] ( #gyp )
2020 * [ gtest] ( #gtest )
2121
22- ## Libraries
22+ <!--
23+ FOR TRANSLATORS: [11.21.19]
24+ 如原標題連結是 [XXX](#XXX) 而要翻譯標題時,
25+ 請將標題改成 <a id='XXX'>XXX 的翻譯</a> 形式,
26+ 否則錨點會跑掉。
27+
28+ 例如:有個標題叫「## Libraries」並有個連結至此標題的連結:
29+ [Libraries](#libraries)
30+
31+ 要將「Libraries」翻譯成「函式庫」,
32+ 則請將標題改成以下形式:
33+
34+ ## <a id='libraries'>函式庫</a>
35+
36+ 而連結翻成這樣:[函式庫](#libraries)
37+ ~~~~~~~~~~
38+ 後方連結_不需_變更
39+ -->
40+
41+ ## <a id =' libraries ' >函式庫</a >
2342
2443### V8
2544
26- The V8 library provides Node.js with a JavaScript engine, which Node.js
27- controls via the V8 C++ API. V8 is maintained by Google, for use in Chrome.
45+ V8 函式庫為 Node.js 提供了 JavaScript 引擎( Node.js 使用 V8 C++ API 控制)。
46+ V8 是 Google 維護用來在 Chrome 使用的。
2847
29- * [ Documentation ] ( https://v8docs.nodesource.com/ )
48+ * [ 文件 ] ( https://v8docs.nodesource.com/ )
3049
3150### libuv
3251
@@ -37,15 +56,15 @@ processes, pipes, signal handling, polling and streaming. It also includes a
3756thread pool for offloading work for some things that can't be done
3857asynchronously at the operating system level.
3958
40- * [ Documentation ] ( http://docs.libuv.org/ )
59+ * [ 文件 ] ( http://docs.libuv.org/ )
4160
4261### llhttp
4362
4463HTTP parsing is handled by a lightweight TypeScript and C library called llhttp.
4564It is designed to not make any syscalls or allocations, so it has a very small
4665per-request memory footprint.
4766
48- * [ Documentation ] ( https://github.com/joyent/http-parser/ )
67+ * [ 文件 ] ( https://github.com/joyent/http-parser/ )
4968
5069### c-ares
5170
@@ -56,25 +75,25 @@ use of threaded `getaddrinfo(3)` calls in libuv. The reason for this is that
5675c-ares supports /etc/hosts, /etc/resolv.conf and /etc/svc.conf, but not things
5776like mDNS.
5877
59- * [ Documentation ] ( https://c-ares.haxx.se/docs.html )
78+ * [ 文件 ] ( https://c-ares.haxx.se/docs.html )
6079
6180### OpenSSL
6281
6382OpenSSL is used extensively in both the ` tls ` and ` crypto ` modules. It provides
6483battle-tested implementations of many cryptographic functions that the modern
6584web relies on for security.
6685
67- * [ Documentation ] ( https://www.openssl.org/docs/ )
86+ * [ 文件 ] ( https://www.openssl.org/docs/ )
6887
6988### zlib
7089
7190For fast compression and decompression, Node.js relies on the industry-standard
7291zlib library, also known for its use in gzip and libpng. Node.js uses zlib to
7392create sync, async and streaming compression and decompression interfaces.
7493
75- * [ Documentation ] ( https://www.zlib.net/manual.html )
94+ * [ 文件 ] ( https://www.zlib.net/manual.html )
7695
77- ## Tools
96+ ## < a id = ' tools ' >工具</ a >
7897
7998### npm
8099
@@ -83,7 +102,7 @@ package manager; for this purpose, npm was made. With npm comes the largest
83102selection of community-created packages of any programming ecosystem,
84103which makes building Node.js apps quick and easy.
85104
86- * [ Documentation ] ( https://docs.npmjs.com/ )
105+ * [ 文件 ] ( https://docs.npmjs.com/ )
87106
88107### gyp
89108
@@ -92,11 +111,11 @@ from V8. It can generate project files for use with build systems across many
92111platforms. Node.js requires a build system because large parts of it — and its
93112dependencies — are written in languages that require compilation.
94113
95- * [ Documentation ] ( https://gyp.gsrc.io/docs/UserDocumentation.md )
114+ * [ 文件 ] ( https://gyp.gsrc.io/docs/UserDocumentation.md )
96115
97116### gtest
98117
99118Native code can be tested using gtest, which is taken from Chromium. It allows
100119testing C/C++ without needing an existing node executable to bootstrap from.
101120
102- * [ Documentation ] ( https://code.google.com/p/googletest/wiki/V1_7_Documentation )
121+ * [ 文件 ] ( https://code.google.com/p/googletest/wiki/V1_7_Documentation )
0 commit comments