0.0.3 • Published 10 years ago

urlutils v0.0.3

Weekly downloads
140
License
ISC
Repository
github
Last release
10 years ago

URLUtils

Modern browsers all have a window.URL constructor that implements the URLUtils interface. It allows parsing and manipulating of URLs. This package offers a shim for Node to implement similar behaviour. It's based on the popular URIjs.

Installation

Command line: npm install urlutils

Usage

var URL = require('urlutils');
new URL('http://example.com/foobar').pathname; // "/foobar"

References

WHATWG URL Living Standard http://url.spec.whatwg.org/

MDN URL Documentation https://developer.mozilla.org/en-US/docs/Web/API/URL

0.0.3

10 years ago

0.0.2

10 years ago

0.0.1

10 years ago