Node path module as a browser-compatible standard JS module
npm install path-moduleThis is a port of the Node ’path’ module ported to ES2022 and published to npm
as a browser-compatible, standard JavaScript module.
``sh`
$ npm install path-module
You should be able to use this package as a replacement for the built-in path
package with systems that allow customization of import specifier resolution,
like standard import maps,
or the Rollup node-resolve plugin.
You can install this package under the path name:
`json`
{
"dependencies": {
"path": "npm:path-module"
}
}
Then set preferbuiltins
to false` so that the npm package is used.
MIT
This repository is forked from https://github.com/jinder/path