parse-gitignore : Parse a gitignore file into an array of patterns. Comments and empty lines are stripped.. You can installing parse-gitignore 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-gitignore $ sudo npm install -g parse-gitignore
If want to update the parse-gitignore package execute the command as below,
$ sudo npm update parse-gitignore
Update package globally,
$ npm install -g parse-gitignore
$ sudo git clone https://github.com/rektide/parse-gitignore.git
$ sudo npm install -g ./parse-gitignore
parse-gitignore@0.4.0 /usr/lib/node_modules/parse-gitignore
You can uninstall or remove this package from your node_modules run the command as below,
$ sudo npm uninstall parse-gitignore
| Package Name | parse-gitignore |
| Version | 0.4.0 |
| Description | Parse a gitignore file into an array of patterns. Comments and empty lines are stripped. |
| Released Date | 2017-04-02T21:14:07.218Z |
| Published by | jonschlinkert |
| How to Learn | https://www.npmjs.com/package/parse-gitignore/tutorial |