🔥码云GVP开源项目 12k star Uniapp+ElementUI 功能强大 支持多语言、二开方便! 广告
* [用法示例](https://nodejs.org/dist/latest-v14.x/docs/api/synopsis.html) * * * * [Assertion testing](https://nodejs.org/dist/latest-v14.x/docs/api/assert.html):该`assert`模块提供了一组用于验证不变量的断言函数。用来测试是否满足条件的,如果不满足就执行中断。断言是一个包含布尔表达式的语句,在执行这个语句时假定该表达式为 true。如果表达式计算为 false,那么系统会报告一个 Assertionerror * * [Async hooks](https://nodejs.org/dist/latest-v14.x/docs/api/async_hooks.html):该`async_hooks`模块提供了一个用于跟踪异步资源的API。可以使用以下命令访问它: ~~~js const async_hooks = require('async_hooks'); ~~~ * * [Buffer](https://nodejs.org/dist/latest-v14.x/docs/api/buffer.html):`Buffer`对象用于表示固定长度的字节序列。许多Node.js API支持`Buffer`。 该`Buffer`班是JavaScript的一个子[`Uint8Array`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array)类,并覆盖更多的用例方法进行了扩展。[`Uint8Array`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array)只要`Buffer`支持,Node.js API都接受plain。 * * [C++ addons](https://nodejs.org/dist/latest-v14.x/docs/api/addons.html):用C ++编写的动态链接的共享对象。该[`require()`](https://nodejs.org/dist/latest-v14.x/docs/api/modules.html#modules_require_id)函数可以将加载项作为普通的Node.js模块加载。插件提供JavaScript和C / C ++库之间的接口 * * [C/C++ addons with N-API](https://nodejs.org/dist/latest-v14.x/docs/api/n-api.html):是用于构建本机插件的API。它独立于底层JavaScript运行时(例如V8),并作为Node.js本身的一部分进行维护 * * [C++ embedder API](https://nodejs.org/dist/latest-v14.x/docs/api/embedding.html):Node.js提供了许多C ++ API,这些API可用于在Node.js环境中通过其他C ++软件执行JavaScript * * [Child processes](https://nodejs.org/dist/latest-v14.x/docs/api/child_process.html) * [Cluster](https://nodejs.org/dist/latest-v14.x/docs/api/cluster.html) * [Command line options](https://nodejs.org/dist/latest-v14.x/docs/api/cli.html) * [Console](https://nodejs.org/dist/latest-v14.x/docs/api/console.html) * [Crypto](https://nodejs.org/dist/latest-v14.x/docs/api/crypto.html) * [Debugger](https://nodejs.org/dist/latest-v14.x/docs/api/debugger.html) * [Deprecated APIs](https://nodejs.org/dist/latest-v14.x/docs/api/deprecations.html) * [DNS](https://nodejs.org/dist/latest-v14.x/docs/api/dns.html) * [Domain](https://nodejs.org/dist/latest-v14.x/docs/api/domain.html) * [Errors](https://nodejs.org/dist/latest-v14.x/docs/api/errors.html) * [Events](https://nodejs.org/dist/latest-v14.x/docs/api/events.html) * [File system](https://nodejs.org/dist/latest-v14.x/docs/api/fs.html) * [Globals](https://nodejs.org/dist/latest-v14.x/docs/api/globals.html) * [HTTP](https://nodejs.org/dist/latest-v14.x/docs/api/http.html) * [HTTP/2](https://nodejs.org/dist/latest-v14.x/docs/api/http2.html) * [HTTPS](https://nodejs.org/dist/latest-v14.x/docs/api/https.html) * [Inspector](https://nodejs.org/dist/latest-v14.x/docs/api/inspector.html) * [Internationalization](https://nodejs.org/dist/latest-v14.x/docs/api/intl.html) * [Modules: CommonJS modules](https://nodejs.org/dist/latest-v14.x/docs/api/modules.html) * [Modules: ECMAScript modules](https://nodejs.org/dist/latest-v14.x/docs/api/esm.html) * [Modules:`module`API](https://nodejs.org/dist/latest-v14.x/docs/api/module.html) * [Net](https://nodejs.org/dist/latest-v14.x/docs/api/net.html) * [OS](https://nodejs.org/dist/latest-v14.x/docs/api/os.html) * [Path](https://nodejs.org/dist/latest-v14.x/docs/api/path.html) * [Performance hooks](https://nodejs.org/dist/latest-v14.x/docs/api/perf_hooks.html) * [Policies](https://nodejs.org/dist/latest-v14.x/docs/api/policy.html) * [Process](https://nodejs.org/dist/latest-v14.x/docs/api/process.html) * [Punycode](https://nodejs.org/dist/latest-v14.x/docs/api/punycode.html) * [Query strings](https://nodejs.org/dist/latest-v14.x/docs/api/querystring.html) * [Readline](https://nodejs.org/dist/latest-v14.x/docs/api/readline.html) * [REPL](https://nodejs.org/dist/latest-v14.x/docs/api/repl.html) * [Report](https://nodejs.org/dist/latest-v14.x/docs/api/report.html) * [Stream](https://nodejs.org/dist/latest-v14.x/docs/api/stream.html) * [String decoder](https://nodejs.org/dist/latest-v14.x/docs/api/string_decoder.html) * [Timers](https://nodejs.org/dist/latest-v14.x/docs/api/timers.html) * [TLS/SSL](https://nodejs.org/dist/latest-v14.x/docs/api/tls.html) * [Trace events](https://nodejs.org/dist/latest-v14.x/docs/api/tracing.html) * [TTY](https://nodejs.org/dist/latest-v14.x/docs/api/tty.html) * [UDP/datagram](https://nodejs.org/dist/latest-v14.x/docs/api/dgram.html) * [URL](https://nodejs.org/dist/latest-v14.x/docs/api/url.html) * [Utilities](https://nodejs.org/dist/latest-v14.x/docs/api/util.html) * [V8](https://nodejs.org/dist/latest-v14.x/docs/api/v8.html) * [VM](https://nodejs.org/dist/latest-v14.x/docs/api/vm.html) * [WASI](https://nodejs.org/dist/latest-v14.x/docs/api/wasi.html) * [Worker threads](https://nodejs.org/dist/latest-v14.x/docs/api/worker_threads.html) * [Zlib](https://nodejs.org/dist/latest-v14.x/docs/api/zlib.html)