Skip to content

Latest commit

 

History

History
13 lines (7 loc) · 399 Bytes

node.md

File metadata and controls

13 lines (7 loc) · 399 Bytes

Basics

  • Traditionally, a Node application is made up of many modules that are fed into and executed from one app.js file.

Jargon

__dirname is the current directory the file is in.

__filename is the current file.

Module generally refers to the current file, this is an object with several properties

Process is the environment that the program is currently being run in.