cosmiconfig : Find and load configuration from a package.json property, rc file, or CommonJS module. You can installing cosmiconfig 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 cosmiconfig $ sudo npm install -g cosmiconfig
If want to update the cosmiconfig package execute the command as below,
$ sudo npm update cosmiconfig
Update package globally,
$ npm install -g cosmiconfig
$ sudo git clone https://github.com/rektide/cosmiconfig.git
$ sudo npm install -g ./cosmiconfig
cosmiconfig@3.1.0 /usr/lib/node_modules/cosmiconfig
You can uninstall or remove this package from your node_modules run the command as below,
$ sudo npm uninstall cosmiconfig
Package Name | cosmiconfig |
Version | 3.1.0 |
Description | Find and load configuration from a package.json property, rc file, or CommonJS module |
Released Date | 2017-10-02T01:16:26.525Z |
Published by | sudo-suhas |
How to Learn | https://www.npmjs.com/package/cosmiconfig/tutorial |