is-dotfile : Return true if a file path is (or has) a dotfile. Returns false if the path is a dot directory.. You can installing is-dotfile 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 is-dotfile $ sudo npm install -g is-dotfile
If want to update the is-dotfile package execute the command as below,
$ sudo npm update is-dotfile
Update package globally,
$ npm install -g is-dotfile
$ sudo git clone https://github.com/rektide/is-dotfile.git
$ sudo npm install -g ./is-dotfile
is-dotfile@2.0.0 /usr/lib/node_modules/is-dotfile
You can uninstall or remove this package from your node_modules run the command as below,
$ sudo npm uninstall is-dotfile
| Package Name | is-dotfile |
| Version | 2.0.0 |
| Description | Return true if a file path is (or has) a dotfile. Returns false if the path is a dot directory. |
| Released Date | 2017-05-30T14:48:05.615Z |
| Published by | jonschlinkert |
| How to Learn | https://www.npmjs.com/package/is-dotfile/tutorial |