• Node.js v14.16.1 Documentation
  • #">Global objects#
    • #">Class: Buffer#
    • #">__dirname#
    • #">__filename#
    • #">clearImmediate(immediateObject)#
    • #">clearInterval(intervalObject)#
    • #">clearTimeout(timeoutObject)#
    • #">console#
    • #">exports#
    • #">global#
    • #">module#
    • #">process#
    • #">queueMicrotask(callback)#
    • #">require()#
    • #">setImmediate(callback[, ...args])#
    • #">setInterval(callback, delay[, ...args])#
    • #">setTimeout(callback, delay[, ...args])#
    • #">TextDecoder#
    • #">TextEncoder#
    • #">URL#
    • #">URLSearchParams#
    • #">WebAssembly#

    Node.js v14.16.1 Documentation


    Table of Contents 目录

    The objects listed here are specific to Node.js. There are built-in objects that are part of the JavaScript language itself, which are also globally accessible.

    Class: Buffer#

    Added in: v0.1.103

    Used to handle binary data. See the buffer section.

    __dirname#

    This variable may appear to be global but is not. See __dirname.

    __filename#

    This variable may appear to be global but is not. See __filename.

    clearImmediate(immediateObject)#

    Added in: v0.9.1
    clearImmediate is described in the timers section.

    clearInterval(intervalObject)#

    Added in: v0.0.1
    clearInterval is described in the timers section.

    clearTimeout(timeoutObject)#

    Added in: v0.0.1
    clearTimeout is described in the timers section.

    console#

    Added in: v0.1.100