true-domain
Returns the active domain name of the current page excluding subdomains.
Installation
npm install --save true-domain
Usage
var trueDomain = ; console;
Idea source
Inspired by this blog post by Ross Scrivener.
License
MIT
Returns the active domain name of the current page excluding subdomains.
npm install --save true-domain
var trueDomain = ; console;
Inspired by this blog post by Ross Scrivener.
MIT
npm i true-domain
1
0.1.0
MIT