path module
Also written: node:path, path.join, path.resolve, basename, extname, dirname
A built-in module that builds and takes apart file paths correctly on every operating system. `join` glues parts together and `resolve` gives an absolute path.
Also written: node:path, path.join, path.resolve, basename, extname, dirname
A built-in module that builds and takes apart file paths correctly on every operating system. `join` glues parts together and `resolve` gives an absolute path.