sweetalert : A beautiful replacement for JavaScripts alert. You can installing sweetalert 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 sweetalert $ sudo npm install -g sweetalert
If want to update the sweetalert package execute the command as below,
$ sudo npm update sweetalert
Update package globally,
$ npm install -g sweetalert
$ sudo git clone https://github.com/rektide/sweetalert.git
$ sudo npm install -g ./sweetalert
sweetalert@2.0.8 /usr/lib/node_modules/sweetalert
You can uninstall or remove this package from your node_modules run the command as below,
$ sudo npm uninstall sweetalert
| Package Name | sweetalert |
| Version | 2.0.8 |
| Description | A beautiful replacement for JavaScripts alert |
| Released Date | 2017-10-16T07:47:30.196Z |
| Published by | t4t5 |
| How to Learn | https://www.npmjs.com/package/sweetalert/tutorial |