1.0.0 • Published 11 years ago
opurl v1.0.0
opurl
URL utility. Work with the path portion of URLs. Expose the same API as opath;
Installation
npm install opurl
Example
var Url = require('opurl');
var url = new Url('http://example.com/foo/bar?q=search#hash').dirname();
url.toString() === 'http://example.com/foo?q=search#hash';
1.0.0
11 years ago