Browerifiable path module
JavaScript
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
lib
test
.gitignore
LICENSE
README.md
package.json

README.md

path-br

Browerifiable path module. It's more light weight than the one provided by browserify, and provides a few more method for dealing paths in browsers.

Installation

npm install path-br

API

path.getPath(url)

Get the path portion of a url.

path.cwd()

Dirname of the current html document.