node package manager
It’s your turn. Help us improve JavaScript. Take the 2017 JavaScript Ecosystem Survey »

path-br

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.