opurl

1.0.0 • Public • Published

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';

Readme

Keywords

none

Package Sidebar

Install

npm i opurl

Weekly Downloads

0

Version

1.0.0

License

MIT

Last publish

Collaborators

  • curvedmark