0.1.2 • Published 7 months ago

path-module v0.1.2

Weekly downloads
-
License
MIT
Repository
github
Last release
7 months ago

path-module

This is a port of the Node ’path’ module ported to ES2022 and published to npm as a browser-compatible, standard JavaScript module.

Documentation

Install

$ npm install path-module

Usage

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.

Usage with Rollup

You can install this package under the path name:

{
  "dependencies": {
    "path": "npm:path-module"
  }
}

Then set preferbuiltins to false so that the npm package is used.

License

MIT

Acknowledgements

This repository is forked from https://github.com/jinder/path

0.1.2

7 months ago

0.1.1

7 months ago

0.1.0

7 months ago