Module basic module

Basic module

  • System
    • child_process -Sub-process management module
    • console -Console access object
    • coroutine -Concurrency control module
    • global -Global objects, base objects that all scripts can access
    • gui -gui module
    • os -Operating system and file system processing module
    • process -Process processing module to manage the resources of the current process
    • timers -timers module
    • tty -tty module
    • vm -Security sandbox module, used to isolate operating environments of different security levels
    • worker_threads -Worker basic module
  • File System
    • fs -File system processing module
    • io -Input and output processing module
    • path -File path processing module
    • path_posix -File path processing module
    • path_win32 -File path processing module
  • Network
    • dgram -The dgram module provides the implementation of UDP packet socket
    • dns -dns domain name query module
    • http -Hypertext transfer protocol module to support http protocol processing, module alias: https
    • mq -Message queue module
    • net -Network access module
    • punycode -punycode internationalized domain name conversion module
    • querystring -http query processing module
    • ssl -ssl/tls module, module alias: tls
    • url -url processing module
    • ws -websocket support module
  • Encoding
    • base32 -base32 encoding and decoding module
    • base64 -base64 encoding and decoding module
    • encoding -Encoding and decoding module, used to process the conversion between different data encoding formats and binary
    • hex -hex encoding and decoding module
    • iconv -iconv encoding and decoding module
    • json -json encoding and decoding module
    • msgpack -msgpack encoding and decoding module
    • string_decoder -Decode Buffer to string
  • Crypto
    • crypto -Encryption algorithm module
    • hash -Information digest calculation module, which can be used to calculate information digest and digest signature
  • Compress
    • zip -zip format file compression and decompression module
    • zlib -zlib compression and decompression module
  • Test Suite
    • assert -Assert the test module, if the test value is false, an error will be reported, and the error behavior can be set to continue running or throw an error
    • performance -performance basic performance monitoring module
    • perf_hooks -perf_hooks basic module
    • profiler -Memory profiler module
    • test -Test suite module to define and manage test suites
  • Utility
    • db -Database access module
    • gd -Image file processing module
    • registry -Windows registry access module
    • util -Common tool module
    • uuid -uuid unique id module
    • xml -xml processing module
  • constants -Common constant definition module
  • fs_constants -fs module commonly used constant definition module