delete : Delete files and folders and any intermediate directories if they exist (sync and async).. You can installing delete 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 delete $ sudo npm install -g delete
If want to update the delete package execute the command as below,
$ sudo npm update delete
Update package globally,
$ npm install -g delete
$ sudo git clone https://github.com/rektide/delete.git
$ sudo npm install -g ./delete
delete@1.1.0 /usr/lib/node_modules/delete
You can uninstall or remove this package from your node_modules run the command as below,
$ sudo npm uninstall delete
Package Name | delete |
Version | 1.1.0 |
Description | Delete files and folders and any intermediate directories if they exist (sync and async). |
Released Date | 2017-07-02T04:40:35.858Z |
Published by | jonschlinkert |
How to Learn | https://www.npmjs.com/package/delete/tutorial |