Skip to content

Glossary: Node.js Basics

Absolute path / relative path

Also written: absolute path, relative path, path

An absolute path starts from the top of the disk, like `/home/jo/kc-stock/data/inventory.json`. A relative path, like `data/inventory.json`, starts from the folder the program was run from.

Where the book teaches it

Related terms

Current working directorypath module