= Node Path = <> ---- == BaseName == ---- == Delimiter == ---- == DirName == ---- == ExtName == ---- == Format == ---- == IsAbsolute == ---- == Join == {{{ const os = require("os"); const path = require("path"); const myDocuments = path.join(os.homedir(), "Documents"); }}} ---- == Normalize == ---- == Parse == ---- == Posix == ---- == Relative == {{{ const path = require("path"); function relativeDocumentPath(filename) { return path.relative(myDocuments, filename); } }}} ---- == Resolve == ---- == Sep == ---- == ToNamespacedPath == ---- == Win32 == ---- == See also == [[https://nodejs.org/api/path.html|Node API for path]] ---- CategoryRicottone