Node.js API 中文文档 - 帮助手册 & 教程
白天
夜间
首页
下载
阅读记录
书签管理
我的书签
添加书签
移除书签
err http invalid char
来源 nodejscn
浏览
230
扫码
分享
2023-10-07 15:59:35
HTTP 响应的状态信息中存在非法字符(原因短语)。
若有收获,就点个赞吧
0 人点赞
上一篇:
下一篇:
插件示例
wrapped objects
context aware 插件
callbacks
C 编写的插件
building
AtExit
function arguments - 函数参数
function factory - 工厂函数
hello world 示例
在 Node.js 中使用 include 来引入静态库
使用 require 来加载插件
N-API
原生抽象 native abstractions
object factory - 对象工厂
传递包装的对象 passing wrapped objects
atexit 回调参数
worker
包装 C 对象
assert 模块
assert value message
assert throws fn error message
assert strictequal actual expected message
assert rejects asyncfn error message
assert ok value message
断言:notstrictequal actual expected message
测试深度严格的不相等
iferror value
assert fail message
断言 `fn` 函数不会抛出错误
asyncFn
deepstrictequal
class assert assertionerror
comparison 细节
comparison 细节一
legacy assertion mode
new assert assertionerror options
strict assertion mode
tracker calls fn exact
buffer
equals
buffer entries
copy target
compare target
byteOffset
fill
includes
index
indexOf
keys
lastIndexOf
length
parent
readreadbigint64be
readbigint64le
readbiguint64be
readbiguint64le
readdoublebe
readdoublele
readfloatbe
readfloatle offset
readint16be offset
readint16le offset
readint32be offset
readint32le offset
readint8 offset
readintbe offset bytelength
readintle offset bytelength
readuint16be offset
readuint16le offset
readuint32be offset
readuint32le offset
readuint8 offset
readuintbe offset bytelength
readuintle offset bytelength
slice start end
subarray start end
swap16
swap32
swap64
tojson
tostring encoding start end
values
write string offset length encoding
writebigint64be
writebigint64le value offset
writebiguint64be value offset
writebiguint64le value offset
writedoublebe value offset
writedoublele value offset
writefloatbe value offset
writefloatle value offset
writeint16be value offset
writeint16le value offset
writeint32be value offset
writeint32le value offset
writeint8 value offset
writeintbe value offset bytelength
writeintle value offset bytelength
writeuint16be value offset
writeuint16le value offset
writeuint32be value offset
writeuint32le value offset
writeuint8 value offset
writeuintbe value offset bytelength
writeuintle value offset bytelength
buffer
buffer constants max length
buffer constants max string length
buffer from buffer alloc and buffer allocunsafe
buffer inspect max bytes
buffer kmaxlength
buffer module apis
buffer transcode source fromenc toenc
buffers and character encodings
buffers and iteration
buffers and typedarrays
class buffer
class property buffer poolsize
class slowbuffer
new buffer array
new buffer arraybuffer byteoffset length
new buffer buffer
new buffer size
new buffer string encoding
new slowbuffer size
static method buffer alloc size fill encoding
static method buffer allocunsafe size
static method buffer allocunsafeslow size
static method buffer bytelength string encoding
static method buffer compare buf1 buf2
static method buffer concat list totallength
static method buffer from array
static method buffer from arraybuffer byteoffset length
static method buffer from buffer
static method buffer from object offsetorencoding length
static method buffer from string encoding
static method buffer isbuffer obj
static method buffer isencoding encoding
the zero fill buffers command line option
what makes buffer allocunsafe and buffer allocunsafeslow unsafe
advanced serialization
asynchronous process creation
child process
child process exec command options callback
child process execfile file args options callback
child process execfilesync file args options
child process execsync command options
child process fork modulepath args options
child process spawn command args options
child process spawnsync command args options
class childprocess
default windows shell
event close
event disconnect
event error
event exit
event message
example sending a server object
example sending a socket object
maxbuffer and unicode
options detached
options stdio
shell requirements
spawning bat and cmd files on windows
subprocess channel
subprocess connected
subprocess disconnect
subprocess exitcode
subprocess kill signal
subprocess killed
subprocess pid
subprocess ref
subprocess send message sendhandle options callback
subprocess signalcode
subprocess spawnargs
subprocess spawnfile
subprocess stderr
subprocess stdin
subprocess stdio
subprocess stdout
subprocess unref
synchronous process creation
Cli 命令行
1
node debug module
node disable colors 1
node extra ca certs file
node icu data file
node path path
node repl history file
node v8 coverage dir
openssl conf file
openssl config file
options
p print script
pending deprecation
policy integrity sri
preserve symlinks
preserve symlinks main
prof
prof process
r require module
redirect warnings file
report compact
report dir directory report directory directory
report filename filename
report on fatalerror
report on signal
report signal signal
report uncaught exception
source map cache
ssl cert dir dir
ssl cert file file
synopsis
throw deprecation
title title
tls cipher list list
tls keylog file
tls max v1 2
tls max v1 3
tls min v1 0
tls min v1 1
tls min v1 2
tls min v1 3
trace atomics wait
trace deprecation
trace event categories
trace event file pattern
trace events enabled
trace exit
trace sigint
trace sync io
trace tls
trace uncaught
trace warnings
track heap objects
unhandled rejections mode
use bundled ca use openssl ca
use largepages mode
useful v8 options
uv threadpool size size
v8 options
v8 pool size num
v version
warning binding inspector to a public ip port combination is insecure
zero fill buffers
class worker
cluster
cluster disconnect callback
cluster fork env
cluster ismaster
cluster isworker
cluster schedulingpolicy
cluster settings
cluster setupmaster settings
cluster worker
cluster workers
event disconnect
event disconnect 1
event error
event exit
event exit 1
event fork
event listening
event listening 1
event message
event message 1
event online
event online 1
event setup
how it works
worker disconnect
worker exitedafterdisconnect
worker id
worker isconnected
worker isdead
worker kill signal
worker process
worker send message sendhandle options callback
class console
console
console assert value message
console clear
console count label
console countreset label
console debug data args
console dir obj options
console dirxml data
console error data args
console group label
console groupcollapsed
console groupend
console info data args
console log data args
console marktimeline label
console profile label
console profileend label
console table tabulardata properties
console time label
console timeend label
console timeline label
console timelineend label
console timelog label data
console timestamp label
console trace message args
console warn data args
inspector only methods
new console options
ccm mode
certificate exportchallenge spkac
certificate exportchallenge spkac 1
certificate exportpublickey spkac
certificate exportpublickey spkac encoding
certificate verifyspkac spkac
certificate verifyspkac spkac 1
cipher final outputencoding
cipher getauthtag
cipher setaad buffer options
cipher setautopadding autopadding
cipher update data inputencoding outputencoding
class certificate
class cipher
class decipher
class diffiehellman
class diffiehellmangroup
class ecdh
class hash
class hmac
class keyobject
class sign
class verify
crypto
crypto constants
crypto constants 1
crypto createcipher algorithm password options
crypto createcipheriv algorithm key iv options
crypto createdecipher algorithm password options
crypto createdecipheriv algorithm key iv options
crypto creatediffiehellman prime primeencoding generator generatorencoding
crypto creatediffiehellman primelength generator
crypto creatediffiehellmangroup name
crypto createecdh curvename
crypto createhash algorithm options
crypto createhmac algorithm key options
crypto createprivatekey key
crypto createpublickey key
crypto createsecretkey key
crypto createsign algorithm options
crypto createverify algorithm options
crypto default encoding
crypto diffiehellman options
crypto fips
crypto generatekeypair type options callback
crypto generatekeypairsync type options
crypto getciphers
crypto getcurves
crypto getdiffiehellman groupname
crypto getfips
crypto gethashes
crypto pbkdf2 password salt iterations keylen digest callback
crypto pbkdf2sync password salt iterations keylen digest
crypto privatedecrypt privatekey buffer
crypto privateencrypt privatekey buffer
crypto publicdecrypt key buffer
crypto publicencrypt key buffer
crypto randombytes size callback
crypto randomfill buffer offset size callback
crypto randomfillsync buffer offset size
crypto randomint min max callback
crypto scrypt password salt keylen options callback
crypto scryptsync password salt keylen options
crypto setengine engine flags
crypto setfips bool
crypto sign algorithm data key
crypto timingsafeequal a b
crypto verify algorithm data key signature
decipher final outputencoding
decipher setaad buffer options
decipher setauthtag buffer
decipher setautopadding autopadding
decipher update data inputencoding outputencoding
determining if crypto support is unavailable
diffiehellman computesecret otherpublickey inputencoding outputencoding
diffiehellman generatekeys encoding
diffiehellman getgenerator encoding
diffiehellman getprime encoding
diffiehellman getprivatekey encoding
diffiehellman getpublickey encoding
diffiehellman setprivatekey privatekey encoding
diffiehellman setpublickey publickey encoding
diffiehellman verifyerror
ecdh computesecret otherpublickey inputencoding outputencoding
ecdh generatekeys encoding format
ecdh getprivatekey encoding
ecdh getpublickey encoding format
ecdh setprivatekey privatekey encoding
ecdh setpublickey publickey encoding
hash copy options
hash digest encoding
hash update data inputencoding
hmac digest encoding
hmac update data inputencoding
keyobject asymmetrickeytype
keyobject export options
keyobject symmetrickeysize
keyobject type
legacy api
legacy streams api prior to node js 0 10
new crypto certificate
node js crypto constants
openssl engine constants
openssl options
other openssl constants
recent ecdh changes
sign sign privatekey outputencoding
sign update data inputencoding
static method ecdh convertkey key curve inputencoding outputencoding format
support for weak or compromised algorithms
verify update data inputencoding
verify verify object signature signatureencoding
breakpoints
debugger
execution control
information
stepping
v8 inspector integration for node js
various
watchers
dep0001 http outgoingmessage prototype flush
dep0002 require linklist
dep0003 writablestate buffer
dep0004 cryptostream prototype readystate
dep0005 buffer constructor
dep0006 child process options customfds
dep0007 replace cluster worker suicide with worker exitedafterdisconnect
dep0008 require constants
dep0009 crypto pbkdf2 without digest
dep0010 crypto createcredentials
dep0011 crypto credentials
dep0012 domain dispose
dep0013 fs asynchronous function without callback
dep0014 fs read legacy string interface
dep0015 fs readsync legacy string interface
dep0016 global root
dep0017 intl v8breakiterator
dep0018 unhandled promise rejections
dep0019 require resolved outside directory
dep0020 server connections
dep0021 server listenfd
dep0022 os tmpdir
dep0023 os getnetworkinterfaces
dep0024 replserver prototype converttocontext
dep0025 require sys
dep0026 util print
dep0027 util puts
dep0028 util debug
dep0029 util error
dep0030 slowbuffer
dep0031 ecdh setpublickey
dep0032 domain module
dep0033 eventemitter listenercount
dep0034 fs exists path callback
dep0035 fs lchmod path mode callback
dep0036 fs lchmodsync path mode
dep0037 fs lchown path uid gid callback
dep0038 fs lchownsync path uid gid
dep0039 require extensions
dep0040 punycode module
dep0041 node repl history file environment variable
dep0042 tls cryptostream
dep0043 tls securepair
dep0044 util isarray
dep0045 util isboolean
dep0046 util isbuffer
dep0047 util isdate
dep0048 util iserror
dep0049 util isfunction
dep0050 util isnull
dep0051 util isnullorundefined
dep0052 util isnumber
dep0053 util isobject
dep0054 util isprimitive
dep0055 util isregexp
dep0056 util isstring
dep0057 util issymbol
dep0058 util isundefined
dep0059 util log
dep0060 util extend
dep0061 fs syncwritestream
dep0062 node debug
dep0063 serverresponse prototype writeheader
dep0064 tls createsecurepair
dep0065 repl repl mode magic and node repl mode magic
dep0066 outgoingmessage prototype headers outgoingmessage prototype headernames
dep0067 outgoingmessage prototype renderheaders
dep0068 node debug
dep0069 vm runindebugcontext string
dep0070 async hooks currentid
dep0071 async hooks triggerid
dep0072 async hooks asyncresource triggerid
dep0073 several internal properties of net server
dep0074 replserver bufferedcommand
dep0075 replserver parsereplkeyword
dep0076 tls parsecertstring
dep0077 module debug
dep0078 replserver turnoffeditormode
dep0079 custom inspection function on objects via inspect
dep0080 path makelong
dep0081 fs truncate using a file descriptor
dep0082 replserver prototype memory
dep0083 disabling ecdh by setting ecdhcurve to false
dep0084 requiring bundled internal dependencies
dep0085 asynchooks sensitive api
dep0086 remove runinasyncidscope
dep0089 require assert
dep0090 invalid gcm authentication tag lengths
dep0091 crypto default encoding
dep0092 top level this bound to module exports
dep0093 crypto fips is deprecated and replaced
dep0094 using assert fail with more than one argument
dep0095 timers enroll
dep0096 timers unenroll
dep0097 makecallback with domain property
dep0099 async context unaware node makecallback c apis
dep0100 process assert
dep0101 with lttng
dep0102 using noassert in buffer read write operations
dep0103 process binding util is typechecks
dep0104 process env string coercion
dep0105 decipher finaltol
dep0106 crypto createcipher and crypto createdecipher
dep0107 tls convertnpnprotocols
dep0108 zlib bytesread
dep0109 http https and tls support for invalid urls
dep0110 vm script cached data
dep0111 process binding
dep0112 dgram private apis
dep0113 cipher setauthtag decipher getauthtag
dep0114 crypto tobuf
dep0115 crypto prng crypto pseudorandombytes crypto rng
dep0116 legacy url api
dep0117 native crypto handles
dep0118 dns lookup support for a falsy host name
dep0119 process binding uv errname private api
dep0120 windows performance counter support
dep0121 net setsimultaneousaccepts
dep0122 tls server prototype setoptions
dep0123 setting the tls servername to an ip address
dep0124 using replserver rli
dep0125 require stream wrap
dep0126 timers active
dep0127 timers unrefactive
dep0128 modules with an invalid main entry and an index js file
dep0129 childprocess channel
dep0130 module createrequirefrompath
dep0131 legacy http parser
dep0132 worker terminate with callback
dep0133 http connection
dep0134 process tickcallback
dep0135 writestream open and readstream open are internal
dep0136 http finished
dep0137 closing fs filehandle on garbage collection
dep0138 process mainmodule
dep0139 process umask with no arguments
dep0140 use request destroy instead of request abort
dep0141 repl inputstream and repl outputstream
dep0142 repl builtinlibs
dep0143 transform transformstate
dep0144 module parent
dep0145 socket buffersize
dep0146 new crypto certificate
dep0147 fs rmdir path recursive true
deprecated apis
revoking deprecations
call results
change to asynchronous socket bind behavior
class dgram socket
dgram createsocket options callback
dgram createsocket type callback
event close
event connect
event error
event listening
event message
example ipv4 outgoing multicast interface
example ipv6 outgoing multicast interface
note about udp datagram size
socket addmembership multicastaddress multicastinterface
socket address
socket addsourcespecificmembership sourceaddress groupaddress multicastinterface
socket bind options callback
socket bind port address callback
socket close callback
socket connect port address callback
socket disconnect
socket dropmembership multicastaddress multicastinterface
socket dropsourcespecificmembership sourceaddress groupaddress multicastinterface
socket getrecvbuffersize
socket getsendbuffersize
socket ref
socket remoteaddress
socket send msg offset length port address callback
socket setbroadcast flag
socket setmulticastinterface multicastinterface
socket setmulticastloopback flag
socket setmulticastttl ttl
socket setrecvbuffersize size
socket setsendbuffersize size
socket setttl ttl
socket unref
udp datagram sockets
class dns resolver
class dnspromises resolver
dns
dns getservers
dns lookup
dns lookup hostname options callback
dns lookupservice address port callback
dns promises api
dns resolve4 hostname options callback
dns resolve6 hostname options callback
dns resolve dns resolve and dns reverse
dns resolve hostname rrtype callback
dns resolveany hostname callback
dns resolvecname hostname callback
dns resolvemx hostname callback
dns resolvenaptr hostname callback
dns resolvens hostname callback
dns resolveptr hostname callback
dns resolvesoa hostname callback
dns resolvesrv hostname callback
dns resolvetxt hostname callback
dns reverse ip callback
dns setservers servers
dnspromises getservers
dnspromises lookup hostname options
dnspromises lookupservice address port
dnspromises resolve4 hostname options
dnspromises resolve6 hostname options
dnspromises resolve hostname rrtype
dnspromises resolveany hostname
dnspromises resolvecname hostname
dnspromises resolvemx hostname
dnspromises resolvenaptr hostname
dnspromises resolvens hostname
dnspromises resolveptr hostname
dnspromises resolvesoa hostname
dnspromises resolvesrv hostname
dnspromises resolvetxt hostname
dnspromises reverse ip
dnspromises setservers servers
error codes
implementation considerations
resolver cancel
resolver options
supported getaddrinfo flags
about this documentation
contributing
json output
stability index
syscalls and man pages
system calls and man pages
additions to error objects
class domain
domain
domain add emitter
domain bind callback
domain create
domain enter
domain exit
domain intercept callback
domain members
domain remove emitter
domain run fn args
domains and promises
explicit binding
implicit binding
warning don t ignore errors
c embedder api
example embedding application
per instance state
setting up per process state
class assertionerror
class error
class rangeerror
class referenceerror
class syntaxerror
class systemerror
class typeerror
common system errors
err ambiguous argument
err arg not iterable
err assertion
err async callback
err async type
err brotli compression failed
err brotli invalid param
err buffer context not available
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 invalid
err construct call required
err context not initialized
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
err crypto incompatible key options
err crypto invalid digest
err crypto invalid key object type
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 crypto unknown cipher
err crypto unknown dh group
err dir closed
err dir concurrent operation
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 eval esm cannot print
err event recursion
err execution environment not available
err falsy value rejection
err feature unavailable on platform
err fs eisdir
err fs file too large
err fs invalid symlink type
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 frame error
err http2 goaway session
err http2 header required
err http2 header single value
err http2 headers after respond
err http2 headers object
err http2 headers sent
err http2 info headers after respond
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
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 closed
err http2 stream error
err http2 stream self dependency
err http2 trailers already sent
err http2 trailers not ready
err http2 unsupported protocol
err http headers sent
err http invalid char
err http invalid header value
err http invalid status code
err http request timeout
err http trailer invalid
err incompatible option pair
err index out of range
err input type not allowed
err inspector already activated
err inspector already connected
err inspector closed
err inspector command
err inspector not active
err inspector not available
err inspector not connected
err inspector not worker
err internal assertion
err invalid address family
err invalid arg type
err invalid arg value
err invalid async id
err invalid buffer size
err invalid callback
err invalid char
err invalid cursor pos
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 module specifier
err invalid opt value
err invalid opt value encoding
err invalid package config
err invalid package target
err invalid performance mark
err invalid protocol
err invalid repl eval config
err invalid repl input
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 manifest assert integrity
err manifest dependency missing
err manifest integrity mismatch
err manifest invalid resource field
err manifest parse policy
err manifest tdz
err manifest unknown onerror
err memory allocation failed
err message target context unavailable
err method not implemented
err missing args
err missing message port in transfer list
err missing option
err missing passphrase
err missing platform for worker
err module not found
err multiple callback
err napi cons function
err napi cons prototype object
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 non context aware disabled
err out of range
err outofmemory
err package import not defined
err package path not exported
err parse history data
err proto access
err require esm
err script execution interrupted
err script execution timeout
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 is connected
err socket dgram not connected
err socket dgram not running
err sri parse
err stderr close
err stdout close
err stream already finished
err stream cannot pipe
err stream destroyed
err stream null values
err stream premature close
err stream push after eof
err stream read not implemented
err stream unshift after end event
err stream wrap
err stream write after end
err string too long
err synthetic
err system error
err tls cert altname invalid
err tls dh param size
err tls handshake timeout
err tls invalid context
err tls invalid protocol method
err tls invalid protocol version
err tls invalid state
err tls protocol version conflict
err tls psk set identiy hint failed
err tls renegotiation disabled
err tls renegotiation failed
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 unavailable during exit
err uncaught exception capture already set
err unescaped characters
err unhandled error
err unknown builtin module
err unknown credential
err unknown encoding
err unknown file extension
err unknown module format
err unknown signal
err unknown stdin type
err unknown stream type
err unsupported dir import
err unsupported esm url scheme
err v8breakiterator
err valid performance entry type
err value out of range
err vm dynamic import callback missing
err vm module already linked
err vm module cached data rejected
err vm module cannot create cached data
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 wasi already started
err wasi not started
err worker init failed
err worker invalid exec argv
err worker not running
err worker out of memory
err worker path
err worker unserializable error
err worker unsupported extension
err worker unsupported operation
err zlib binding closed
err zlib initialization failed
error address
error capturestacktrace targetobject constructoropt
error code
error code 1
error dest
error errno
error first callbacks
error function
error info
error library
error message
error message 1
error opensslerrorstack
error path
error port
error propagation and interception
error reason
error stack
error stacktracelimit
error syscall
errors
exceptions vs errors
hpe header overflow
hpe unexpected content length
legacy node js error codes
module not found
new error message
openssl errors
system errors
builtin modules
commonjs namespaces
customizing esm specifier resolution algorithm
data imports
enabling
examples
features
file urls
getformat url context defaultgetformat
getglobalpreloadcode
getsource url context defaultgetsource
https loader
import expressions
import meta
import meta resolve specifier parent
import meta url
import statements
introduction
json modules
loaders
mandatory file extensions
modules ecmascript modules
no filename or dirname
no json module loading
no native module loading
no node path
no require cache
no require exports or module exports
no require extensions
no require resolve
node imports
packages
require
resolve specifier context defaultresolve
resolver algorithm
resolver algorithm specification
terminology
top level await
transformsource source context defaulttransformsource
transpiler loader
urls
wasm modules
asynchronous vs synchronous
awaiting multiple events emitted on process nexttick
capture rejections of promises
class event
class eventemitter
class nodeeventtarget extends eventtarget
emitter addlistener eventname listener
emitter emit eventname args
emitter eventnames
emitter getmaxlisteners
emitter listenercount eventname
emitter listeners eventname
emitter off eventname listener
emitter on eventname listener
emitter once eventname listener
emitter prependlistener eventname listener
emitter prependoncelistener eventname listener
emitter rawlisteners eventname
emitter removealllisteners eventname
emitter removelistener eventname listener
emitter setmaxlisteners n
emitter symbol for nodejs rejection err eventname args
error events
event bubbles
event cancelable
event cancelbubble
event composed
event composedpath
event currenttarget
event defaultprevented
event eventphase
event istrusted
event listener
event newlistener
event preventdefault
event removelistener
event returnvalue
event srcelement
event stopimmediatepropagation
event stoppropagation
event target
event timestamp
event type
eventemitter defaultmaxlisteners
eventemitter errormonitor
eventemitter listenercount emitter eventname
events
events capturerejections
events capturerejectionsymbol
events on emitter eventname
events once emitter name
eventtarget addeventlistener type listener options
eventtarget and event api
eventtarget dispatchevent event
eventtarget error handling
eventtarget removeeventlistener type listener
handling events only once
node js eventtarget vs dom eventtarget
nodeeventtarget addlistener type listener options
nodeeventtarget eventnames
nodeeventtarget listenercount type
nodeeventtarget off type listener
nodeeventtarget on type listener options
nodeeventtarget once type listener options
nodeeventtarget removealllisteners type
nodeeventtarget removelistener type listener
nodeeventtarget vs eventemitter
passing arguments and this to listeners
availability
callback example
caveats
class filehandle
class fs dir
class fs dirent
class fs fswatcher
class fs readstream
class fs stats
class fs statwatcher
class fs writestream
dir close
dir close callback
dir closesync
dir path
dir read
dir read callback
dir readsync
dir symbol asynciterator
dirent isblockdevice
dirent ischaracterdevice
dirent isdirectory
dirent isfifo
dirent isfile
dirent issocket
dirent issymboliclink
dirent name
event change
event close
event close 1
event close 2
event error
event open
event open 1
event ready
event ready 1
file access constants
file copy constants
file descriptors
file descriptors 1
file mode constants
file modes
file open constants
file paths
file system
file system flags
file type constants
filehandle appendfile data options
filehandle chmod mode
filehandle chown uid gid
filehandle close
filehandle datasync
filehandle fd
filehandle read buffer offset length position
filehandle read options
filehandle readfile options
filehandle readv buffers position
filehandle stat options
filehandle sync
filehandle truncate len
filehandle utimes atime mtime
filehandle write buffer offset length position
filehandle write string position encoding
filehandle writefile data options
filehandle writev buffers position
filename argument
fs access path mode callback
fs accesssync path mode
fs appendfile path data options callback
fs appendfilesync path data options
fs chmod path mode callback
fs chmodsync path mode
fs chown path uid gid callback
fs chownsync path uid gid
fs close fd callback
fs closesync fd
fs constants
fs constants 1
fs copyfile src dest mode callback
fs copyfilesync src dest mode
fs createreadstream path options
fs createwritestream path options
fs exists path callback
fs existssync path
fs fchmod fd mode callback
fs fchmodsync fd mode
fs fchown fd uid gid callback
fs fchownsync fd uid gid
fs fdatasync fd callback
fs fdatasyncsync fd
fs fstat fd options callback
fs fstatsync fd options
fs fsync fd callback
fs fsyncsync fd
fs ftruncate fd len callback
fs ftruncatesync fd len
fs futimes fd atime mtime callback
fs futimessync fd atime mtime
fs lchmod path mode callback
fs lchmodsync path mode
fs lchown path uid gid callback
fs lchownsync path uid gid
fs link existingpath newpath callback
fs linksync existingpath newpath
fs lstat path options callback
fs lstatsync path options
fs lutimes path atime mtime callback
fs lutimessync path atime mtime
fs mkdir path options callback
fs mkdirsync path options
fs mkdtemp prefix options callback
fs mkdtempsync prefix options
fs open path flags mode callback
fs opendir path options callback
fs opendirsync path options
fs opensync path flags mode
fs promises api
fs read fd buffer offset length position callback
fs read fd options callback
fs readdir path options callback
fs readdirsync path options
fs readfile path options callback
fs readfilesync path options
fs readlink path options callback
fs readlinksync path options
fs readsync fd buffer offset length position
fs readsync fd buffer options
fs readv fd buffers position callback
fs readvsync fd buffers position
fs realpath native path options callback
fs realpath path options callback
fs realpathsync native path options
fs realpathsync path options
fs rename oldpath newpath callback
fs renamesync oldpath newpath
fs rm path options callback
fs rmdir path options callback
fs rmdirsync path options
fs rmsync path options
fs stat path options callback
fs statsync path options
fs symlink target path type callback
fs symlinksync target path type
fs truncate path len callback
fs truncatesync path len
fs unlink path callback
fs unlinksync path
fs unwatchfile filename listener
fs utimes path atime mtime callback
fs utimessync path atime mtime
fs watch filename options listener
fs watchfile filename options listener
fs write fd buffer offset length position callback
fs write fd string position encoding callback
fs writefile file data options callback
fs writefilesync file data options
fs writesync fd buffer offset length position
fs writesync fd string position encoding
fs writev fd buffers position callback
fs writevsync fd buffers position
fspromises access path mode
fspromises appendfile path data options
fspromises chmod path mode
fspromises chown path uid gid
fspromises copyfile src dest mode
fspromises lchmod path mode
fspromises lchown path uid gid
fspromises link existingpath newpath
fspromises lstat path options
fspromises lutimes path atime mtime
fspromises mkdir path options
fspromises mkdtemp prefix options
fspromises open path flags mode
fspromises opendir path options
fspromises readdir path options
fspromises readfile path options
fspromises readlink path options
fspromises realpath path options
fspromises rename oldpath newpath
fspromises rm path options
fspromises rmdir path options
fspromises stat path options
fspromises symlink target path type
fspromises truncate path len
fspromises unlink path
fspromises utimes path atime mtime
fspromises writefile file data options
inodes
ordering of callback and promise based operations
promise example
readstream bytesread
readstream path
readstream pending
stat time values
stats atime
stats atimems
stats atimens
stats birthtime
stats birthtimems
stats birthtimens
stats blksize
stats blocks
stats ctime
stats ctimems
stats ctimens
stats dev
stats gid
stats ino
stats isblockdevice
stats ischaracterdevice
stats isdirectory
stats isfifo
stats isfile
stats issocket
stats issymboliclink
stats mode
stats mtime
stats mtimems
stats mtimens
stats nlink
stats rdev
stats size
stats uid
synchronous example
threadpool usage
url object support
using fs writefile with file descriptors
watcher close
watcher ref
watcher ref 1
watcher unref
watcher unref 1
writestream byteswritten
writestream path
writestream pending
class buffer
clearimmediate immediateobject
clearinterval intervalobject
cleartimeout timeoutobject
console
dirname
exports
filename
global
global objects
module
process
queuemicrotask callback
require
setimmediate callback args
setinterval callback delay args
settimeout callback delay args
textdecoder
textencoder
url
urlsearchparams
webassembly
agent createconnection options callback
agent destroy
agent freesockets
agent getname options
agent keepsocketalive socket
agent maxfreesockets
agent maxsockets
agent maxtotalsockets
agent requests
agent reusesocket socket request
agent sockets
class http agent
class http clientrequest
class http incomingmessage
class http server
class http serverresponse
event abort
event aborted
event checkcontinue
event checkexpectation
event clienterror
event close
event close 1
event close 2
event connect
event connect 1
event connection
event continue
event finish
event information
event request
event response
event socket
event timeout
event upgrade
event upgrade 1
http
http createserver options requestlistener
http get url options callback
http globalagent
http maxheadersize
http methods
http request url options callback
http status codes
http validateheadername name
http validateheadervalue name value
message aborted
message complete
message destroy error
message headers
message httpversion
message method
message rawheaders
message rawtrailers
message settimeout msecs callback
message socket
message statuscode
message statusmessage
message trailers
message url
new agent options
request abort
request aborted
request connection
request destroy error
request destroyed
request end data encoding callback
request finished
request flushheaders
request getheader name
request host
request maxheaderscount
request method
request path
request protocol
request removeheader name
request reusedsocket
request setheader name value
request setnodelay nodelay
request setsocketkeepalive enable initialdelay
request settimeout timeout callback
request socket
request writableended
request writablefinished
request write chunk encoding callback
response addtrailers headers
response connection
response cork
response end data encoding callback
response finished
response flushheaders
response getheader name
response getheadernames
response getheaders
response hasheader name
response headerssent
response removeheader name
response senddate
response setheader name value
response settimeout msecs callback
response socket
response statuscode
response statusmessage
response uncork
response writableended
response writablefinished
response write chunk encoding callback
response writecontinue
response writehead statuscode statusmessage headers
response writeprocessing
server close callback
server headerstimeout
server keepalivetimeout
server listen
server listening
server maxheaderscount
server requesttimeout
server settimeout msecs callback
server timeout
alpn negotiation
class clienthttp2session
class clienthttp2stream
class http2 http2serverrequest
class http2 http2serverresponse
class http2secureserver
class http2server
class http2session
class http2stream
class serverhttp2session
class serverhttp2stream
client side example
clienthttp2session request headers options
collecting http 2 performance metrics
compatibility api
core api
creation
destruction
error codes for rst stream and goaway
error handling
event aborted
event aborted 1
event altsvc
event checkcontinue
event checkcontinue 1
event close
event close 1
event close 2
event close 3
event connect
event connection
event connection 1
event continue
event error
event error 1
event finish
event frameerror
event frameerror 1
event goaway
event headers
event localsettings
event origin
event ping
event push
event ready
event remotesettings
event request
event request 1
event response
event session
event session 1
event sessionerror
event sessionerror 1
event stream
event stream 1
event stream 2
event timeout
event timeout 1
event timeout 2
event timeout 3
event trailers
event unknownprotocol
event wanttrailers
headers object
http2 connect authority options listener
http2 createsecureserver options onrequesthandler
http2 createserver options onrequesthandler
http2 getdefaultsettings
http2 getpackedsettings settings
http2 getunpackedsettings buf
http2session alpnprotocol
http2session and sockets
http2session close callback
http2session closed
http2session connecting
http2session destroy error code
http2session destroyed
http2session encrypted
http2session goaway code laststreamid opaquedata
http2session localsettings
http2session originset
http2session pendingsettingsack
http2session ping payload callback
http2session ref
http2session remotesettings
http2session settimeout msecs callback
http2session settings settings callback
http2session socket
http2session state
http2session type
http2session unref
http2stream aborted
http2stream additionalheaders headers
http2stream buffersize
http2stream close code callback
http2stream closed
http2stream destroyed
http2stream endafterheaders
http2stream headerssent
http2stream id
http2stream pending
http2stream priority options
http2stream pushallowed
http2stream pushstream headers options callback
http2stream respond headers options
http2stream respondwithfd fd headers options
http2stream respondwithfile path headers options
http2stream rstcode
http2stream sendtrailers headers
http2stream sentheaders
http2stream sentinfoheaders
http2stream senttrailers
http2stream session
http2stream settimeout msecs callback
http2stream state
http 2
invalid character handling in header names and values
push streams on the client
request aborted
request authority
request complete
request connection
request destroy error
request headers
request httpversion
request method
request rawheaders
request rawtrailers
request scheme
request settimeout msecs callback
request socket
request stream
request trailers
request url
response addtrailers headers
response connection
response createpushresponse headers callback
response end data encoding callback
response finished
response getheader name
response getheadernames
response getheaders
response hasheader name
response headerssent
response removeheader name
response senddate
response setheader name value
response settimeout msecs callback
response socket
response statuscode
response statusmessage
response stream
response writableended
response write chunk encoding callback
response writecontinue
response writehead statuscode statusmessage headers
server close callback
server close callback 1
server settimeout msecs callback
server settimeout msecs callback 1
server side example
server timeout
server timeout 1
serverhttp2session altsvc alt originorstream
serverhttp2session origin origins
settings object
specifying alternative services
supporting the connect method
the extended connect protocol
class https agent
class https server
event keylog
https
https createserver options requestlistener
https get url options callback
https globalagent
https request url options callback
new agent options
server close callback
server headerstimeout
server keepalivetimeout
server listen
server maxheaderscount
server requesttimeout
server settimeout msecs callback
server timeout
class inspector session
cpu profiler
event inspector protocol method
event inspectornotification
example usage
heap profiler
inspector
inspector close
inspector console
inspector open port host wait
inspector url
inspector waitfordebugger
new inspector session
session connect
session connecttomainthread
session disconnect
session post method params callback
build with a pre installed icu system icu
detecting internationalization support
disable all internationalization features none
embed a limited set of icu data small icu
embed the entire icu full icu
internationalization support
options for building node js
providing icu data at runtime
module builtinmodules
module createrequire filename
module createrequirefrompath filename
module findsourcemap path error
module syncbuiltinesmexports
new sourcemap payload
source map v3 support
sourcemap findentry linenumber columnnumber
sourcemap payload
the module object
accessing the main module
addenda package manager tips
addenda the mjs extension
all together
caching
core modules
cycles
dirname
exports
exports shortcut
file modules
filename
folders as modules
loading from node modules folders
loading from the global folders
module
module caching caveats
module children
module exports
module filename
module id
module loaded
module parent
module path
module paths
module require id
modules commonjs modules
require
require cache
require extensions
require id
require main
require resolve paths request
require resolve request options
source map v3 support
the module object
the module object 1
the module wrapper
asynchronous thread safe function calls
basic n api data types
build tools
building
calling a thread safe function
cleanup on exit of the current node js instance
cmake js
custom asynchronous operations
deciding whether to keep the process running
environment life cycle apis
error handling
exceptions
fatal errors
implications of abi stability
libuv event loop
making handle lifespan shorter than that of the native method
module registration
n api
n api version matrix
napi acquire threadsafe function
napi add async cleanup hook
napi add env cleanup hook
napi add finalizer
napi adjust external memory
napi async cleanup hook
napi async cleanup hook handle
napi async complete callback
napi async destroy
napi async execute callback
napi async init
napi call function
napi call threadsafe function
napi callback
napi callback info
napi cancel async work
napi check object type tag
napi close callback scope
napi close escapable handle scope
napi close handle scope
napi coerce to bool
napi coerce to number
napi coerce to object
napi coerce to string
napi create array
napi create array with length
napi create arraybuffer
napi create async work
napi create bigint int64
napi create bigint uint64
napi create bigint words
napi create buffer
napi create buffer copy
napi create dataview
napi create date
napi create double
napi create error
napi create external
napi create external arraybuffer
napi create external buffer
napi create function
napi create int32
napi create int64
napi create object
napi create promise
napi create range error
napi create reference
napi create string latin1
napi create string utf16
napi create string utf8
napi create symbol
napi create threadsafe function
napi create type error
napi create typedarray
napi create uint32
napi define class
napi define properties
napi delete async work
napi delete element
napi delete property
napi delete reference
napi detach arraybuffer
napi env
napi escapable handle scope
napi escape handle
napi extended error info
napi fatal error
napi fatal exception
napi finalize
napi get all property names
napi get and clear last exception
napi get array length
napi get arraybuffer info
napi get boolean
napi get buffer info
napi get cb info
napi get dataview info
napi get date value
napi get element
napi get global
napi get instance data
napi get last error info
napi get named property
napi get new target
napi get node version
napi get null
napi get property
napi get property names
napi get prototype
napi get reference value
napi get threadsafe function context
napi get typedarray info
napi get undefined
napi get uv event loop
napi get value bigint int64
napi get value bigint uint64
napi get value bigint words
napi get value bool
napi get value double
napi get value external
napi get value int32
napi get value int64
napi get value string latin1
napi get value string utf16
napi get value string utf8
napi get value uint32
napi get version
napi handle scope
napi has element
napi has named property
napi has own property
napi has property
napi instanceof
napi is array
napi is arraybuffer
napi is buffer
napi is dataview
napi is date
napi is detached arraybuffer
napi is error
napi is error 1
napi is exception pending
napi is promise
napi is typedarray
napi key collection mode
napi key conversion
napi key filter
napi make callback
napi new instance
napi object freeze
napi object seal
napi open callback scope
napi open escapable handle scope
napi open handle scope
napi property attributes
napi property descriptor
napi queue async work
napi ref
napi ref threadsafe function
napi reference ref
napi reference unref
napi reject deferred
napi release threadsafe function
napi remove async cleanup hook
napi remove env cleanup hook
napi remove wrap
napi resolve deferred
napi run script
napi set element
napi set instance data
napi set named property
napi set property
napi status
napi strict equals
napi threadsafe function
napi threadsafe function call js
napi threadsafe function call mode
napi threadsafe function release mode
napi throw
napi throw error
napi throw range error
napi throw type error
napi type tag
napi type tag object
napi typedarray type
napi typeof
napi unref threadsafe function
napi unwrap
napi value
napi valuetype
napi wrap
node gyp
node pre gyp
object lifetime management
object wrap
prebuild
prebuildify
promises
reference counting of thread safe functions
references to objects with a lifespan longer than that of the native method
return values
script execution
simple asynchronous operations
uploading precompiled binaries
usage
working with javascript functions
working with javascript properties
working with javascript values
working with javascript values and abstract operations
class net server
class net socket
event close
event close 1
event connect
event connection
event data
event drain
event end
event error
event error 1
event listening
event lookup
event ready
event timeout
identifying paths for ipc connections
ipc support
net
net connect
net connect options connectlistener
net connect path connectlistener
net connect port host connectlistener
net createconnection
net createconnection options connectlistener
net createconnection path connectlistener
net createconnection port host connectlistener
net createserver options connectionlistener
net isip input
net isipv4 input
net isipv6 input
new net server options connectionlistener
new net socket options
server address
server close callback
server connections
server getconnections callback
server listen
server listen handle backlog callback
server listen options callback
server listen path backlog callback
server listen port host backlog callback
server listening
server maxconnections
server ref
server unref
socket address
socket buffersize
socket bytesread
socket byteswritten
socket connect
socket connect options connectlistener
socket connect path connectlistener
socket connect port host connectlistener
socket connecting
socket destroy error
socket destroyed
socket end data encoding callback
socket localaddress
socket localport
socket pause
socket pending
socket readystate
socket ref
socket remoteaddress
socket remotefamily
socket remoteport
socket resume
socket setencoding encoding
socket setkeepalive enable initialdelay
socket setnodelay nodelay
socket settimeout timeout callback
socket timeout
socket unref
socket write data encoding callback
dlopen constants
error constants
libuv constants
os
os arch
os constants
os constants 1
os cpus
os endianness
os eol
os freemem
os getpriority pid
os homedir
os hostname
os loadavg
os networkinterfaces
os platform
os release
os setpriority pid priority
os tmpdir
os totalmem
os type
os uptime
os userinfo options
os version
posix error constants
priority constants
signal constants
windows specific error constants
approach 1 use an es module wrapper
approach 2 isolate state
conditional exports
determining module system
dual commonjs es module packages
dual package hazard
exports
exports sugar
imports
input type flag
introduction
main
main entry point export
name
nested conditions
node js package json field definitions
package entry points
package json and file extensions
resolving user conditions
self referencing a package using its name
subpath exports
subpath imports
subpath patterns
type
writing dual packages while avoiding or minimizing hazards
path
path basename path ext
path delimiter
path dirname path
path extname path
path format pathobject
path isabsolute path
path join paths
path normalize path
path parse path
path posix
path relative from to
path resolve paths
path sep
path tonamespacedpath path
path win32
windows vs posix
class histogram
class performancenodetiming extends performanceentry
class performanceobserverentrylist
histogram disable
histogram enable
histogram exceeds
histogram max
histogram mean
histogram min
histogram percentile percentile
histogram percentiles
histogram reset
histogram stddev
measuring how long it takes to load dependencies
measuring the duration of async operations
new performanceobserver callback
perf hooks monitoreventloopdelay options
perf hooks performance
performance clearmarks name
performance eventlooputilization util1 util2
performance eventlooputilization utilization1 utilization2
performance mark name
performance measure name startmark endmark
performance measurement apis
performance nodetiming
performance now
performance timeorigin
performance timerify fn
performanceentry duration
performanceentry entrytype
performanceentry flags
performanceentry kind
performanceentry name
performanceentry starttime
performancenodetiming bootstrapcomplete
performancenodetiming environment
performancenodetiming idletime
performancenodetiming loopexit
performancenodetiming loopstart
performancenodetiming nodestart
performancenodetiming v8start
performanceobserver disconnect
performanceobserver observe options
performanceobserverentrylist getentries
performanceobserverentrylist getentriesbyname name type
performanceobserverentrylist getentriesbytype type
dependency redirection
dependency redirection using scopes
enabling
error behavior
example patched dependency
integrity checks
integrity using scopes
policies
scopes
a note on process i o
avoiding duplicate warnings
emitting custom warnings
event beforeexit
event disconnect
event exit
event message
event multipleresolves
event rejectionhandled
event uncaughtexception
event uncaughtexceptionmonitor
event unhandledrejection
event warning
exit codes
process
process abort
process allowednodeenvironmentflags
process arch
process argv
process argv0
process channel
process channel ref
process channel unref
process chdir directory
process config
process connected
process cpuusage previousvalue
process cwd
process debugport
process disconnect
process dlopen module filename flags
process emitwarning warning options
process emitwarning warning type code ctor
process env
process events
process execargv
process execpath
process exit code
process exitcode
process getegid
process geteuid
process getgid
process getgroups
process getuid
process hasuncaughtexceptioncapturecallback
process hrtime bigint
process hrtime time
process initgroups user extragroup
process kill pid signal
process mainmodule
process memoryusage
process nexttick callback args
process nodeprecation
process pid
process platform
process ppid
process release
process report
process report compact
process report directory
process report filename
process report getreport err
process report reportonfatalerror
process report reportonsignal
process report reportonuncaughtexception
process report signal
process report writereport filename err
process resourceusage
process send message sendhandle options callback
process setegid id
process seteuid id
process setgid id
process setgroups groups
process setuid id
process setuncaughtexceptioncapturecallback fn
process stderr
process stderr fd
process stdin
process stdin fd
process stdout
process stdout fd
process throwdeprecation
process title
process tracedeprecation
process umask
process umask mask
process uptime
process version
process versions
signal events
warning using uncaughtexception correctly
punycode
punycode decode string
punycode encode string
punycode toascii domain
punycode tounicode domain
punycode ucs2 decode string
punycode ucs2 encode codepoints
punycode version
query string
querystring decode
querystring encode
querystring escape str
querystring parse str sep eq options
querystring stringify obj sep eq options
querystring unescape str
class interface
event close
event line
event pause
event resume
event sigcont
event sigint
event sigtstp
example read file stream line by line
example tiny cli
readline
readline clearline stream dir callback
readline clearscreendown stream callback
readline createinterface options
readline cursorto stream x y callback
readline emitkeypressevents stream interface
readline movecursor stream dx dy callback
rl close
rl cursor
rl getcursorpos
rl line
rl pause
rl prompt preservecursor
rl question query callback
rl resume
rl setprompt prompt
rl symbol asynciterator
rl write data key
tty keybindings
use of the completer function
accessing core node js modules
assignment of the underscore variable
await keyword
class replserver
commands and special keys
custom evaluation functions
customizing repl output
default evaluation
design and features
environment variable options
event exit
event reset
global and local scope
global uncaught exceptions
javascript expressions
persistent history
recoverable errors
repl
repl builtinmodules
repl start options
replserver clearbufferedcommand
replserver definecommand keyword cmd
replserver displayprompt preservecursor
replserver parsereplkeyword keyword rest
replserver setuphistory historypath callback
reverse i search
starting multiple repl instances against a single running instance
the node js repl
using the node js repl with advanced line editors
configuration
diagnostic report
interaction with workers
usage
an example counting stream
an example duplex stream
an example writable stream
api for stream consumers
api for stream implementers
buffering
choose one api style
class stream duplex
class stream passthrough
class stream transform
compatibility with older node js versions
consuming readable streams with async iterators
creating readable streams with async generators
decoding buffers in a writable stream
errors while reading
errors while writing
event close
event close 1
event data
event drain
event end
event end 1
event error
event error 1
event finish
event finish 1
event pause
event pipe
event readable
event resume
event unpipe
highwatermark discrepancy after calling readable setencoding
implementing a duplex stream
implementing a readable stream
implementing a transform stream
implementing a writable stream
new stream duplex options
new stream readable options
new stream transform options
new stream writable options
object mode
object mode duplex streams
organization of this document
piping to writable streams from async iterators
readable destroy err callback
readable destroy error
readable destroyed
readable ispaused
readable pause
readable pipe destination options
readable push
readable push chunk encoding
readable read 0
readable read size
readable read size 1
readable readable
readable readableencoding
readable readableended
readable readableflowing
readable readablehighwatermark
readable readablelength
readable readableobjectmode
readable resume
readable setencoding encoding
readable streams
readable symbol asynciterator
readable unpipe destination
readable unshift chunk encoding
readable wrap stream
simplified construction
stream
stream finished stream options callback
stream pipeline streams callback
stream readable from iterable options
streams compatibility with async generators and async iterators
three states
transform destroy error
transform flush callback
transform transform chunk encoding callback
two reading modes
types of streams
writable cork
writable destroy err callback
writable destroy error
writable destroyed
writable end chunk encoding callback
writable final callback
writable setdefaultencoding encoding
writable streams
writable uncork
writable writable
writable writablecorked
writable writableended
writable writablefinished
writable writablehighwatermark
writable writablelength
writable writableobjectmode
writable write chunk encoding callback
writable write chunk encoding callback 1
writable writev chunks callback
new stringdecoder encoding
string decoder
stringdecoder end buffer
stringdecoder write buffer
example
usage
cancelling timers
class immediate
class timeout
clearimmediate immediate
clearinterval timeout
cleartimeout timeout
immediate hasref
immediate ref
immediate unref
scheduling timers
setimmediate callback args
setinterval callback delay args
settimeout callback delay args
timeout hasref
timeout ref
timeout refresh
timeout symbol toprimitive
timeout unref
timers
alpn and sni
alpn npn and sni
certificate object
class tls cryptostream
class tls securepair
class tls server
class tls tlssocket
client initiated renegotiation attack mitigation
cryptostream byteswritten
event connection
event keylog
event keylog 1
event newsession
event ocsprequest
event ocspresponse
event resumesession
event secure
event secureconnect
event secureconnection
event session
event tlsclienterror
modifying the default tls cipher suite
new tls tlssocket socket options
perfect forward secrecy
pre shared keys
server addcontext hostname context
server address
server close callback
server connections
server getticketkeys
server listen
server setsecurecontext options
server setticketkeys keys
session identifiers
session resumption
session tickets
tls checkserveridentity hostname cert
tls connect options callback
tls connect path options callback
tls connect port host options callback
tls createsecurecontext options
tls createsecurepair context isserver requestcert rejectunauthorized options
tls createserver options secureconnectionlistener
tls default ecdh curve
tls default max version
tls default min version
tls getciphers
tls rootcertificates
tls ssl
tls ssl concepts
tlssocket address
tlssocket authorizationerror
tlssocket authorized
tlssocket disablerenegotiation
tlssocket enabletrace
tlssocket encrypted
tlssocket exportkeyingmaterial length label context
tlssocket getcertificate
tlssocket getcipher
tlssocket getephemeralkeyinfo
tlssocket getfinished
tlssocket getpeercertificate detailed
tlssocket getpeerfinished
tlssocket getprotocol
tlssocket getsession
tlssocket getsharedsigalgs
tlssocket gettlsticket
tlssocket issessionreused
tlssocket localaddress
tlssocket localport
tlssocket remoteaddress
tlssocket remotefamily
tlssocket remoteport
tlssocket renegotiate options callback
tlssocket setmaxsendfragment size
trace events
trace events createtracing options
trace events getenabledcategories
tracing categories
tracing disable
tracing enable
tracing enabled
tracing object
class tty readstream
class tty writestream
event resize
readstream israw
readstream istty
readstream setrawmode mode
tty
tty isatty fd
writestream clearline dir callback
writestream clearscreendown callback
writestream columns
writestream cursorto x y callback
writestream getcolordepth env
writestream getwindowsize
writestream hascolors count env
writestream istty
writestream movecursor dx dy callback
writestream rows
class url
class urlsearchparams
legacy api
legacy urlobject
new url input base
new urlsearchparams
new urlsearchparams iterable
new urlsearchparams obj
new urlsearchparams string
percent encoding in urls
special schemes
url
url domaintoascii domain
url domaintounicode domain
url fileurltopath url
url format url options
url format urlobject
url hash
url host
url hostname
url href
url origin
url parse urlstring parsequerystring slashesdenotehost
url password
url pathname
url pathtofileurl path
url port
url protocol
url resolve from to
url search
url searchparams
url strings and url objects
url tojson
url tostring
url username
urlobject auth
urlobject hash
urlobject host
urlobject hostname
urlobject href
urlobject path
urlobject pathname
urlobject port
urlobject protocol
urlobject query
urlobject search
urlobject slashes
urlsearchparams append name value
urlsearchparams delete name
urlsearchparams entries
urlsearchparams foreach fn thisarg
urlsearchparams get name
urlsearchparams getall name
urlsearchparams has name
urlsearchparams keys
urlsearchparams set name value
urlsearchparams sort
urlsearchparams symbol iterator
urlsearchparams tostring
urlsearchparams values
whatwg api
background colors
class util textdecoder
class util textencoder
custom inspection functions on objects
custom promisified functions
customizing util inspect colors
debuglog enabled
deprecated apis
encodings supported by default with full icu data
encodings supported when icu is disabled
encodings supported when node js is built with the small icu option
foreground colors
modifiers
new textdecoder encoding options
textdecoder decode input options
textdecoder encoding
textdecoder fatal
textdecoder ignorebom
textencoder encode input
textencoder encodeinto src dest
textencoder encoding
util
util callbackify original
util debug section
util debuglog section callback
util deprecate fn msg code
util extend target source
util format format args
util formatwithoptions inspectoptions format args
util getsystemerrorname err
util inherits constructor superconstructor
util inspect custom
util inspect defaultoptions
util inspect object showhidden depth colors
util isarray object
util isboolean object
util isbuffer object
util isdate object
util isdeepstrictequal val1 val2
util iserror object
util isfunction object
util isnull object
util isnullorundefined object
util isnumber object
util isobject object
util isprimitive object
util isregexp object
util isstring object
util issymbol object
util isundefined object
util log string
util promisify custom
util promisify original
util types
util types isanyarraybuffer value
util types isargumentsobject value
util types isarraybuffer value
util types isarraybufferview value
util types isasyncfunction value
util types isbigint64array value
util types isbiguint64array value
util types isbooleanobject value
util types isboxedprimitive value
util types isdataview value
util types isdate value
util types isexternal value
util types isfloat32array value
util types isfloat64array value
util types isgeneratorfunction value
util types isgeneratorobject value
util types isint16array value
util types isint32array value
util types isint8array value
util types ismap value
util types ismapiterator value
util types ismodulenamespaceobject value
util types isnativeerror value
util types isnumberobject value
util types ispromise value
util types isproxy value
util types isregexp value
util types isset value
util types issetiterator value
util types issharedarraybuffer value
util types isstringobject value
util types issymbolobject value
util types istypedarray value
util types isuint16array value
util types isuint32array value
util types isuint8array value
util types isuint8clampedarray value
util types isweakmap value
util types isweakset value
util types iswebassemblycompiledmodule value
whatwg supported encodings
class v8 defaultdeserializer
class v8 defaultserializer
deserializer getwireformatversion
deserializer readdouble
deserializer readheader
deserializer readhostobject
deserializer readrawbytes length
deserializer readuint32
deserializer readuint64
deserializer readvalue
deserializer transferarraybuffer id arraybuffer
new deserializer buffer
new serializer
serialization api
serializer getdatacloneerror message
serializer getsharedarraybufferid sharedarraybuffer
serializer releasebuffer
serializer settreatarraybufferviewsashostobjects flag
serializer transferarraybuffer id arraybuffer
serializer writedouble value
serializer writeheader
serializer writehostobject object
serializer writerawbytes buffer
serializer writeuint32 value
serializer writeuint64 hi lo
serializer writevalue value
v8
v8 cacheddataversiontag
v8 deserialize buffer
v8 getheapcodestatistics
v8 getheapsnapshot
v8 getheapspacestatistics
v8 getheapstatistics
v8 serialize value
v8 setflagsfromstring flags
v8 writeheapsnapshot filename
class vm module
class vm script
class vm sourcetextmodule
class vm syntheticmodule
example running an http server within a vm
module dependencyspecifiers
module error
module evaluate options
module identifier
module link linker
module namespace
module status
new vm script code options
new vm sourcetextmodule code options
new vm syntheticmodule exportnames evaluatecallback options
script createcacheddata
script runincontext contextifiedobject options
script runinnewcontext contextobject options
script runinthiscontext options
sourcetextmodule createcacheddata
syntheticmodule setexport name value
timeout interactions with asynchronous tasks and promises
vm compilefunction code params options
vm createcontext contextobject options
vm createcontext sandbox options
vm executing javascript
vm iscontext object
vm iscontext sandbox
vm measurememory options
vm runincontext code contextifiedobject options
vm runinnewcontext code contextobject options
vm runinthiscontext code options
what does it mean to contextify an object
class wasi
new wasi options
wasi initialize instance
wasi start instance
wasi wasiimport
webassembly system interface wasi
class messagechannel
class messageport
class worker
considerations when transferring typedarrays and buffers
event close
event error
event exit
event message
event message 1
event messageerror
event messageerror 1
event online
new worker filename options
port close
port postmessage value transferlist
port ref
port start
port unref
worker getheapsnapshot
worker ismainthread
worker markasuntransferable object
worker movemessageporttocontext port contextifiedsandbox
worker parentport
worker postmessage value transferlist
worker receivemessageonport port
worker ref
worker resourcelimits
worker resourcelimits 1
worker share env
worker stderr
worker stdin
worker stdout
worker terminate
worker threadid
worker threadid 1
worker threads
worker unref
worker workerdata
brotli constants
class brotlioptions
class options
class zlib brotlicompress
class zlib brotlidecompress
class zlib deflate
class zlib deflateraw
class zlib gunzip
class zlib gzip
class zlib inflate
class zlib inflateraw
class zlib unzip
class zlib zlib
class zlib zlibbase
compressing http requests and responses
compressor options
convenience methods
decompressor options
flush operations
flushing
for brotli based streams
for zlib based streams
threadpool usage and performance considerations
zlib
zlib brotlicompress buffer options callback
zlib brotlicompresssync buffer options
zlib brotlidecompress buffer options callback
zlib brotlidecompresssync buffer options
zlib bytesread
zlib byteswritten
zlib close callback
zlib constants
zlib constants 1
zlib createbrotlicompress options
zlib createbrotlidecompress options
zlib createdeflate options
zlib createdeflateraw options
zlib creategunzip options
zlib creategzip options
zlib createinflate options
zlib createinflateraw options
zlib createunzip options
zlib deflate buffer options callback
zlib deflateraw buffer options callback
zlib deflaterawsync buffer options
zlib deflatesync buffer options
zlib flush kind callback
zlib gunzip buffer options callback
zlib gunzipsync buffer options
zlib gzip buffer options callback
zlib gzipsync buffer options
zlib inflate buffer options callback
zlib inflateraw buffer options callback
zlib inflaterawsync buffer options
zlib inflatesync buffer options
zlib params level strategy callback
zlib reset
zlib unzip buffer options callback
zlib unzipsync buffer options
暂无相关搜索结果!
让时间为你证明
分享,让知识传承更久远
×
文章二维码
×
手机扫一扫,轻松掌上读
文档下载
×
请下载您需要的格式的文档,随时随地,享受汲取知识的乐趣!
PDF
文档
EPUB
文档
MOBI
文档
书签列表
×
阅读记录
×
阅读进度:
0.00%
(
0/0
)
重置阅读进度
×
思维导图备注