Open this example in the interactive library
Source code
import { posix as path } from "node:path";
console.log(path.join("assets", "icons", "save.svg"));
Sample output
assets/icons/save.svg

Open this example in the interactive library
import { posix as path } from "node:path";
console.log(path.join("assets", "icons", "save.svg"));
assets/icons/save.svg