
Original generates the origin URL for a given URL or URL object. In addition to that it also comes with a simple same function to check if two URL's have the same origin.
This module is browserify and node compatible.
Node.js is an event-based server-side JavaScript engine.