Skip to content

A wrapper module that exposes node's path module in the browser and node contexts. This is not a reimplementation of node's path module. Instead, this project simply exposes the node module to both the browser and node runtimes.

License

Notifications You must be signed in to change notification settings

ostosh/isomorphic-path

Repository files navigation

isomorphic-path

A wrapper module that exposes node's path module in the browser and node contexts. This is not a reimplementation of node's path module. Instead, this project simply exposes the node module to both the browser and node runtimes.

Supported Methods (see official API: https://nodejs.org/api/path.html):

  • normalize
  • isAbsolute
  • join
  • dirname
  • basename
  • extname
  • format
  • parse
  • resolve (node only; throws exception in browser mode)
  • relative (node only; throws exception in browser mode)

About

A wrapper module that exposes node's path module in the browser and node contexts. This is not a reimplementation of node's path module. Instead, this project simply exposes the node module to both the browser and node runtimes.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •