node-original

Generate the origin from an URL or check if two URL/Origins are the same
  https://github.com/unshiftio/original
  0
  no reviews



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.