What are the global objects of Node.js?

Technology CommunityCategory: Node.jsWhat are the global objects of Node.js?
VietMX Staff asked 4 years ago

These objects are available in all modules:

  • process – The process object is a global that provides information about, and control over, the current Node.js process.
  • console – Used to print to stdout and stderr.
  • buffer – Used to handle binary data.