the path module from node core for browsers, with ESM format, fixed `process.cwd()`
npm install path-browserify-esm> The path module from Node.js for browsers
- forked from path-browserify , and combined with @types/path-browserify
- converted to ES6 Modules (ESM)
- added new method: path.setCWD(path: string)
The original path-browserify would fail when calling resolve in browser, as it calls process.cwd() internally. Now, the CWD can be manually set (default is empty string)
- path.process_cwd:string get the current CWD
/
path-browserify-esm
/
index.esm.js
#### NPM Install
``sh`
npm install path-browserify-esm
#### CDN Install
Via jsDelivr:
`html`
`html`````