parse-domain : Splits an url into sub-domain, domain and effective top-level-domain. You can installing parse-domain npm packages, there are two ways to install this module locally and globaly. -g option is specified to global. Execute the below command.
$ sudo npm install parse-domain $ sudo npm install -g parse-domain
If want to update the parse-domain package execute the command as below,
$ sudo npm update parse-domain
Update package globally,
$ npm install -g parse-domain
$ sudo git clone https://github.com/rektide/parse-domain.git
$ sudo npm install -g ./parse-domain
parse-domain@1.1.0 /usr/lib/node_modules/parse-domain
You can uninstall or remove this package from your node_modules run the command as below,
$ sudo npm uninstall parse-domain
| Package Name | parse-domain |
| Version | 1.1.0 |
| Description | Splits an url into sub-domain, domain and effective top-level-domain |
| Released Date | 2017-02-07T23:18:09.401Z |
| Published by | peerigon |
| How to Learn | https://www.npmjs.com/package/parse-domain/tutorial |