prepend-file : Prepend data to a file, creating the file if it not yet exists.. You can installing prepend-file 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 prepend-file $ sudo npm install -g prepend-file
If want to update the prepend-file package execute the command as below,
$ sudo npm update prepend-file
Update package globally,
$ npm install -g prepend-file
$ sudo git clone https://github.com/rektide/prepend-file.git
$ sudo npm install -g ./prepend-file
prepend-file@1.3.1 /usr/lib/node_modules/prepend-file
You can uninstall or remove this package from your node_modules run the command as below,
$ sudo npm uninstall prepend-file
| Package Name | prepend-file |
| Version | 1.3.1 |
| Description | Prepend data to a file, creating the file if it not yet exists. |
| Released Date | 2016-11-26T02:34:21.440Z |
| Published by | stevemao |
| How to Learn | https://www.npmjs.com/package/prepend-file/tutorial |