sweetalert2 : A beautiful, responsive, customizable and accessible (WAI-ARIA) replacement for JavaScripts popup boxes, supported fork of sweetalert. You can installing sweetalert2 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 sweetalert2 $ sudo npm install -g sweetalert2
If want to update the sweetalert2 package execute the command as below,
$ sudo npm update sweetalert2
Update package globally,
$ npm install -g sweetalert2
$ sudo git clone https://github.com/rektide/sweetalert2.git
$ sudo npm install -g ./sweetalert2
sweetalert2@7.0.3 /usr/lib/node_modules/sweetalert2
You can uninstall or remove this package from your node_modules run the command as below,
$ sudo npm uninstall sweetalert2
| Package Name | sweetalert2 |
| Version | 7.0.3 |
| Description | A beautiful, responsive, customizable and accessible (WAI-ARIA) replacement for JavaScripts popup boxes, supported fork of sweetalert |
| Released Date | 2017-11-21T11:50:25.237Z |
| Published by | limonte |
| How to Learn | https://www.npmjs.com/package/sweetalert2/tutorial |