path-browserify
path-browserify copied to clipboard
The path module from Node.js for browsers
The Node.js `path` module can be imported with named exports when using ESM. `path-browserify` could not. All exports were rewritten to use `exports.name = value`. This allows to use named...
Node's version of path.join converts the front or backslash appropriately depending on the operating system. For example, windows uses a frontslash for its directories. And linux and mac use a...
Would you mind switch to use `deno_std`'s path module? API is compatible with Node.js, simply use `deno bundle` to output es module, make bundlers do tree shaking better ```ts //...
**THIS IS A BREAKING CHANGE** `process` is not a global in the browser and seems like a left over implementation detail when transferred from NodeJS. There are two options to...
On windows, path uses backslash instead of forward slash, it will fail to resolve the relative path if given a path with backslash. A simple fix could be to fix...