0.1.0 • Published 9 years ago
true-domain v0.1.0
true-domain
Returns the active domain name of the current page excluding subdomains.
Installation
npm install --save true-domain
Usage
var trueDomain = require('true-domain');
console.log(trueDomain);
Idea source
Inspired by this blog post by Ross Scrivener.
License
MIT
0.1.0
9 years ago