npm sweet alert code example
Example 1: sweetalert angular 8
npm install --save sweetalert2
Example 2: sweetalert2 js
<link href="//cdn.jsdelivr.net/npm/@sweetalert2/theme-dark@4/dark.css" rel="stylesheet">
<script src="//cdn.jsdelivr.net/npm/sweetalert2@10/dist/sweetalert2.min.js"></script>