Node Path
Contents
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