Skip to content

jcrugzz/root-domain

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published