Cloudflare Docs
Edit this page
Report an issue with this page
Log into the Cloudflare dashboard
Set theme to dark (⇧+D)


The node:path module provides utilities for working with file and directory paths. The node:path module can be accessed using:

import path from "node:path"
path.join('/foo', 'bar', 'baz/asdf', 'quux', '..');
// Returns: '/foo/bar/baz/asdf'

Refer to the Node.js documentation for path for more information.