阿西河
🔍
推荐阅读
自学前端的误区和痛点
前端学习路线
web前端培训机构有哪些
程序员如何正确提问题
前端开发环境的安装
web前端面试题
JavaScript面向对象
推荐安装的工具和软件
Markdown
正则表达式
前端导航
前端书籍
React常用包
Vue常用包
Angular常用包
Npm常用包
jQuery插件库
Bootstrap生态库
关于本站
i
前端面试题
直击面试考点
HTML
教程
CSS
教程
JavaScript
教程
TypeScript
教程
jQuery
教程
React
教程
Vue.js
教程
Angular
教程
Node.js
教程
Deno
教程
Npm
教程
Bootstrap
教程
Git
教程
Webpack
教程
微信小程序
专题
VSCode
教程
Charles
教程
Markdown
教程
Github
专题介绍
正则表达式
教程
Gulp.js
教程
web3.js
教程
Linux
教程
阿西河前端教程
首页
朱安邦的博客
安邦聊前端
⬆
手机阅读
Node.js API速查表
包含最新Nodejs的API
可以通过按
Ctrl+F
搜索快速定位
命令行选项
命令行选项
node -
node --
node --abort-on-uncaught-exception
node --completion-bash
node --enable-fips
node --experimental-modules
node --experimental-repl-await
node --experimental-vm-modules
node --experimental-worker
node --force-fips
node --icu-data-dir=file
node --inspect-brk[=[host:]port]
node --inspect-port=[host:]port
node --inspect[=[host:]port]
node --loader=file
node --max-http-header-size=size
node --napi-modules
node --no-deprecation
node --no-force-async-hooks-checks
node --no-warnings
node --openssl-config=file
node --pending-deprecation
node --preserve-symlinks
node --preserve-symlinks-main
node --prof
node --prof-process
node --redirect-warnings=file
node --throw-deprecation
node --title=title
node --tls-cipher-list=list
node --trace-deprecation
node --trace-event-categories
node --trace-event-file-pattern
node --trace-events-enabled
node --trace-sync-io
node --trace-warnings
node --track-heap-objects
node --use-bundled-ca, --use-openssl-ca
node --v8-options
node --v8-pool-size=num
node --zero-fill-buffers
node --c/check
node --e/eval script
node -h/help
node -i/interactive
node -p/print script
node -r/require module
node -v/version
node NODE_DEBUG=module
node NODE_DEBUG_NATIVE=module
node NODE_DISABLE_COLORS=1
node NODE_EXTRA_CA_CERTS=file
node NODE_ICU_DATA=file
node NODE_NO_WARNINGS=1
node NODE_OPTIONS=options
node NODE_PATH=path
node NODE_PENDING_DEPRECATION=1
node NODE_PRESERVE_SYMLINKS=1
node NODE_REDIRECT_WARNINGS=file
node NODE_REPL_HISTORY=file
node NODE_TLS_REJECT_UNAUTHORIZED=value
node NODE_V8_COVERAGE=dir
node OPENSSL_CONF=file
node SSL_CERT_DIR=dir
node SSL_CERT_FILE=file
node UV_THREADPOOL_SIZE=size
ECMAScript 模块
ECMAScript 模块
ECMAScript 模块启用
ECMAScript 支持的特性
ECMAScript 不支持的特性
ECMAScript import与require的区别
ECMAScript 与现有模块的交互
ECMAScript 加载器钩子解析
ECMAScript 动态实例化钩子
广告区
广告收入用于本站维护的支出
断言测试 assert
assert 断言测试
assert.AssertionError 类
new assert.AssertionError
assert 严格模式
assert 遗留模式(废弃)
assert()
assert.deepEqual
assert.deepStrictEqual
assert.doesNotReject
assert.doesNotThrow
assert.equal
assert.fail
assert.fail(废弃)
assert.ifError
assert.notDeepEqual
assert.notDeepStrictEqual
assert.notEqual
assert.notStrictEqual
assert.ok
assert.rejects
assert.strictEqual
assert.throws
异步钩子 async_hooks
async_hooks 异步钩子
async_hooks 术语
async_hooks 公共接口概述
async_hooks.createHook
async_hooks 异常处理
async_hooks 在异步钩子回调中打印日志
asyncHook.enable()
asyncHook.disable()
async_hooks 钩子回调 init
async_hooks 钩子回调 before
async_hooks 钩子回调 after
async_hooks 钩子回调 destroy
async_hooks 钩子回调 promiseResolve
async_hooks.executionAsyncId()
async_hooks.triggerAsyncId()
Promise 执行跟踪
async_hooks AsyncResource 类
async_hooks new AsyncResource
async_hooks asyncResource.runInAsyncScope
async_hooks asyncResource.emitBefore(废弃)
async_hooks asyncResource.emitAfter(废弃)
async_hooks asyncResource.emitDestroy
async_hooks asyncResource.asyncId
async_hooks asyncResource.triggerAsyncId
Buffer 缓冲器
Buffer 缓冲器
Buffer.from/alloc/allocUnsafe
Buffer --zero-fill-buffers
Buffer allocUnsafe/allocUnsafeSlow不安全
Buffer 与字符编码
Buffer TypedArray
Buffer 与迭代器
new Buffer(废弃)
Buffer.alloc
Buffer.allocUnsafe
Buffer.allocUnsafeSlow
Buffer.byteLength
Buffer.compare
Buffer.concat
Buffer.from
Buffer.isBuffer
Buffer.isEncoding
Buffer.poolSize
buf[index]
Buffer buf.buffer
Buffer buf.byteOffset
Buffer buf.compare
Buffer buf.copy
Buffer buf.entries
Buffer buf.equals
Buffer buf.fill
Buffer buf.includes
Buffer buf.indexOf
Buffer buf.keys
Buffer buf.lastIndexOf
Buffer buf.length
Buffer buf.parent
Buffer buf.readDoubleBE
Buffer buf.readDoubleLE
Buffer buf.readFloatBE
Buffer buf.readFloatLE
Buffer buf.readInt8
Buffer buf.readInt16BE
Buffer buf.readInt16LE
Buffer buf.readInt32BE
Buffer buf.readInt32LE
Buffer buf.readIntBE
Buffer buf.readIntLE
Buffer buf.readUInt8
Buffer buf.readUInt16BE
Buffer buf.readUInt16LE
Buffer buf.readUInt32BE
Buffer buf.readUInt32LE
Buffer buf.readUIntBE
Buffer buf.readUIntLE
Buffer buf.slice
Buffer buf.swap16
Buffer buf.swap32
Buffer buf.swap64
Buffer buf.toJSON
Buffer buf.toString
Buffer buf.values
Buffer buf.write
Buffer buf.writeDoubleBE
Buffer buf.writeDoubleLE
Buffer buf.writeFloatBE
Buffer buf.writeFloatLE
Buffer buf.writeInt8
Buffer buf.writeInt16BE
Buffer buf.writeInt16LE
Buffer buf.writeInt32BE
Buffer buf.writeInt32LE
Buffer buf.writeIntBE
Buffer buf.writeIntLE
Buffer buf.writeUInt8
Buffer buf.writeUInt16BE
Buffer buf.writeUInt16LE
Buffer buf.writeUInt32BE
Buffer buf.writeUInt32LE
Buffer buf.writeUIntBE
Buffer buf.writeUIntLE
buffer.INSPECT_MAX_BYTES
buffer.kMaxLength
buffer.transcode
Buffer SlowBuffer 类(废弃)
buffer 常量
buffer.constants.MAX_LENGTH
buffer.constants.MAX_STRING_LENGTH
子进程 child_process
child_process 子进程
child_process 创建异步进程
child_process 在 Windows 上衍生 .bat 和 .cmd 文件
child_process.exec
child_process.execFile
child_process.fork
child_process.spawn
child_process 创建同步进程
child_process.execFileSync
child_process.execSync
child_process.spawnSync
child_process close 事件
ChildProcess 类
child_process disconnect 事件
child_process error 事件
child_process exit 事件
child_process message 事件
child_process subprocess.channel
child_process subprocess.connected
child_process subprocess.disconnect
child_process subprocess.kill
child_process subprocess.killed
child_process subprocess.pid
child_process subprocess.ref
child_process subprocess.send
child_process subprocess.stderr
child_process subprocess.stdin
child_process subprocess.stdio
child_process subprocess.stdout
child_process subprocess.unref
child_process maxBuffer 与 Unicode
child_process shell 的要求
child_process Windows 默认的 shell
cluster 集群
cluster 集群
cluster 工作原理
cluster Worker 类
cluster Worker disconnect 事件
cluster Worker error 事件
cluster Worker exit 事件
cluster Worker listening 事件
cluster Worker message 事件
cluster Worker online 事件
cluster worker.disconnect
cluster worker.exitedAfterDisconnect
cluster worker.id
cluster worker.isConnected
cluster worker.isDead
cluster worker.kill
cluster worker.process
cluster worker.send
cluster disconnect 事件
cluster exit 事件
cluster fork 事件
cluster listening 事件
cluster message 事件
cluster online 事件
cluster setup 事件
cluster.disconnect
cluster.fork
cluster.isMaster
cluster.isWorker
cluster.schedulingPolicy
cluster.settings
cluster.setupMaster
cluster.worker
cluster.workers
控制台 console
console 控制台
Console类
new Console
console.assert
console.clear
console.count
console.countReset
console.debug
console.dir
console.dirxml
console.error
console.group
console.groupCollapsed
console.groupEnd
console.info
console.log
console.table
console.time/timeEnd
console.timeLog
console.trace
console.warn
console 仅用于调试的方法
console.markTimeline
console.profile
console.profileEnd
console.timeStamp
console.timeline
console.timelineEnd
加密 crypto
crypto 加密
crypto 检测是否支持 crypto
crypto Certificate 类
crypto Certificate.exportChallenge
crypto Certificate.exportPublicKey
crypto Certificate.verifySpkac
crypto certificate.exportChallenge
crypto certificate.exportPublicKey
crypto certificate.verifySpkac
crypto new crypto.Certificate()
crypto Cipher 类
crypto cipher.final
crypto cipher.setAAD
crypto cipher.getAuthTag
crypto cipher.setAutoPadding
crypto cipher.update
crypto Decipher 类
crypto decipher.final
crypto decipher.setAAD
crypto decipher.setAuthTag
crypto decipher.setAutoPadding
crypto decipher.update
crypto DiffieHellman 类
crypto diffieHellman.computeSecret
crypto diffieHellman.generateKeys
crypto diffieHellman.getGenerator
crypto diffieHellman.getPrime
crypto diffieHellman.getPrivateKey
crypto diffieHellman.getPublicKey
crypto diffieHellman.setPrivateKey
crypto diffieHellman.setPublicKey
crypto diffieHellman.verifyError
crypto ECDH 类
crypto ECDH.convertKey
crypto ecdh.computeSecret
crypto ecdh.generateKeys
crypto ecdh.getPrivateKey
crypto ecdh.getPublicKey
crypto ecdh.setPrivateKey
crypto ecdh.setPublicKey(废弃)
crypto Hash 类
crypto hash.digest
crypto hash.update
crypto Hmac 类
crypto hmac.digest
crypto hmac.update
crypto Sign 类
crypto sign.sign
crypto sign.update
crypto Verify 类
crypto verify.update
crypto verify.verify
crypto.constants
crypto.DEFAULT_ENCODING(废弃)
crypto.fips
crypto.createCipher
crypto.createCipheriv
crypto.createCredentials
crypto.createDecipher
crypto.createDecipheriv
crypto.createDiffieHellman
crypto.createECDH
crypto.createHash
crypto.createHmac
crypto.createSign
crypto.createVerify
crypto.generateKeyPair
crypto.generateKeyPairSync
crypto.getCiphers
crypto.getCurves
crypto.getDiffieHellman
crypto.getFips
crypto.getHashes
crypto.pbkdf2
crypto.pbkdf2Sync
crypto.privateDecrypt
crypto.privateEncrypt
crypto.publicDecrypt
crypto.publicEncrypt
crypto.randomBytes
crypto.randomFillSync
crypto.randomFill
crypto.scrypt
crypto.scryptSync
crypto.setEngine
crypto.setFips
crypto.timingSafeEqual
crypto 注意事项
crypto OpenSSL 选项
crypto OpenSSL 引擎的常量
crypto 其他 OpenSSL 常量
crypto 常量
调试器 debugger
debugger 调试器
debugger 监视器
debugger 步进
debugger 断点
debugger 信息
debugger 执行控制
debugger 杂项
V8检查器集成
数据报 dgram
dgram 数据报
dgram.Socket 类
dgram.Socket close 事件
dgram.Socket error 事件
dgram.Socket listening 事件
dgram.Socket message 事件
dgram socket.addMembership
dgram socket.address
dgram socket.bind
dgram socket.close
dgram socket.dropMembership
dgram socket.getRecvBufferSize
dgram socket.getSendBufferSize
dgram socket.ref
dgram socket.send
dgram socket.setBroadcast
dgram socket.setMulticastInterface
dgram socket.setMulticastLoopback
dgram socket.setMulticastTTL
dgram socket.setRecvBufferSize
dgram socket.setSendBufferSize
dgram socket.setTTL
dgram socket.unref
dgram dgram.createSocket
DNS
dns 域名服务器
dns Resolver 类
dns resolver.cancel
dns dns.getServers
dns dns.lookup
dns 支持的 getaddrinfo
dns dns.lookupService
dns dns.resolve
dns dns.resolve4
dns dns.resolve6
dns dns.resolveAny
dns dns.resolveCname
dns dns.resolveMx
dns dns.resolveNaptr
dns dns.resolveNs
dns dns.resolvePtr
dns dns.resolveSoa
dns dns.resolveSrv
dns dns.resolveTxt
dns dns.reverse
dns dns.setServers
dns dnsPromises.Resolver 类
dns dnsPromises.getServers
dns dnsPromises.lookup
dns dnsPromises.lookupService
dns dnsPromises.resolve
dns dnsPromises.resolve4
dns dnsPromises.resolve6
dns dnsPromises.resolveAny
dns dnsPromises.resolveCname
dns dnsPromises.resolveMx
dns dnsPromises.resolveNaptr
dns dnsPromises.resolveNs
dns dnsPromises.resolvePtr
dns dnsPromises.resolveSoa
dns dnsPromises.resolveSrv
dns dnsPromises.resolveTxt
dns dnsPromises.reverse
dns dnsPromises.setServers
dns 错误码
dns 注意事项
domain 废弃
domain
domain 不要无视报错
domain 错误对象的补充
domain 隐式的绑定
domain 显式的绑定
domain.create()
Domain 类
domain.members
domain.add
domain.bind
domain.enter
domain.exit
domain.intercept
domain.remove
domain.run
domain 与 Promise
Error 异常
Error 异常
Error 错误的冒泡和捕获
Error 回调中的 Error 参数
Error 类
new Error
Error.captureStackTrace
Error.stackTraceLimit
nodejs error.code
nodejs error.message
error.stack
AssertionError 类
RangeError 类
ReferenceError 类
SyntaxError 类
TypeError 类
异常与错误
系统错误
SystemError 类
error.address
error.code
error.dest
error.errno
error.info
error.message
error.path
error.port
error.syscall
常见的系统错误
错误码
ERR_AMBIGUOUS_ARGUMENT
ERR_ARG_NOT_ITERABLE
ERR_ASSERTION
ERR_ASYNC_CALLBACK
ERR_ASYNC_TYPE
ERR_BUFFER_OUT_OF_BOUNDS
ERR_BUFFER_TOO_LARGE
ERR_CANNOT_TRANSFER_OBJECT
ERR_CANNOT_WATCH_SIGINT
ERR_CHILD_CLOSED_BEFORE_REPLY
ERR_CHILD_PROCESS_IPC_REQUIRED
ERR_CHILD_PROCESS_STDIO_MAXBUFFER
ERR_CLOSED_MESSAGE_PORT
ERR_CONSOLE_WRITABLE_STREAM
ERR_CONSTRUCT_CALL_REQUIRED
ERR_CPU_USAGE
ERR_CRYPTO_CUSTOM_ENGINE_NOT_SUPPORTED
ERR_CRYPTO_ECDH_INVALID_FORMAT
ERR_CRYPTO_ECDH_INVALID_PUBLIC_KEY
ERR_CRYPTO_ENGINE_UNKNOWN
ERR_CRYPTO_FIPS_FORCED
ERR_CRYPTO_FIPS_UNAVAILABLE
ERR_CRYPTO_HASH_DIGEST_NO_UTF16
ERR_CRYPTO_HASH_FINALIZED
ERR_CRYPTO_HASH_UPDATE_FAILED
ERR_CRYPTO_INCOMPATIBLE_KEY_OPTIONS
ERR_CRYPTO_INVALID_DIGEST
ERR_CRYPTO_INVALID_STATE
ERR_CRYPTO_PBKDF2_ERROR
ERR_CRYPTO_SCRYPT_INVALID_PARAMETER
ERR_CRYPTO_SCRYPT_NOT_SUPPORTED
ERR_CRYPTO_SIGN_KEY_REQUIRED
ERR_CRYPTO_TIMING_SAFE_EQUAL_LENGTH
ERR_DNS_SET_SERVERS_FAILED
ERR_DOMAIN_CALLBACK_NOT_AVAILABLE
ERR_DOMAIN_CANNOT_SET_UNCAUGHT_EXCEPTION_CAPTURE
ERR_ENCODING_INVALID_ENCODED_DATA
ERR_ENCODING_NOT_SUPPORTED
ERR_FALSY_VALUE_REJECTION
ERR_FS_FILE_TOO_LARGE
ERR_FS_INVALID_SYMLINK_TYPE
ERR_HTTP_HEADERS_SENT
ERR_HTTP_INVALID_HEADER_VALUE
ERR_HTTP_INVALID_STATUS_CODE
ERR_HTTP_TRAILER_INVALID
ERR_HTTP2_ALTSVC_INVALID_ORIGIN
ERR_HTTP2_ALTSVC_LENGTH
ERR_HTTP2_CONNECT_AUTHORITY
ERR_HTTP2_CONNECT_PATH
ERR_HTTP2_CONNECT_SCHEME
ERR_HTTP2_ERROR
ERR_HTTP2_ERROR
ERR_HTTP2_GOAWAY_SESSION
ERR_HTTP2_HEADERS_AFTER_RESPOND
ERR_HTTP2_HEADERS_SENT
ERR_HTTP2_HEADER_SINGLE_VALUE
ERR_HTTP2_INFO_STATUS_NOT_ALLOWED
ERR_HTTP2_INVALID_CONNECTION_HEADERS
ERR_HTTP2_INVALID_HEADER_VALUE
ERR_HTTP2_INVALID_INFO_STATUS
ERR_HTTP2_INVALID_ORIGIN
ERR_HTTP2_INVALID_PACKED_SETTINGS_LENGTH
ERR_HTTP2_INVALID_PSEUDOHEADER
ERR_HTTP2_INVALID_SESSION
ERR_HTTP2_INVALID_SETTING_VALUE
ERR_HTTP2_INVALID_STREAM
ERR_HTTP2_MAX_PENDING_SETTINGS_ACK
ERR_HTTP2_NESTED_PUSH
ERR_HTTP2_NO_SOCKET_MANIPULATION
ERR_HTTP2_ORIGIN_LENGTH
ERR_HTTP2_OUT_OF_STREAMS
ERR_HTTP2_PAYLOAD_FORBIDDEN
events
events 事件触发器
将参数和this传给监听器
异步 VS 同步
仅处理事件一次
events 错误事件
EventEmitter 类
newListener事件
removeListener 事件
EventEmitter.listenerCount
EventEmitter.defaultMaxListeners
emitter.addListener
emitter.emit
emitter.eventNames
emitter.getMaxListeners
emitter.listenerCount
emitter.listeners
emitter.off
emitter.on
emitter.once
emitter.prependListener
emitter.prependOnceListener
emitter.removeAllListeners
emitter.removeListener
emitter.setMaxListeners
emitter.rawListeners
文件系统 fs
fs 文件系统
文件路径
URL 对象的支持
文件描述符
线程池的使用
fs.Dirent 类
fs dirent.isBlockDevice
fs dirent.isCharacterDevice
fs dirent.isDirectory
fs dirent.isFIFO
fs dirent.isFile
fs dirent.isSocket
fs dirent.isSymbolicLink
fs dirent.name
fs.FSWatcher 类
fs change 事件
fs close 事件
fs error 事件
fs watcher.close
fs.ReadStream 类
fs close 事件
fs open 事件
fs ready 事件
fs readStream.bytesRead
fs readStream.path
fs.Stats 类
fs stats.isBlockDevice
fs stats.isCharacterDevice
fs stats.isDirectory
fs stats.isFIFO
fs stats.isFile
fs stats.isSocket
fs stats.isSymbolicLink
fs stats.dev
fs stats.ino
fs stats.mode
fs stats.nlink
fs stats.uid
fs stats.gid
fs stats.rdev
fs stats.size
fs stats.blksize
fs stats.blocks
fs stats.atimeMs
fs stats.mtimeMs
fs stats.ctimeMs
fs stats.birthtimeMs
fs stats.atime
fs stats.mtime
fs stats.ctime
fs stats.birthtime
fs 文件属性的时间值
fs WriteStream 类
fs WriteStream close 事件
fs WriteStream open 事件
fs WriteStream ready 事件
fs WriteStream.bytesWritten
fs WriteStream.path
fs.access
fs.accessSync
fs.appendFile
fs.appendFileSync
fs.chmod
fs.chmodSync
fs.chown
fs.chownSync
fs.close
fs.closeSync
fs.constants
fs.copyFile
fs.copyFileSync
fs.createReadStream
fs.createWriteStream
fs.exists(废弃)
fs.existsSync
fs.fchmod
fs.fchmodSync
fs.fchown
fs.fchownSync
fs.fdatasync
fs.fdatasyncSync
fs.fstat
fs.fstatSync
fs.fsync
fs.fsyncSync
fs.ftruncate
fs.ftruncateSync
fs.futimes
fs.futimesSync
fs.lchmod
fs.lchmodSync
fs.lchown
fs.lchownSync
fs.link
fs.linkSync
fs.lstat
fs.lstatSync
fs.mkdir
global
global
global Buffer 类
global __dirname
global __filename
clearImmediate
clearInterval
clearTimeout
console
exports
global prototype
module
process
require
setImmediate
setInterval
setTimeout
URL
URLSearchParams
WebAssembly
HTTP
HTTP
http.Agent 类
http new Agent
http agent.createConnection
http agent.keepSocketAlive
http agent.reuseSocket
http agent.destroy
http agent.freeSockets
http agent.getName
http agent.maxFreeSockets
http agent.maxSockets
http agent.requests
http agent.sockets
http ClientRequest 类
http ClientRequest abort 事件
http ClientRequest connect 事件
http ClientRequest continue 事件
http ClientRequest information 事件
http ClientRequest response 事件
http ClientRequest socket 事件
http ClientRequest timeout 事件
http ClientRequest upgrade 事件
http request.abort
http request.aborted
http request.connection
http request.end
http request.finished
http request.flushHeaders
http request.getHeader
http request.maxHeadersCount
http request.removeHeader
http request.setHeader
http request.setNoDelay
http request.setSocketKeepAlive
http request.setTimeout
http request.socket
http request.write
http.Server 类
http.Server checkContinue 事件
http.Server checkExpectation 事件
http.Server clientError 事件
http.Server close 事件
http.Server connect 事件
http.Server connection 事件
http.Server request 事件
http.Server upgrade 事件
http server.close
http server.listen
http server.listening
http server.maxHeadersCount
http server.headersTimeout
http server.setTimeout
http server.timeout
http server.keepAliveTimeout
http ServerResponse 类
http ServerResponse close 事件
http ServerResponse finish 事件
http response.addTrailers
http response.connection
http response.end
http response.finished
http response.getHeader
http response.getHeaderNames
http response.getHeaders
http response.hasHeader
http response.headersSent
http response.removeHeader
http response.sendDate
http response.setHeader
http response.setTimeout
http response.socket
http response.statusCode
http response.statusMessage
http response.write
http response.writeContinue
http response.writeHead
http response.writeProcessing
http.IncomingMessage 类
http.IncomingMessage aborted 事件
http.IncomingMessage close 事件
http message.aborted
http message.complete
http message.destroy
http message.headers
http message.httpVersion
http message.method
http message.rawHeaders
http message.rawTrailers
http message.setTimeout
http message.socket
http message.statusCode
http message.statusMessage
http message.trailers
message.url
http.METHODS
http.STATUS_CODES
http.createServer
http.get
http.globalAgent
http.maxHeaderSize
HTTP2
HTTP2
HTTP2 服务器端示例
HTTP2 客户端示例
Http2Session 类
Http2Session 与 Socket
Http2Session close 事件
Http2Session connect 事件
Http2Session error 事件
Http2Session frameError 事件
Http2Session goaway 事件
Http2Session localSettings 事件
Http2Session Event ping
Http2Session remoteSettings 事件
Http2Session stream 事件
Http2Session timeout 事件
http2session.alpnProtocol
http2session.close
http2session.closed
http2session.connecting
http2session.destroy
http2session.destroyed
http2session.encrypted
http2session.goaway
http2session.localSettings
http2session.originSet
http2session.pendingSettingsAck
http2session.ping
http2session.ref
http2session.remoteSettings
http2session.setTimeout
http2session.socket
http2session.state
http2session.settings
http2session.type
http2session.unref
ServerHttp2Session 类
serverhttp2session.altsvc
指定备选服务器
ClientHttp2Session 类
ClientHttp2Session altsvc 事件
ClientHttp2Session origin 事件
clienthttp2session.request
Http2Stream 类
Http2Stream 的生命周期
Http2Stream aborted 事件
Http2Stream close 事件
Http2Stream error 事件
Http2Stream frameError 事件
Http2Stream timeout 事件
Http2Stream trailers 事件
Http2Stream wantTrailers 事件
http2stream.aborted
http2stream.close
http2stream.closed
http2stream.destroyed
http2stream.endAfterHeaders
http2stream.pending
http2stream.priority
http2stream.rstCode
http2stream.sentHeaders
http2stream.sentInfoHeaders
http2stream.sentTrailers
http2stream.session
http2stream.setTimeout
http2stream.state
http2stream.sendTrailers
ClientHttp2Stream 类
ClientHttp2Stream continue 事件
ClientHttp2Stream headers 事件
ClientHttp2Stream push 事件
ClientHttp2Stream response 事件
ServerHttp2Stream 类
http2stream.additionalHeaders
http2stream.headersSent
http2stream.pushAllowed
http2stream.pushStream
http2stream.respond
http2stream.respondWithFD
http2stream.respondWithFile
Http2Server 类
Http2Server checkContinue 事件
Http2Server request 事件
Http2Server session 事件
Http2Server sessionError 事件
Http2Server stream 事件
Http2Server timeout 事件
server.close
server.setTimeout
Http2SecureServer 类
Http2SecureServer checkContinue 事件
Http2SecureServer request 事件
Http2SecureServer session 事件
Http2SecureServer sessionError 事件
Http2SecureServer stream 事件
Http2SecureServer timeout 事件
Http2SecureServer unknownProtocol 事件
server.close
server.setTimeout
http2.createServer
HTTPS
HTTPS
https.Agent 类
https.Server 类
https server.close
https server.listen
https server.maxHeadersCount
https server.headersTimeout
https server.setTimeout
https server.timeout
https server.keepAliveTimeout
https.createServer
https.get
https.globalAgent
https.request
inspector 检查器
inspector 检查器
inspector.close
inspector.console
inspector.open
inspector.url
inspector.Session
new inspector.Session
inspector inspectorNotification 事件
inspector inspector-protocol-method 事件
inspector session.connect
inspector session.disconnect
inspector session.post
inspector CPU 分析器
module
module 模块
require.main
module 包管理的逻辑
module 模块查找顺序
module 缓存机制
module 核心模块
module 循环
module 文件模块查找顺序
module 目录作为模块
module 从node_modules 目录加载
module 从全局目录加载
module 模块封装函数
module 模块作用域
__dirname
__filename
module的exports
module module
module.require
require.cache
require.extensions(废弃)
require.main
require.resolve
require.resolve.paths
module 对象
module.children
module.exports
exports 快捷方式
module.filename
module.id
module.loaded
module.parent
module.paths
module.require(id)
module.builtinModules
module.createRequireFromPath
net 网络
net 网络
net IPC 支持
net IPC 连接的识别路径
net.Server 类
new net.Server
net.Server close 事件
net.Server connection 事件
net.Server error 事件
net.Server listening 事件
server.address
server.close
server.connections 废弃
server.getConnections
server.listen
server.listening
server.maxConnections
server.ref
server.unref
net.Socket 类
new net.Socket
net.Socket close 事件
net.Socket connect 事件
net.Socket data 事件
net.Socket drain 事件
net.Socket end 事件
net.Socket error 事件
net.Socket lookup 事件
net.Socket ready 事件
net.Socket timeout 事件
socket.address
socket.bufferSize
socket.bytesRead
socket.bytesWritten
socket.connect
socket.connecting
socket.destroy
socket.destroyed
socket.end
socket.localAddress
socket.localPort
socket.pause
socket.ref
socket.remoteAddress
socket.remoteFamily
socket.remotePort
socket.resume
socket.setEncoding
socket.setKeepAlive
socket.setNoDelay
socket.setTimeout
socket.unref
socket.write
net.connect
net.createConnection
net.createServer
net.isIP
net.isIPv4
net.isIPv6
os操作系统
os 操作系统
os.EOL
os.arch
os.constants
os.cpus
os.endianness
os.freemem
os.getPriority
os.homedir
os.hostname
os.loadavg
os.networkInterfaces
os.platform
os.release
os.setPriority
os.tmpdir
os.totalmem
os.type
os.uptime
os.userInfo
OS 常量
os 信号常量
os POSIX错误常量
os Windows 系统特有的错误常量
os dlopen Constants
os Priority Constants
libuv 常量
path
path 路径
path Windows 与 POSIX
path.basename
path.delimiter
path.dirname
path.extname
path.format
path.isAbsolute
path.join
path.normalize
path.parse
path.posix
path.relative
path.resolve
path.sep
path.toNamespacedPath
path.win32
perf_hooks 性能钩子
perf_hooks 性能钩子
perf_hooks Performance 类
perf_hooks performance.clearMarks
perf_hooks performance.mark
perf_hooks performance.measure
perf_hooks performance.nodeTiming
perf_hooks performance.now
perf_hooks performance.timeOrigin
perf_hooks performance.timerify
perf_hooks PerformanceEntry 类
perf_hooks performanceEntry.duration
perf_hooks performanceEntry.name
perf_hooks performanceEntry.startTime
perf_hooks performanceEntry.entryType
perf_hooks performanceEntry.kind
perf_hooks PerformanceNodeTiming 类
perf_hooks PerformanceNodeTiming.bootstrapComplete
perf_hooks PerformanceNodeTiming.loopExit
perf_hooks PerformanceNodeTiming.loopStart
perf_hooks PerformanceNodeTiming.nodeStart
perf_hooks PerformanceNodeTiming.v8Start
perf_hooks PerformanceObserver 类
perf_hooks new PerformanceObserver
perf_hooks performanceObserver.disconnect
perf_hooks performanceObserver.observe
perf_hooks PerformanceObserverEntryList 类
perf_hooks PerformanceObserverEntryList.getEntries
perf_hooks PerformanceObserverEntryList.getEntriesByName
perf_hooks PerformanceObserverEntryList.getEntriesByType
perf_hooks 测量异步操作的时长
perf_hooks 测量加载依赖的耗时
process 进程
process 进程
process 进程事件
process beforeExit 事件
process disconnect 事件
process exit 事件
process message 事件
process multipleResolves 事件
process rejectionHandled 事件
process uncaughtException 事件
process 正确地使用 uncaughtException
process unhandledRejection 事件
process warning 事件
process 触发自定义的告警
process 信号事件
process.abort
process.allowedNodeEnvironmentFlags
process.arch
process.argv
process.channel
process.chdir
process.config
process.connected
process.cpuUsage
process.cwd
process.debugPort
process.disconnect
process.dlopen
process.emitWarning
process 避免重复告警
process.env
process.execArgv
process.execPath
process.exit
process.exitCode
process.getegid
process.geteuid
process.getgid
process.getgroups
process.getuid
process.hasUncaughtExceptionCaptureCallback
process.hrtime
process.hrtime.bigint
process.initgroups
process.kill
process.mainModule
process.memoryUsage
process.nextTick
process.noDeprecation
process.pid
process.platform
process.ppid
process.release
process.send
process.setegid
process.seteuid
process.setgid
process.setgroups
process.setuid
process.setUncaughtExceptionCaptureCallback
process.stderr
process.stdin
process.stdout
process 进程 I/O 的注意事项
process.throwDeprecation
process.title
process.traceDeprecation
process.umask
process.uptime
process.version
process.versions
process 退出码
punycode 废弃
punycode 域名代码
punycode.decode
punycode.encode
punycode.toASCII
punycode.toUnicode
punycode.ucs2
punycode.ucs2.decode
punycode.ucs2.encode
punycode.version
querystring
querystring 查询字符串
querystring.escape
querystring.parse
querystring.stringify
querystring.unescape
readline 逐行读取
readline 逐行读取
readline Interface 类
readline interface close 事件
readline interface line 事件
readline interface pause 事件
readline interface resume 事件
readline interface SIGCONT 事件
readline interface SIGINT 事件
readline interface SIGTSTP 事件
readline rl.close
readline rl.pause
readline rl.prompt
readline rl.question
readline rl.resume
readline rl.setPrompt
readline rl.write
readline.clearLine
readline.clearScreenDown
readline.createInterface
readline completer 函数的使用
readline.cursorTo
readline.emitKeypressEvents
readline.moveCursor
readline 微型 CLI 例子
readline 逐行读取文件流 例子
repl
repl 交互式解释器
repl 设计与特性
repl 命令与特殊键
repl 默认的解释器
repl JavaScript 表达式
repl 全局作用域与局部作用域
repl 访问 Node.js 核心模块
repl 全局的未捕获异常
repl _下划线变量的赋值
repl await 关键词
repl 自定义的解释函数
可恢复的错误
repl 自定义 REPL 输出
REPLServer 类
replServer exit 事件
replServer reset 事件
replServer.defineCommand
replServer.displayPrompt
replServer.clearBufferedCommand
replServer.parseREPLKeyword 废弃
repl.start
的 REPL
环境变量选项
历史记录
在高级的行编辑器中使用 Node.js REPL
在一个 Node.js 实例中启动多个 REPL 实例
stream
stream 流
stream 流的类型
stream 对象模式
stream 缓冲
stream 用于消费流的 API
stream 可写流
stream.Writable 类
stream.Writable close 事件
stream.Writable drain 事件
stream.Writable error 事件
stream.Writable finish 事件
stream.Writable pipe 事件
stream.Writable unpipe 事件
stream writable.cork
writable.destroy
stream writable.end
stream writable.setDefaultEncoding
stream writable.uncork
stream writable.writable
stream writable.writableHighWaterMark
stream writable.writableLength
writable.write
stream 可读流
stream 两种读取模式
stream 三种状态
stream 选择一种接口风格
stream.Readable 类
stream.Readable close 事件
stream.Readable data 事件
stream.Readable end 事件
stream.Readable error 事件
stream.Readable readable 事件
readable.destroy
stream readable.isPaused
stream readable.pause
stream readable.pipe
readable.read
stream readable.readable
stream readable.readableHighWaterMark
stream readable.readableLength
stream readable.resume
stream readable.setEncoding
stream readable.unpipe
stream readable.unshift
stream readable.wrap
stream readable 试验
stream.Duplex 类
stream.Transform 类
transform.destroy
stream.finished
stream.pipeline
用于实现流的 API
stream 简单的实现
stream 实现可写流
new stream.Writable
writable._write
writable._writev
writable._destroy
writable._final
写入时的异常处理
stream 可写流的例子
stream 在可写流中解码 buffer
stream 实现可读流
new stream.Readable
readable._read
readable._destroy
readable.push
stream 读取时的异常处理
stream 可读流的例子
stream 实现双工流
new stream.Duplex
stream 双工流的例子
stream 对象模式的双工流
stream 实现转换流
new stream.Transform
Transform 'finish' 与 'end' 事件
transform._flush
transform._transform
stream.PassThrough 类
stream 兼容旧版本的 Node.js
stream readable.read 注意事项
stream readable.push 注意事项
stream 调用 readable.setEncoding 之后 highWaterMark 的差异
string_decoder
string_decoder 字符串解码器
StringDecoder 类
new StringDecoder
stringDecoder.end
stringDecoder.write
timer
timer 定时器
timer Immediate 类
timer immediate.ref
timer immediate.unref
timer Timeout 类
timer timeout.ref
timer timeout.refresh
timer timeout.unref
timer 预定定时器
timer setImmediate
timer setInterval
timer setTimeout
timer 取消定时器
timer clearImmediate
timer clearInterval
timer clearTimeout
tls/ssl
tls 安全传输层
TLS/SSL 概念
tls 完美的前瞻性加密
tls ALPN 和 SNI
tls 客户端发起的重新协商攻击缓解
tls 修改默认TLS密码套件
tls.Server类
tls Server newSession 事件
tls Server OCSPRequest 事件
tls Server resumeSession 事件
tls Server secureConnection 事件
tls Server tlsClientError 事件
tls server.addContext
tls server.address
tls server.close
tls server.connections 废
tls server.getTicketKeys
tls server.listen
tls server.setTicketKeys
tls.TLSSocket 类
new tls.TLSSocket
tls TLSSocket OCSPResponse 事件
tls TLSSocket secureConnect 事件
tlsSocket.address
tlsSocket.authorizationError
tlsSocket.authorized
tlsSocket.disableRenegotiation
tlsSocket.encrypted
tlsSocket.getCipher
tlsSocket.getEphemeralKeyInfo
tlsSocket.getFinished
tlsSocket.getPeerCertificate
tlsSocket.getPeerFinished
tlsSocket.getProtocol
tlsSocket.getSession
tlsSocket.getTLSTicket
tlsSocket.localAddress
tlsSocket.localPort
tlsSocket.remoteAddress
tlsSocket.remoteFamily
tlsSocket.remotePort
tlsSocket.renegotiate
tlsSocket.setMaxSendFragment
tls.checkServerIdentity
tls.connect
tls.createSecureContext
tls.createServer
tls.getCiphers
tls.DEFAULT_ECDH_CURVE
tls CryptoStream 类 废弃
tls cryptoStream.bytesWritten 废弃
tls SecurePair 类 废弃
tls SecurePair secure 事件 废弃
tls.createSecurePair 废弃
trace_events 试验
trace_events 跟踪事件
trace_events Tracing 对象
trace_events tracing.categories
trace_events tracing.disable
trace_events tracing.enable
trace_events tracing.enabled
trace_events.createTracing
trace_events.getEnabledCategories
tty
tty 终端
tty.ReadStream 类
tty readStream.isRaw
tty readStream.isTTY
tty readStream.setRawMode
tty WriteStream 类
tty WriteStream resize 事件
tty WriteStream clearLine
tty WriteStream clearScreenDown
tty WriteStream columns
tty WriteStream cursorTo
tty WriteStream getColorDepth
tty WriteStream getWindowSize
tty WriteStream isTTY
tty WriteStream moveCursor
tty WriteStream rows
tty WriteStream isatty
url
URL
URL 字符串与 URL 对象
URL 类
new URL
url.hash
url.host
url.hostname
url.href
url.origin
url.password
url.pathname
url.port
url.protocol
url.search
url.searchParams
url.username
url.toString
url.toJSON
URLSearchParams 类
new URLSearchParams
urlSearchParams.append
urlSearchParams.delete
urlSearchParams.entries
urlSearchParams.forEach
urlSearchParams.get
urlSearchParams.getAll
urlSearchParams.has
urlSearchParams.keys
urlSearchParams.set
urlSearchParams.sort
urlSearchParams.toString
urlSearchParams.values
urlSearchParams[Symbol.iterator]()
url.domainToASCII
url.domainToUnicode
url.fileURLToPath
url.format
url.pathToFileURL
遗留的 URL 接口
urlObject.auth
urlObject.hash
urlObject.host
urlObject.hostname
urlObject.href
urlObject.path
urlObject.pathname
urlObject.port
urlObject.protocol
urlObject.query
urlObject.search
urlObject.slashes
urlObject.format
urlObject.parse
urlObject.resolve
URL 中的百分号编码
util
util 实用工具
util.callbackify
util.debuglog
util.deprecate
util.format
util.formatWithOptions
util.getSystemErrorName
util.inherits
util.inspect
自定义 util.inspect 的颜色
自定义对象的查看函数
util.inspect.custom
util.inspect.defaultOptions
util.isDeepStrictEqual
util.promisify
自定义 promisify 函数
util.promisify.custom
util.TextDecoder 类
WHATWG 支持的字符编码
new TextDecoder
textDecoder.decode
textDecoder.encoding
textDecoder.fatal
textDecoder.ignoreBOM
util.TextEncoder 类
textEncoder.encode
textEncoder.encoding
util.types
util.types.isAnyArrayBuffer
util.types.isArgumentsObject
util.types.isArrayBuffer
util.types.isAsyncFunction
util.types.isBigInt64Array
util.types.isBigUint64Array
util.types.isBooleanObject
util.types.isBoxedPrimitive
util.types.isDataView
util.types.isDate
util.types.isExternal
util.types.isFloat32Array
util.types.isFloat64Array
util.types.isGeneratorFunction
util.types.isGeneratorObject
util.types.isInt8Array
util.types.isInt16Array
util.types.isInt32Array
util.types.isMap
util.types.isMapIterator
util.types.isModuleNamespaceObject
util.types.isNativeError
util.types.isNumberObject
util.types.isPromise
util.types.isProxy
util.types.isRegExp
util.types.isSet
util.types.isSetIterator
util.types.isSharedArrayBuffer
util.types.isStringObject
util.types.isSymbolObject
util.types.isTypedArray
util.types.isUint8Array
util.types.isUint8ClampedArray
util.types.isUint16Array
util.types.isUint32Array
util.types.isWeakMap
util.types.isWeakSet
util.types.isWebAssemblyCompiledModule
util 废弃API
util._extend 废弃
util.debug 废弃
util.error 废弃
util.isArray 废弃
util.isBoolean 废弃
util.isBuffer 废弃
util.isDate 废弃
util.isError 废弃
util.isFunction 废弃
util.isNull 废弃
util.isNullOrUndefined 废弃
util.isNumber 废弃
util.isObject 废弃
util.isPrimitive 废弃
util.isRegExp 废弃
util.isString 废弃
util.isSymbol 废弃
util.isUndefined 废弃
util.log 废弃
util.print 废弃
util.puts 废弃
v8
v8
v8.cachedDataVersionTag
v8.getHeapSpaceStatistics
v8.getHeapStatistics
v8.setFlagsFromString
v8.serialize
v8.deserialize
v8.Serializer 类
v8 new Serializer()
v8 serializer.writeHeader
v8 serializer.writeValue
v8 serializer.releaseBuffer
v8 serializer.transferArrayBuffer
v8 serializer.writeUint32
v8 serializer.writeUint64
v8 serializer.writeDouble
v8 serializer.writeRawBytes
v8 serializer._writeHostObject
v8 serializer._getDataCloneError
v8 serializer._getSharedArrayBufferId
v8 serializer._setTreatArrayBufferViewsAsHostObjects
v8.Deserializer 类
v8 new Deserializer
v8 deserializer.readHeader
v8 deserializer.readValue
v8 deserializer.transferArrayBuffer
v8 deserializer.getWireFormatVersion
v8 deserializer.readUint32
v8 deserializer.readUint64
v8 deserializer.readDouble
v8 deserializer.readRawBytes
v8 deserializer._readHostObject
v8 DefaultSerializer 类
v8 DefaultDeserializer 类
vm
vm
vm.SourceTextModule 类
new vm.SourceTextModule
module.dependencySpecifiers
module.error
module.evaluate
module.instantiate
module.link
module.linkingStatus
module.namespace
module.status
module.url
vm.Script 类
new vm.Script
script.createCachedData
script.runInContext
script.runInNewContext
script.runInThisContext
script.compileFunction
script.createContext
script.isContext
script.runInContext
script.runInNewContext
script.runInThisContext
在VM中运行HTTP服务器
上下文中对象的意义
使用process.nextTick()和Promises时的超时限制
worker_threads 试验
worker_threads 工作线程
worker.isMainThread
worker.parentPort
worker.threadId
worker.workerData
worker_threads MessageChannel 类
worker_threads MessagePort 类
MessagePort close 事件
MessagePort message 事件
MessagePort port.close
MessagePort port.postMessage
MessagePort port.ref
MessagePort port.start
MessagePort port.unref
Worker 类
new Worker
Worker error 事件
Worker exit 事件
Worker message 事件
Worker online 事件
worker.postMessage
worker.ref
worker.stderr
worker.stdin
worker.stdout
worker.terminate
worker.threadId
worker.unref
zlib
zlib 压缩
zlib Threadpool Usage
zlib Compressing HTTP requests and responses
zlib Memory Usage Tuning
zlib Flushing
zlib.constants
zlib Class Options
zlib Class zlib.Deflate
zlib Class zlib.DeflateRaw
zlib Class zlib.Gunzip
zlib Class zlib.Gzip
zlib Class zlib.Inflate
zlib Class zlib.InflateRaw
zlib Class zlib.Unzip
zlib Class zlib.Zlib
zlib.bytesRead
zlib.bytesWritten
zlib.close
zlib.flush
zlib.params
zlib.reset
zlib.constants
zlib.createDeflate
zlib.createDeflateRaw
zlib.createGunzip
zlib.createGzip
zlib.createInflate
zlib.createInflateRaw
zlib.createUnzip
zlib Convenience Methods
zlib.deflate
zlib.deflateSync
zlib.deflateRaw
zlib.deflateRawSync
zlib.gunzip
zlib.gunzipSync
zlib.gzip
zlib.gzipSync
zlib.inflate
zlib.inflateSync
zlib.inflateRaw
zlib.inflateRawSync
zlib.unzip
zlib.unzipSync
C++插件
C++插件
C++插件Hello world
C++插件 上下文感知的插件
C++插件 构建
C++插件 链接到 Node.js 自有的依赖
C++插件 使用 require() 加载插件
C++插件 的原生抽象
C++插件 N-API
C++插件 示例
C++插件 函数的参数
C++插件 回调
C++插件 对象工厂
C++插件 函数工厂
C++插件 包装 C++ 对象
C++插件 包装对象的工厂
C++插件 传递包装的对象
C++插件 AtExit 钩子
C++插件 void AtExit
C++插件-N-API
N-API
N-API ABI 稳定性的影响
N-API 用法
N-API 版本矩阵
基本的 N-API 数据类型
napi_status
napi_extended_error_info
napi_env
napi_value
napi_threadsafe_function
napi_threadsafe_function_release_mode
napi_threadsafe_function_call_mode
内存管理类型
napi_escapable_handle_scope
napi_escapable_handle_scope
napi_ref
回调类型
napi_callback_info
napi_callback
napi_finalize
napi_async_execute_callback
napi_async_complete_callback
napi_threadsafe_function_call_js
N-API 错误处理
napi_get_last_error_info
N-API 异常
napi_throw
napi_throw_error
napi_throw_type_error
napi_throw_range_error
N-API napi_is_error
napi_create_error
napi_create_type_error
napi_create_range_error
napi_get_and_clear_last_exception
napi_is_exception_pending
napi_fatal_exception
N-API 致命错误
N-API napi_fatal_error
N-API 对象的生命周期管理
N-API 使句柄的生命期限短于原生方法
N-API napi_open_handle_scope
N-API napi_close_handle_scope
N-API napi_open_escapable_handle_scope
N-API napi_close_escapable_handle_scope
N-API napi_escape_handle
N-API 对象引用的生命期限长于原生方法
N-API napi_create_reference
N-API napi_delete_reference
N-API napi_reference_ref
N-API napi_reference_unref
N-API napi_get_reference_value
N-API 当前 Node.js 实例退出时清除
N-API napi_add_env_cleanup_hook
N-API napi_remove_env_cleanup_hook
N-API 模块注册
N-API 处理 JavaScript 值
N-API 枚举类型
N-API napi_valuetype
N-API napi_typedarray_type
N-API 创建对象的函数
N-API napi_create_array
N-API napi_create_array_with_length
N-API napi_create_arraybuffer
N-API napi_create_buffer
N-API napi_create_buffer_copy
N-API napi_create_external
N-API napi_create_external_arraybuffer
N-API napi_create_external_buffer
N-API napi_create_object
N-API napi_create_symbol
N-API napi_create_typedarray
N-API napi_create_dataview
N-API 将 C 类型转换为 N-API 的函数
N-API napi_create_uint32
N-API napi_create_int32
N-API napi_create_int64
N-API napi_create_double
N-API napi_create_bigint_int64
N-API napi_create_bigint_uint64
N-API napi_create_bigint_words
N-API napi_create_string_latin1
N-API napi_create_string_utf16
N-API napi_create_string_utf8
N-API将 N-API 转换为 C 类型的函数
N-API napi_get_arraybuffer_info
N-API napi_get_arraybuffer_info
N-API napi_get_buffer_info
N-API napi_get_prototype
N-API napi_get_typedarray_info
N-API napi_get_dataview_info
N-API napi_get_value_bool
N-API napi_get_value_double
N-API napi_get_value_bigint_int64
N-API napi_get_value_bigint_uint64
N-API napi_get_value_bigint_words
N-API napi_get_value_external
N-API napi_get_value_int32
N-API napi_get_value_int64
N-API napi_get_value_string_latin1
N-API napi_get_value_string_utf8
N-API napi_get_value_string_utf16
国际化支持
国际化支持
国际化构建选项
禁用全部国际化特性
使用预装的 ICU 构建
嵌入ICU 数据的有界集
在运行时提供 ICU 数据
嵌入整个 ICU
检测国际化支持
Error
ERR_HTTP2_PING_CANCEL
ERR_HTTP2_PING_LENGTH
ERR_HTTP2_PSEUDOHEADER_NOT_ALLOWED
ERR_HTTP2_PUSH_DISABLED
ERR_HTTP2_SEND_FILE
ERR_HTTP2_SEND_FILE_NOSEEK
ERR_HTTP2_SESSION_ERROR
ERR_HTTP2_SETTINGS_CANCEL
ERR_HTTP2_SOCKET_BOUND
ERR_HTTP2_SOCKET_UNBOUND
ERR_HTTP2_STATUS_101
ERR_HTTP2_STATUS_INVALID
ERR_HTTP2_STREAM_CANCEL
ERR_HTTP2_STREAM_ERROR
ERR_HTTP2_STREAM_SELF_DEPENDENCY
ERR_HTTP2_TRAILERS_ALREADY_SENT
ERR_HTTP2_TRAILERS_NOT_READY
ERR_HTTP2_UNSUPPORTED_PROTOCOL
ERR_INDEX_OUT_OF_RANGE
ERR_INSPECTOR_ALREADY_CONNECTED
ERR_INSPECTOR_CLOSED
ERR_INSPECTOR_NOT_AVAILABLE
ERR_INSPECTOR_NOT_CONNECTED
ERR_INVALID_ADDRESS_FAMILY
ERR_INVALID_ARG_TYPE
ERR_INVALID_ARG_VALUE
ERR_INVALID_ARRAY_LENGTH
ERR_INVALID_ASYNC_ID
ERR_INVALID_BUFFER_SIZE
ERR_INVALID_CALLBACK
ERR_INVALID_CHAR
ERR_INVALID_CURSOR_POS
ERR_INVALID_DOMAIN_NAME
ERR_INVALID_FD
ERR_INVALID_FD_TYPE
ERR_INVALID_FILE_URL_HOST
ERR_INVALID_FILE_URL_PATH
ERR_INVALID_HANDLE_TYPE
ERR_INVALID_HTTP_TOKEN
ERR_INVALID_IP_ADDRESS
ERR_INVALID_OPT_VALUE
ERR_INVALID_OPT_VALUE_ENCODING
ERR_INVALID_PERFORMANCE_MARK
ERR_INVALID_PROTOCOL
ERR_INVALID_REPL_EVAL_CONFIG
ERR_INVALID_RETURN_PROPERTY
ERR_INVALID_RETURN_PROPERTY_VALUE
ERR_INVALID_RETURN_VALUE
ERR_INVALID_SYNC_FORK_INPUT
ERR_INVALID_THIS
ERR_INVALID_TRANSFER_OBJECT
ERR_INVALID_TUPLE
ERR_INVALID_URI
ERR_INVALID_URL
ERR_INVALID_URL_SCHEME
ERR_IPC_CHANNEL_CLOSED
ERR_IPC_DISCONNECTED
ERR_IPC_ONE_PIPE
ERR_IPC_SYNC_FORK
ERR_MEMORY_ALLOCATION_FAILED
ERR_METHOD_NOT_IMPLEMENTED
ERR_MISSING_ARGS
ERR_MISSING_MESSAGE_PORT_IN_TRANSFER_LIST
ERR_MISSING_MODULE
ERR_MISSING_PLATFORM_FOR_WORKER
ERR_MODULE_RESOLUTION_LEGACY
ERR_MULTIPLE_CALLBACK
ERR_NAPI_CONS_FUNCTION
ERR_NAPI_INVALID_DATAVIEW_ARGS
ERR_NAPI_INVALID_TYPEDARRAY_ALIGNMENT
ERR_NAPI_INVALID_TYPEDARRAY_LENGTH
ERR_NAPI_TSFN_CALL_JS
ERR_NAPI_TSFN_GET_UNDEFINED
ERR_NAPI_TSFN_START_IDLE_LOOP
ERR_NAPI_TSFN_STOP_IDLE_LOOP
ERR_NO_CRYPTO
ERR_NO_ICU
ERR_NO_LONGER_SUPPORTED
ERR_OUT_OF_RANGE
ERR_REQUIRE_ESM
ERR_SCRIPT_EXECUTION_INTERRUPTED
ERR_SERVER_ALREADY_LISTEN
ERR_SERVER_NOT_RUNNING
ERR_SOCKET_ALREADY_BOUND
ERR_SOCKET_BAD_BUFFER_SIZE
ERR_SOCKET_BAD_PORT
ERR_SOCKET_BAD_TYPE
ERR_SOCKET_BUFFER_SIZE
ERR_SOCKET_CANNOT_SEND
ERR_SOCKET_CLOSED
ERR_SOCKET_DGRAM_NOT_RUNNING
ERR_STREAM_CANNOT_PIPE
ERR_STREAM_DESTROYED
ERR_STREAM_NULL_VALUES
ERR_STREAM_PREMATURE_CLOSE
ERR_STREAM_PUSH_AFTER_EOF
ERR_STREAM_UNSHIFT_AFTER_END_EVENT
ERR_STREAM_WRAP
ERR_STREAM_WRITE_AFTER_END
ERR_STRING_TOO_LONG
ERR_SYSTEM_ERROR
ERR_TLS_CERT_ALTNAME_INVALID
ERR_TLS_DH_PARAM_SIZE
ERR_TLS_HANDSHAKE_TIMEOUT
ERR_TLS_RENEGOTIATE
ERR_TLS_RENEGOTIATION_DISABLED
ERR_TLS_REQUIRED_SERVER_NAME
ERR_TLS_SESSION_ATTACK
ERR_TLS_SNI_FROM_SERVER
ERR_TRACE_EVENTS_CATEGORY_REQUIRED
ERR_TRACE_EVENTS_UNAVAILABLE
ERR_TRANSFERRING_EXTERNALIZED_SHAREDARRAYBUFFER
ERR_TRANSFORM_ALREADY_TRANSFORMING
ERR_TRANSFORM_WITH_LENGTH_0
ERR_TTY_INIT_FAILED
ERR_UNCAUGHT_EXCEPTION_CAPTURE_ALREADY_SET
ERR_UNESCAPED_CHARACTERS
ERR_UNHANDLED_ERROR
ERR_UNKNOWN_BUILTIN_MODULE
ERR_UNKNOWN_ENCODING
ERR_UNKNOWN_FILE_EXTENSION
ERR_UNKNOWN_MODULE_FORMAT
ERR_UNKNOWN_SIGNAL
ERR_UNKNOWN_STDIN_TYPE
ERR_UNKNOWN_STREAM_TYPE
ERR_V8BREAKITERATOR
ERR_VALID_PERFORMANCE_ENTRY_TYPE
ERR_VM_DYNAMIC_IMPORT_CALLBACK_MISSING
ERR_VM_MODULE_ALREADY_LINKED
ERR_VM_MODULE_DIFFERENT_CONTEXT
ERR_VM_MODULE_LINKING_ERRORED
ERR_VM_MODULE_NOT_LINKED
ERR_VM_MODULE_NOT_MODULE
ERR_VM_MODULE_STATUS
ERR_WORKER_PATH
ERR_WORKER_UNSERIALIZABLE_ERROR
ERR_WORKER_UNSUPPORTED_EXTENSION
ERR_ZLIB_INITIALIZATION_FAILED
HPE_HEADER_OVERFLOW
MODULE_NOT_FOUND
废弃的错误码
废弃/ERR_HTTP2_FRAME_ERROR
废弃/ERR_HTTP2_HEADERS_OBJECT
废弃/ERR_HTTP2_HEADER_REQUIRED
废弃/ERR_HTTP2_INFO_HEADERS_AFTER_RESPOND
废弃/ERR_HTTP2_STREAM_CLOSED
废弃/ERR_HTTP_INVALID_CHAR
废弃/ERR_NAPI_CONS_PROTOTYPE_OBJECT
废弃/ERR_OUTOFMEMORY
废弃/ERR_PARSE_HISTORY_DATA
废弃/ERR_STDERR_CLOSE
废弃/ERR_STDOUT_CLOSE
废弃/ERR_STREAM_READ_NOT_IMPLEMENTED
废弃/ERR_TLS_RENEGOTIATION_FAILED
废弃/ERR_UNKNOWN_BUILTIN_MODULE
废弃/ERR_VALUE_OUT_OF_RANGE
废弃/ERR_ZLIB_BINDING_CLOSED
废弃/ERR_FS_WATCHER_ALREADY_STARTED
废弃/ERR_FS_WATCHER_NOT_STARTED
废弃/ERR_HTTP2_ALREADY_SHUTDOWN
废弃/ERR_HTTP2_ERROR
废弃/ERR_INVALID_REPL_HISTORY
废弃/ERR_MISSING_DYNAMIC_INSTANTIATE_HOOK
废弃/ERR_STREAM_HAS_STRINGDECODER
废弃/ERR_STRING_TOO_LARGE
fs
fs.mkdirSync
fs.mkdtemp
fs.mkdtempSync
fs.open
fs.openSync
fs.read
fs.readdir
fs.readdirSync
fs.readFile
fs.readFileSync
fs.readlink
fs.readlinkSync
fs.readSync
fs.realpath
fs.realpath.native
fs.realpathSync
fs.realpathSync.native
fs.rename
fs.renameSync
fs.rmdir
fs.rmdirSync
fs.stat
fs.statSync
fs.symlink
fs.symlinkSync
fs.truncate
fs.truncateSync
fs.unlink
fs.unlinkSync
fs.unwatchFile
fs.utimes
fs.utimesSync
fs.watch
fs.watchFile
fs.write
fs.writeFile
fs.writeFileSync
fs.writeSync
fs 的 Promise API
fs FileHandle 类
fs filehandle.appendFile
fs filehandle.chmod
fs filehandle.chown
fs filehandle.close
fs filehandle.datasync
fs filehandle.fd
fs filehandle.read
fs filehandle.readFile
fs filehandle.stat
fs filehandle.sync
fs filehandle.truncate
fs filehandle.utimes
fs filehandle.write
fs filehandle.writeFile
fsPromises.access
fsPromises.appendFile
fsPromises.chmod
fsPromises.chown
fsPromises.copyFile
fsPromises.lchmod
fsPromises.lchown
fsPromises.link
fsPromises.lstat
fsPromises.mkdir
fsPromises.mkdtemp
fsPromises.open
fsPromises.readdir
fsPromises.readFile
fsPromises.readlink
fsPromises.realpath
fsPromises.rename
fsPromises.rmdir
fsPromises.stat
fsPromises.symlink
fsPromises.truncate
fsPromises.unlink
fsPromises.utimes
fsPromises.writeFile
FS 常量
FS 文件可访问性的常量
FS 文件拷贝的常量
FS 文件打开的常量
FS 文件类型的常量
FS 文件模式的常量
FS 文件系统标志
http
http.request
http2
http2.createSecureServer
http2.connect
http2.constants
http2 常量RST_STREAM 与 GOAWAY 的错误码
http2.getDefaultSettings
http2.getPackedSettings
http2.getUnpackedSettings
http2 消息头对象
http2 设置对象
http2 使用 options.selectPadding()
http2 异常处理
http2 消息头键值中的无效字符
http2 推送流到客户端
http2 支持 CONNECT 方法
http2 扩展的 CONNECT 协议
http2 兼容的 API
http2 ALPN 协商
http2.Http2ServerRequest 类
http2.Http2ServerRequest aborted 事件
http2.Http2ServerRequest close 事件
http2 request.aborted
http2 request.authority
http2 request.destroy
http2 request.headers
http2 request.httpVersion
http2 request.method
http2 request.rawHeaders
http2 request.rawTrailers
http2 request.scheme
http2 request.setTimeout
http2 request.socket
http2 request.stream
http2 request.trailers
http2 request.url
http2.Http2ServerResponse 类
http2.Http2ServerResponse close 事件
http2.Http2ServerResponse finish 事件
http2 response.addTrailers
http2 response.connection
http2 response.end
http2 response.finished
http2 response.getHeader
http2 response.getHeaderNames
http2 response.getHeaders
http2 response.hasHeader
http2 response.headersSent
http2 response.removeHeader
http2 response.sendDate
http2 response.setHeader
http2 response.setTimeout
http2 response.socket
http2 response.statusCode
http2 response.statusMessage
http2 response.stream
http2 response.write
http2 response.writeContinue
http2 response.writeHead
http2 response.createPushResponse
采集 HTTP/2 性能指标
C++插件-N-API
N-API napi_get_value_uint32
N-API 获取全局实例的函数
N-API napi_get_boolean
N-API napi_get_global
N-API napi_get_null
N-API napi_get_undefined
N-API 处理 JavaScript 值的抽象操作
N-API napi_coerce_to_bool
N-API napi_coerce_to_number
N-API napi_coerce_to_object
N-API napi_coerce_to_string
N-API napi_typeof
N-API napi_instanceof
N-API napi_is_array
N-API napi_is_arraybuffer
N-API napi_is_buffer
N-API napi_is_error
N-API napi_is_typedarray
N-API napi_is_dataview
N-API napi_strict_equals
N-API 处理 JavaScript 属性
N-API 构造
N-API napi_property_attributes
N-API napi_property_descriptor
N-API 函数
N-API napi_get_property_names
N-API napi_set_property
N-API napi_get_property
N-API napi_has_property
N-API napi_delete_property
N-API napi_has_own_property
N-API napi_set_named_property
N-API napi_get_named_property
N-API napi_has_named_property
N-API napi_set_element
N-API napi_get_element
N-API napi_has_element
N-API napi_delete_element
N-API napi_define_properties
N-API 处理 JavaScript 函数
N-API napi_call_function
N-API napi_create_function
N-API napi_get_cb_info
N-API napi_get_new_target
N-API napi_new_instance
N-API 对象封装
N-API napi_define_class
N-API napi_wrap
N-API napi_unwrap
N-API napi_remove_wrap
N-API napi_add_finalizer
N-API 简单的异步操作
N-API napi_create_async_work
N-API napi_delete_async_work
N-API napi_queue_async_work
N-API napi_cancel_async_work
N-API 自定义的异步操作
N-API napi_async_init
N-API napi_async_destroy
N-API napi_make_callback
N-API napi_open_callback_scope
N-API napi_close_callback_scope
N-API 版本管理
N-API napi_get_node_version
N-API napi_get_version
N-API 内存管理
N-API napi_adjust_external_memory
N-API Promise
N-API napi_create_promise
N-API napi_resolve_deferred
N-API napi_reject_deferred
N-API napi_is_promise
N-API 执行脚本
N-API napi_run_script
N-API libuv 事件循环
N-API napi_get_uv_event_loop
N-API 异步线程-安全的函数调用
N-API napi_create_threadsafe_function
N-API napi_get_threadsafe_function_context
N-API napi_call_threadsafe_function
N-API napi_acquire_threadsafe_function
N-API napi_release_threadsafe_function
N-API napi_ref_threadsafe_function
N-API napi_unref_threadsafe_function