Skip to content

cofounders/urlutils

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

The `window.URL` constructor for Node

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published