0.1.0 • Published 10 years ago
root-domain v0.1.0
root-domain
simply returns the root-domain of any url or host that you give it
var parse = require('root-domain');
console.log(parse('mail.google.com'));
// 'google.com'
All the hard work is done by
parse-domain
.
0.1.0
10 years ago