{"_id":"snap-alert-js","_rev":"14-1dd0fd43fb9b7165ac7ad1f2759cb61f","name":"snap-alert-js","dist-tags":{"latest":"1.1.4"},"versions":{"1.0.0":{"name":"snap-alert-js","version":"1.0.0","keywords":["Javascript","Js","plugin","alert","prompt","notification","ui"],"author":{"url":"https://picker.sd","name":"Zainalabdeen Radwan","email":"zain@picker.sd"},"license":"MIT","_id":"snap-alert-js@1.0.0","maintainers":[{"name":"mczainoo","email":"mc.zainalabdeen@gmail.com"}],"homepage":"https://zain.picker.sd","bugs":{"url":"https://github.com/mczainalabdeen/snap-alert/issues"},"dist":{"shasum":"12af932c5d88af5c76861784e6798a94d6ac31ce","tarball":"https://registry.npmjs.org/snap-alert-js/-/snap-alert-js-1.0.0.tgz","fileCount":7,"integrity":"sha512-+Wk4tqBgGbC6t2peYCa0h2/0zNbL8vcG7zzp6sMb6kJ5xCCQYfjUddMR576Vsf04Eunm/HyfVi/DLoc37APxlQ==","signatures":[{"sig":"MEUCIC3cIwQ4qtugQftuW0QtPWJGgES7LcdC8qXmh/EHhPOwAiEA5c2P72KmbnjcjmUZaTZk30c8pPZ1f64tB/8edpNxjOo=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":34355},"gitHead":"58aa72c1a9e85abb75e4e7cbb3c6819292e8bb60","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"mczainoo","email":"mc.zainalabdeen@gmail.com"},"repository":{"url":"git+https://github.com/mczainalabdeen/snap-alert.git","type":"git"},"_npmVersion":"10.8.3","description":"SnapAlert is a lightweight Javascript plugin that provides customizable and user-friendly alert notifications , Easily display alerts, confirmations, and prompts in your applications with simple methods and flexible options.","directories":{},"_nodeVersion":"22.9.0","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/snap-alert-js_1.0.0_1728234915216_0.9272508769355792","host":"s3://npm-registry-packages"}},"1.0.1":{"name":"snap-alert-js","version":"1.0.1","keywords":["Javascript","Js","plugin","alert","prompt","notification","ui"],"author":{"url":"https://picker.sd","name":"Zainalabdeen Radwan","email":"zain@picker.sd"},"license":"MIT","_id":"snap-alert-js@1.0.1","maintainers":[{"name":"mczainoo","email":"mc.zainalabdeen@gmail.com"}],"homepage":"https://zain.picker.sd","bugs":{"url":"https://github.com/mczainalabdeen/snap-alert/issues"},"dist":{"shasum":"42e4d79de57f87ce2879f95d4a6a63c06ea727e2","tarball":"https://registry.npmjs.org/snap-alert-js/-/snap-alert-js-1.0.1.tgz","fileCount":7,"integrity":"sha512-7uPbXYCRX5LB2sEOzPGCcRC1NCzjyOorF/Z+0V1FEw2ilQyrFyWpVPC2ZgNSK0ZVwc+5eEo1e4zl5yAswgchcA==","signatures":[{"sig":"MEUCIHDewZVNb4X0t2LyhMuduAypkTTVpHSFFXaCrlaKhlINAiEAsUr+UBR+/yF8aEokGWq7+D5VOI1M8hNRbGqhJD9i0Oc=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":34408},"gitHead":"58aa72c1a9e85abb75e4e7cbb3c6819292e8bb60","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"mczainoo","email":"mc.zainalabdeen@gmail.com"},"repository":{"url":"git+https://github.com/mczainalabdeen/snap-alert.git","type":"git"},"_npmVersion":"10.8.3","description":"SnapAlert is a lightweight Javascript plugin that provides customizable and user-friendly alert notifications , Easily display alerts, confirmations, and prompts in your applications with simple methods and flexible options.","directories":{},"_nodeVersion":"22.9.0","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/snap-alert-js_1.0.1_1728235892491_0.2786100119083841","host":"s3://npm-registry-packages"}},"1.0.2":{"name":"snap-alert-js","version":"1.0.2","keywords":["Javascript","Js","plugin","alert","prompt","notification","ui"],"author":{"url":"https://picker.sd","name":"Zainalabdeen Radwan","email":"zain@picker.sd"},"license":"MIT","_id":"snap-alert-js@1.0.2","maintainers":[{"name":"mczainoo","email":"mc.zainalabdeen@gmail.com"}],"homepage":"https://zain.picker.sd","bugs":{"url":"https://github.com/mczainalabdeen/snap-alert/issues"},"dist":{"shasum":"39ce49d95c51f332ff2276be5fcdfeb3070e84b6","tarball":"https://registry.npmjs.org/snap-alert-js/-/snap-alert-js-1.0.2.tgz","fileCount":7,"integrity":"sha512-H/27qglZWPALixjIkbWujcXgMOyf3L3nC8SoQP1ZjIamQ8sr27+GXPc7Bdv0FHlvsj6vswSNWNxnAl5+qQGhEA==","signatures":[{"sig":"MEYCIQDpKriVv+Y8B6DcdWlAVc/79dd931vriD5lw0cnyYaBWQIhANeqtQaOdofn0qUiWaZr38LpxoahQ7EAV3Ft8wk4mD4f","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":34695},"gitHead":"58aa72c1a9e85abb75e4e7cbb3c6819292e8bb60","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"mczainoo","email":"mc.zainalabdeen@gmail.com"},"repository":{"url":"git+https://github.com/mczainalabdeen/snap-alert.git","type":"git"},"_npmVersion":"10.8.3","description":"SnapAlert is a lightweight Javascript plugin that provides customizable and user-friendly alert notifications , Easily display alerts, confirmations, and prompts in your applications with simple methods and flexible options.","directories":{},"_nodeVersion":"22.9.0","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/snap-alert-js_1.0.2_1728236083253_0.8035861617541575","host":"s3://npm-registry-packages"}},"1.0.3":{"name":"snap-alert-js","version":"1.0.3","keywords":["Javascript","Js","plugin","alert","prompt","notification","ui"],"author":{"url":"https://picker.sd","name":"Zainalabdeen Radwan","email":"zain@picker.sd"},"license":"MIT","_id":"snap-alert-js@1.0.3","maintainers":[{"name":"mczainoo","email":"mc.zainalabdeen@gmail.com"}],"homepage":"https://zain.picker.sd","bugs":{"url":"https://github.com/mczainalabdeen/snap-alert/issues"},"dist":{"shasum":"52514ae01c15a24859a512db670e42d54a8ed1e4","tarball":"https://registry.npmjs.org/snap-alert-js/-/snap-alert-js-1.0.3.tgz","fileCount":7,"integrity":"sha512-LcWSpeyL2osKquWoZLmJgAk42uww+KOkAuc3sEKbZCw5Zr1I4/DSx2upFqIgc5O15kxth4h6tbLLfoaFL4NvFA==","signatures":[{"sig":"MEQCIDYrBvAL0V+U9/28xwkcFltN4FuaytMDYVSqp/vpqL7pAiBerZPhC2fBniapii53PtPSEOrjYmLqCv9yEda38jZkzw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":34705},"gitHead":"58aa72c1a9e85abb75e4e7cbb3c6819292e8bb60","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"mczainoo","email":"mc.zainalabdeen@gmail.com"},"repository":{"url":"git+https://github.com/mczainalabdeen/snap-alert.git","type":"git"},"_npmVersion":"10.8.3","description":"SnapAlert is a lightweight Javascript plugin that provides customizable and user-friendly alert notifications , Easily display alerts, confirmations, and prompts in your applications with simple methods and flexible options.","directories":{},"_nodeVersion":"22.9.0","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/snap-alert-js_1.0.3_1728236544355_0.3389602084015009","host":"s3://npm-registry-packages"}},"1.0.4":{"name":"snap-alert-js","version":"1.0.4","keywords":["Javascript","Js","plugin","alert","prompt","notification","ui"],"author":{"url":"https://picker.sd","name":"Zainalabdeen Radwan","email":"zain@picker.sd"},"license":"MIT","_id":"snap-alert-js@1.0.4","maintainers":[{"name":"mczainoo","email":"mc.zainalabdeen@gmail.com"}],"homepage":"https://zain.picker.sd","bugs":{"url":"https://github.com/mczainalabdeen/snap-alert/issues"},"dist":{"shasum":"183557890c34a403f9fedd85b4c4c38c6f528305","tarball":"https://registry.npmjs.org/snap-alert-js/-/snap-alert-js-1.0.4.tgz","fileCount":7,"integrity":"sha512-VCGqQ911Pb4BKOLDX2VA348GD08p+FsHcF38tedz+WmNN4DpRzZNBxB2E5paL286GR1V2E+KllNYERwm6PhHBQ==","signatures":[{"sig":"MEUCIQCzT33oYM/K5vb97Rne4A4/m5C7NBcxK3n+tJ5qxlfMDQIgDdYu1rEf1dODZZgYIqGfsQHkg5xI2TqOmq8NJGgsGtg=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":35197},"gitHead":"577e6a46399ca6d486f24627ebd92b5b732c0eed","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"mczainoo","email":"mc.zainalabdeen@gmail.com"},"repository":{"url":"git+https://github.com/mczainalabdeen/snap-alert.git","type":"git"},"_npmVersion":"10.8.3","description":"SnapAlert is a lightweight Javascript plugin that provides customizable and user-friendly alert notifications , Easily display alerts, confirmations, and prompts in your applications with simple methods and flexible options.","directories":{},"_nodeVersion":"22.9.0","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/snap-alert-js_1.0.4_1728237236800_0.9542057808440438","host":"s3://npm-registry-packages"}},"1.0.5":{"name":"snap-alert-js","version":"1.0.5","keywords":["Javascript","Js","plugin","alert","prompt","notification","ui"],"author":{"url":"https://picker.sd","name":"Zainalabdeen Radwan","email":"zain@picker.sd"},"license":"MIT","_id":"snap-alert-js@1.0.5","maintainers":[{"name":"mczainoo","email":"mc.zainalabdeen@gmail.com"}],"homepage":"https://zain.picker.sd","bugs":{"url":"https://github.com/mczainalabdeen/snap-alert-js/issues"},"dist":{"shasum":"c9925073c9f8d2e02f115c881995057ffa2b1aa4","tarball":"https://registry.npmjs.org/snap-alert-js/-/snap-alert-js-1.0.5.tgz","fileCount":7,"integrity":"sha512-idXsr4LVWgTC90jkblBFkafd7GHBUIsZvnHr7V9NPcbguJDt9gqYS4ZrN+l3rxZbpD6mcZEnJWhJu4c6vKxGjA==","signatures":[{"sig":"MEYCIQD8PqVnYSNBqq/hgEZUhMapLu4d5g9zULSUhYNznPqNhwIhANKCvbjMmC1w9IldtMq0ULvEogd3JUbtfBDSD8ULg1X8","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":36780},"gitHead":"f3ea16b6e0da784ce5b4937ed182cd4036149cb5","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"mczainoo","email":"mc.zainalabdeen@gmail.com"},"repository":{"url":"git+https://github.com/mczainalabdeen/snap-alert-js.git","type":"git"},"_npmVersion":"10.8.3","description":"SnapAlert is a lightweight Javascript plugin that provides customizable and user-friendly alert notifications , Easily display alerts, confirmations, and prompts in your applications with simple methods and flexible options.","directories":{},"_nodeVersion":"22.9.0","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/snap-alert-js_1.0.5_1728244475075_0.14205550917323784","host":"s3://npm-registry-packages"}},"1.0.6":{"name":"snap-alert-js","version":"1.0.6","keywords":["Javascript","Js","plugin","alert","prompt","notification","ui"],"author":{"url":"https://picker.sd","name":"Zainalabdeen Radwan","email":"zain@picker.sd"},"license":"MIT","_id":"snap-alert-js@1.0.6","maintainers":[{"name":"mczainoo","email":"mc.zainalabdeen@gmail.com"}],"homepage":"https://zain.picker.sd","bugs":{"url":"https://github.com/mczainalabdeen/snap-alert-js/issues"},"dist":{"shasum":"df856b5fa3c3db2f1072640f177f9e1d6a31a0bb","tarball":"https://registry.npmjs.org/snap-alert-js/-/snap-alert-js-1.0.6.tgz","fileCount":7,"integrity":"sha512-Ii/Ehc/r2r8RYvWdt0fXVzKpOiBnAMaR4mP6W9zxX/FFmJ6hqlG0FDq9eU4As9NQFekW0GqUdiG7YOEQb+0YYQ==","signatures":[{"sig":"MEYCIQCLgxagMQrTlSWHQbvMk8yWL06hdxQLtoPlLhEuPbhquAIhAJqOsMb3Io708yIcKae78vFDT6HmrFdkLlHZ/1Gjp9M/","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":36780},"gitHead":"f3ea16b6e0da784ce5b4937ed182cd4036149cb5","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"mczainoo","email":"mc.zainalabdeen@gmail.com"},"repository":{"url":"git+https://github.com/mczainalabdeen/snap-alert-js.git","type":"git"},"_npmVersion":"10.8.3","description":"SnapAlert is a lightweight Javascript plugin that provides customizable and user-friendly alert notifications , Easily display alerts, confirmations, and prompts in your applications with simple methods and flexible options.","directories":{},"_nodeVersion":"22.9.0","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/snap-alert-js_1.0.6_1728977801643_0.6001417566586331","host":"s3://npm-registry-packages"}},"1.0.7":{"name":"snap-alert-js","version":"1.0.7","keywords":["Javascript","Js","plugin","alert","prompt","notification","ui"],"author":{"url":"https://picker.sd","name":"Zainalabdeen Radwan","email":"zain@picker.sd"},"license":"MIT","_id":"snap-alert-js@1.0.7","maintainers":[{"name":"mczainoo","email":"mc.zainalabdeen@gmail.com"}],"homepage":"https://zain.picker.sd","bugs":{"url":"https://github.com/mczainalabdeen/snap-alert-js/issues"},"dist":{"shasum":"b279d71226687718c5f8b41032db8f3029b47cfc","tarball":"https://registry.npmjs.org/snap-alert-js/-/snap-alert-js-1.0.7.tgz","fileCount":7,"integrity":"sha512-JP91uuHCqL+HSqg4BXfNOsw2evGTEZGEMo44ccEbPaaYLndgBLO0UWz4795dFfVgV/wT58g/xoPjhwVKHqbDWw==","signatures":[{"sig":"MEUCIQChaEYsth7wtyp0C9Zn/Z2xbRMvD9ks6YBWj5xfYRzPdQIgeDvkq1/fHNggqq4R8+XY5s9gEB4LC9kzSDc2pzBpuw8=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":36952},"gitHead":"f3ea16b6e0da784ce5b4937ed182cd4036149cb5","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"mczainoo","email":"mc.zainalabdeen@gmail.com"},"repository":{"url":"git+https://github.com/mczainalabdeen/snap-alert-js.git","type":"git"},"_npmVersion":"10.8.3","description":"SnapAlert is a lightweight Javascript plugin that provides customizable and user-friendly alert notifications , Easily display alerts, confirmations, and prompts in your applications with simple methods and flexible options.","directories":{},"_nodeVersion":"22.9.0","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/snap-alert-js_1.0.7_1728977881944_0.7486882588828565","host":"s3://npm-registry-packages"}},"1.0.8":{"name":"snap-alert-js","version":"1.0.8","keywords":["Javascript","Js","plugin","alert","prompt","notification","ui"],"author":{"url":"https://picker.sd","name":"Zainalabdeen Radwan","email":"zain@picker.sd"},"license":"MIT","_id":"snap-alert-js@1.0.8","maintainers":[{"name":"mczainoo","email":"mc.zainalabdeen@gmail.com"}],"homepage":"https://zain.picker.sd","bugs":{"url":"https://github.com/mczainalabdeen/snap-alert-js/issues"},"dist":{"shasum":"e7ed10271da62b4ef678460a2952fd368cf7f270","tarball":"https://registry.npmjs.org/snap-alert-js/-/snap-alert-js-1.0.8.tgz","fileCount":7,"integrity":"sha512-3j/sMRyrEoSbnRuvQGzTCP3FQtUb7eWwuJ0yuPblA4w9uJEln9+RGUFbSsnrgG5casP933qTkbm+Snv8ZHBMpQ==","signatures":[{"sig":"MEUCIQD4OEr2uihfT9W0ifrX38+ZbwuUQoobaBC04L+5iHujcgIga7CY7UL098tSoI7xBBtYPyTTxoyCwWTWhZv4PR9mhjU=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":37027},"gitHead":"f3ea16b6e0da784ce5b4937ed182cd4036149cb5","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"mczainoo","email":"mc.zainalabdeen@gmail.com"},"repository":{"url":"git+https://github.com/mczainalabdeen/snap-alert-js.git","type":"git"},"_npmVersion":"10.8.3","description":"SnapAlert is a lightweight Javascript plugin that provides customizable and user-friendly alert notifications , Easily display alerts, confirmations, and prompts in your applications with simple methods and flexible options.","directories":{},"_nodeVersion":"22.9.0","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/snap-alert-js_1.0.8_1728978067516_0.5848565769805569","host":"s3://npm-registry-packages"}},"1.0.9":{"name":"snap-alert-js","version":"1.0.9","keywords":["Javascript","Js","plugin","alert","prompt","notification","ui"],"author":{"url":"https://picker.sd","name":"Zainalabdeen Radwan","email":"zain@picker.sd"},"license":"MIT","_id":"snap-alert-js@1.0.9","maintainers":[{"name":"mczainoo","email":"mc.zainalabdeen@gmail.com"}],"homepage":"https://zain.picker.sd","bugs":{"url":"https://github.com/mczainalabdeen/snap-alert-js/issues"},"dist":{"shasum":"82859b17ec7680ab8bf8c669e8478fec7c9b8ee3","tarball":"https://registry.npmjs.org/snap-alert-js/-/snap-alert-js-1.0.9.tgz","fileCount":7,"integrity":"sha512-VPGCeKxZNmSYmEfkEXC/ZK+0LQDqqLEkEoNIEho9HPcarOLHDZJbbPAKxUcW3lZIys4y1Xbje30TcWZJ6or3nA==","signatures":[{"sig":"MEUCIQDjYC7Bc/gQ/LbWkwzKWkEjYtf4TqzdirGHspEr43WR6wIgDlPY7ZRql8GWaSvgOn0P269NKWIO9qnK2ZDqqgvmZNU=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":37148},"gitHead":"f3ea16b6e0da784ce5b4937ed182cd4036149cb5","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"mczainoo","email":"mc.zainalabdeen@gmail.com"},"repository":{"url":"git+https://github.com/mczainalabdeen/snap-alert-js.git","type":"git"},"_npmVersion":"10.8.3","description":"SnapAlert is a lightweight Javascript plugin that provides customizable and user-friendly alert notifications , Easily display alerts, confirmations, and prompts in your applications with simple methods and flexible options.","directories":{},"_nodeVersion":"22.9.0","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/snap-alert-js_1.0.9_1728978458779_0.6925145599418381","host":"s3://npm-registry-packages"}},"1.1.0":{"name":"snap-alert-js","version":"1.1.0","keywords":["Javascript","Js","plugin","alert","prompt","notification","ui"],"author":{"url":"https://picker.sd","name":"Zainalabdeen Radwan","email":"zain@picker.sd"},"license":"MIT","_id":"snap-alert-js@1.1.0","maintainers":[{"name":"mczainoo","email":"mc.zainalabdeen@gmail.com"}],"homepage":"https://zain.picker.sd","bugs":{"url":"https://github.com/mczainalabdeen/snap-alert-js/issues"},"dist":{"shasum":"60f8f95255a299bdca5ec864177a3ceb716f34b4","tarball":"https://registry.npmjs.org/snap-alert-js/-/snap-alert-js-1.1.0.tgz","fileCount":7,"integrity":"sha512-ZkA8cZi1ylOX5t4V3gvlNvgV5iE7HbKRJNCT0SBwemoXhtWXSpXiqkTeUHmXct8ZjoqHYtlt4Y8tVpIq8FKuWA==","signatures":[{"sig":"MEUCIQCNYFq7V5pK3vndhZ7fXHxjxJW3bHH6QR29kx9TGHCVNwIgNFp3v3/gZfwNnblj41fTI8dzFYryWI3qBA3r1rnZ2XQ=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":37198},"gitHead":"f3ea16b6e0da784ce5b4937ed182cd4036149cb5","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"mczainoo","email":"mc.zainalabdeen@gmail.com"},"repository":{"url":"git+https://github.com/mczainalabdeen/snap-alert-js.git","type":"git"},"_npmVersion":"10.8.3","description":"SnapAlert is a lightweight Javascript plugin that provides customizable and user-friendly alert notifications , Easily display alerts, confirmations, and prompts in your applications with simple methods and flexible options.","directories":{},"_nodeVersion":"22.9.0","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/snap-alert-js_1.1.0_1729112181817_0.3961426455765793","host":"s3://npm-registry-packages"}},"1.1.1":{"name":"snap-alert-js","version":"1.1.1","keywords":["Javascript","Js","plugin","alert","prompt","notification","ui"],"author":{"url":"https://picker.sd","name":"Zainalabdeen Radwan","email":"zain@picker.sd"},"license":"MIT","_id":"snap-alert-js@1.1.1","maintainers":[{"name":"mczainoo","email":"mc.zainalabdeen@gmail.com"}],"homepage":"https://zain.picker.sd","bugs":{"url":"https://github.com/mczainalabdeen/snap-alert-js/issues"},"dist":{"shasum":"97353018680dedc8bf7d2c2bc8e565a125e4e85b","tarball":"https://registry.npmjs.org/snap-alert-js/-/snap-alert-js-1.1.1.tgz","fileCount":7,"integrity":"sha512-VKbRc483dyClgHyhXVR9l89GSWP/06UVJL2G8H8zdsK/wyBuxnbOyq/hEbVUX1Ri9h8DuuyKRbES8QDJiwJjjw==","signatures":[{"sig":"MEYCIQDZx6Gcj3hyJNlovNgo2ZAWhczK9PIrezl5+dFradeOUgIhALK9pYLHgfWwYDvTuxS+H5/9fAJag8LXG9mB4tknmnif","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":37166},"gitHead":"f3ea16b6e0da784ce5b4937ed182cd4036149cb5","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"mczainoo","email":"mc.zainalabdeen@gmail.com"},"repository":{"url":"git+https://github.com/mczainalabdeen/snap-alert-js.git","type":"git"},"_npmVersion":"10.8.3","description":"SnapAlert is a lightweight Javascript plugin that provides customizable and user-friendly alert notifications , Easily display alerts, confirmations, and prompts in your applications with simple methods and flexible options.","directories":{},"_nodeVersion":"22.9.0","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/snap-alert-js_1.1.1_1729899088894_0.42945338068708083","host":"s3://npm-registry-packages"}},"1.1.2":{"name":"snap-alert-js","version":"1.1.2","keywords":["Javascript","Js","plugin","alert","prompt","notification","ui"],"author":{"url":"https://picker.sd","name":"Zainalabdeen Radwan","email":"zain@picker.sd"},"license":"MIT","_id":"snap-alert-js@1.1.2","maintainers":[{"name":"mczainoo","email":"mc.zainalabdeen@gmail.com"}],"homepage":"https://zain.picker.sd","bugs":{"url":"https://github.com/mczainalabdeen/snap-alert-js/issues"},"dist":{"shasum":"eeea120afe81133e4b65b5ae40772bc63ab9f99a","tarball":"https://registry.npmjs.org/snap-alert-js/-/snap-alert-js-1.1.2.tgz","fileCount":7,"integrity":"sha512-hrTZc7HcxchHCh6mAaq9VFBc2fK/fEaewKfARz+h3TF59F4ogVC8jh9P4hoC8/MgbdPVvx2PiI5ymL/zBkW/oQ==","signatures":[{"sig":"MEQCIBurmw1Xo7IrJo22+IMge9M5rCAZGRBMJqJD9xKG0+qAAiABSS616tMs5PqNJm3ZTZc3qHY+x7gql0fXWkpWAlGRsg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":37166},"gitHead":"f3ea16b6e0da784ce5b4937ed182cd4036149cb5","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"mczainoo","email":"mc.zainalabdeen@gmail.com"},"repository":{"url":"git+https://github.com/mczainalabdeen/snap-alert-js.git","type":"git"},"_npmVersion":"10.8.3","description":"SnapAlert is a lightweight Javascript plugin that provides customizable and user-friendly alert notifications , Easily display alerts, confirmations, and prompts in your applications with simple methods and flexible options.","directories":{},"_nodeVersion":"22.9.0","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/snap-alert-js_1.1.2_1729899822271_0.15840343128840528","host":"s3://npm-registry-packages"}},"1.1.3":{"name":"snap-alert-js","version":"1.1.3","keywords":["Javascript","Js","plugin","alert","prompt","notification","ui"],"author":{"url":"https://picker.sd","name":"Zainalabdeen Radwan","email":"zain@picker.sd"},"license":"MIT","_id":"snap-alert-js@1.1.3","maintainers":[{"name":"mczainoo","email":"mc.zainalabdeen@gmail.com"}],"homepage":"https://zain.picker.sd","bugs":{"url":"https://github.com/mczainalabdeen/snap-alert-js/issues"},"dist":{"shasum":"d2921417859d4d70446e58ebb9bc3a250feace43","tarball":"https://registry.npmjs.org/snap-alert-js/-/snap-alert-js-1.1.3.tgz","fileCount":7,"integrity":"sha512-yXElXDwyE8x0n1j/CDWJAvTyXkniM/WCkjeFRC20HD175KiZCP3a+EuysP5VqsbP6S/YbuIaZxzicZmdOUsQpQ==","signatures":[{"sig":"MEUCIQCNospJ55CwOhiBy5uDMFb78lcaQM9AapMO2bQfkv+nGgIgfvdpk2gOYkKTHE5kQyp0CpOcCS7vPpecGq9uxz/vTzk=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":37166},"gitHead":"f3ea16b6e0da784ce5b4937ed182cd4036149cb5","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"mczainoo","email":"mc.zainalabdeen@gmail.com"},"repository":{"url":"git+https://github.com/mczainalabdeen/snap-alert-js.git","type":"git"},"_npmVersion":"10.8.3","description":"SnapAlert is a lightweight Javascript plugin that provides customizable and user-friendly alert notifications , Easily display alerts, confirmations, and prompts in your applications with simple methods and flexible options.","directories":{},"_nodeVersion":"22.9.0","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/snap-alert-js_1.1.3_1729899852936_0.04080833854307886","host":"s3://npm-registry-packages"}},"1.1.4":{"name":"snap-alert-js","version":"1.1.4","description":"SnapAlert is a lightweight Javascript plugin that provides customizable and user-friendly alert notifications , Easily display alerts, confirmations, and prompts in your applications with simple methods and flexible options.","homepage":"https://zain.picker.sd","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"keywords":["Javascript","Js","plugin","alert","prompt","notification","ui"],"author":{"name":"Zainalabdeen Radwan","email":"zain@picker.sd","url":"https://picker.sd"},"repository":{"type":"git","url":"git+https://github.com/mczainalabdeen/snap-alert-js.git"},"license":"MIT","_id":"snap-alert-js@1.1.4","gitHead":"c5d03367f04e29781ecbb796f27315c3ae1804f9","bugs":{"url":"https://github.com/mczainalabdeen/snap-alert-js/issues"},"_nodeVersion":"22.9.0","_npmVersion":"10.8.3","dist":{"integrity":"sha512-ittwztMCGr76wXl8QELnLldFwmn+4CwOYyOzpOce1OUWEf7opIUULugLCml40LOIVjoqNPKR1ZNbNvVXPBwd7A==","shasum":"cc0702cfe9ddae7e8e4581249a13dc79b10d6d44","tarball":"https://registry.npmjs.org/snap-alert-js/-/snap-alert-js-1.1.4.tgz","fileCount":7,"unpackedSize":37190,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBNj4gw+pwgSa9wut62Rdg8FG6dWbm5sDhcgEKBws5HLAiBHNchVXCdHAyDXN7NDvwO2k9qltcaJdOAuP0EhH5GLUQ=="}]},"_npmUser":{"name":"mczainoo","email":"mc.zainalabdeen@gmail.com"},"directories":{},"maintainers":[{"name":"mczainoo","email":"mc.zainalabdeen@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/snap-alert-js_1.1.4_1730974918644_0.014215881565319277"},"_hasShrinkwrap":false}},"time":{"created":"2024-10-06T17:15:15.215Z","modified":"2024-11-07T10:21:59.007Z","1.0.0":"2024-10-06T17:15:15.454Z","1.0.1":"2024-10-06T17:31:32.741Z","1.0.2":"2024-10-06T17:34:43.532Z","1.0.3":"2024-10-06T17:42:24.626Z","1.0.4":"2024-10-06T17:53:57.017Z","1.0.5":"2024-10-06T19:54:35.243Z","1.0.6":"2024-10-15T07:36:41.839Z","1.0.7":"2024-10-15T07:38:02.161Z","1.0.8":"2024-10-15T07:41:07.706Z","1.0.9":"2024-10-15T07:47:38.999Z","1.1.0":"2024-10-16T20:56:22.042Z","1.1.1":"2024-10-25T23:31:29.181Z","1.1.2":"2024-10-25T23:43:42.476Z","1.1.3":"2024-10-25T23:44:13.177Z","1.1.4":"2024-11-07T10:21:58.863Z"},"bugs":{"url":"https://github.com/mczainalabdeen/snap-alert-js/issues"},"author":{"name":"Zainalabdeen Radwan","email":"zain@picker.sd","url":"https://picker.sd"},"license":"MIT","homepage":"https://zain.picker.sd","keywords":["Javascript","Js","plugin","alert","prompt","notification","ui"],"repository":{"type":"git","url":"git+https://github.com/mczainalabdeen/snap-alert-js.git"},"description":"SnapAlert is a lightweight Javascript plugin that provides customizable and user-friendly alert notifications , Easily display alerts, confirmations, and prompts in your applications with simple methods and flexible options.","maintainers":[{"name":"mczainoo","email":"mc.zainalabdeen@gmail.com"}],"readme":"# SnapAlert for Javascript\r\n\r\n**SnapAlert** is a lightweight and customizable Javascript plugin designed for adding stylish alert notifications to your app. This plugin allows you to easily display alerts, confirmations, prompts, and even custom HTML notifications in a user-friendly way.\r\n\r\n\r\n\r\n## Installation\r\n\r\nHere's how to use SnapAlert in your project:\r\n\r\n### Installation via CSS\r\n\r\nInclude the stylesheet on your document's <head>  `</head>` tag.\r\n\r\n```html\r\n<head>\r\n  <link rel=\"stylesheet\" href=\"snapAlert.css\">\r\n  <!-- Or -->\r\n  <link rel=\"stylesheet\" href=\"snapAlert.min.css\">\r\n</head>\r\n```\r\n\r\nInstead of installing you may use the remote version.\r\n\r\n```html\r\n<head>\r\n  <link rel=\"stylesheet\"\r\n  href=\"https://cdn.jsdelivr.net/npm/snap-alert-js@latest/dist/snapAlert.css\">\r\n  <!-- Or -->\r\n  <link rel=\"stylesheet\"\r\n  href=\"https://unpkg.com/snap-alert-js@latest/dist/snapAlert.min.css\">\r\n</head>\r\n```\r\n\r\n### Installation via Javscript\r\n\r\nInclude the Plugin on your document's  before `</body>` tag.\r\n\r\n```html\r\n  <script src=\"/snap-alert.js\">\r\n  <!-- Or -->\r\n  <script src=\"/snap-alert.min.js\"></script>\r\n```\r\n\r\nInstead of installing you may use the remote version.\r\n\r\n```html\r\n  <script src=\"https://cdn.jsdelivr.net/npm/snap-alert-js@latest/dist/snap-alert.js\">\r\n  <!-- Or -->\r\n  <script src=\"https://unpkg.com/snap-alert-js@latest/dist/snap-alert.min.js\"></script>\r\n```\r\n\r\n## Usage\r\n\r\nYou can now use SnapAlert to display different types of alerts. Here are some examples:\r\n\r\n#### Basic Alert\r\n\r\n```javascript\r\nSnapAlert().alert('Alert Title', 'This is a basic alert.');\r\n```\r\n\r\n#### Success Alert\r\n\r\n```javascript\r\nSnapAlert().success('Success', 'Your operation was successful!');\r\n```\r\n\r\n#### Info Alert\r\n\r\n```javascript\r\nSnapAlert().info('Info', 'Be Notice!');\r\n```\r\n\r\n\r\n#### Error Alert\r\n\r\n```javascript\r\nSnapAlert().error('Error', 'Something went wrong.');\r\n```\r\n\r\n#### Confirmation Alert with Actions\r\n\r\n```javascript\r\nSnapAlert().warning('Are you sure?', 'This action cannot be undone.', {\r\n  enableConfirm: true,\r\n  enableCancel: true,\r\n  onConfirm: () => {\r\n    console.log('Confirmed!');\r\n  },\r\n  onCancel: () => {\r\n    console.log('Cancelled!');\r\n  }\r\n});\r\n```\r\n\r\n### Step 3: Customizing Alerts\r\n\r\nYou can customize the options for each alert. For example:\r\n\r\n```javascript\r\nSnapAlert().info('Information', 'This is an info alert.', {\r\n  position: 'top right',\r\n  duration: 5000,\r\n  icon: 'custom-icon-class', // Replace with a Boxicons class name (https://boxicons.com)\r\n  isDark: true\r\n});\r\n```\r\n\r\n### 4. Displaying HTML Alerts\r\n\r\nYou can display various types of alerts using the provided methods. Below is an example of how to show a custom HTML alert:\r\n\r\n```javascript\r\nSnapAlert().html(`<img src=\"https://placehold.co/600x400\" />`, {\r\n        position: 'top right',\r\n        duration: 5000,\r\n    }\r\n);\r\n```\r\n\r\n\r\n### Step 5: Set Global Options with `SnapOptions`\r\n\r\nYou can use the `SnapOptions` method to set global default options for all alerts. This is particularly useful if you want to maintain consistency across multiple alerts.\r\n\r\n```javascript\r\nSnapAlert().SnapOptions({\r\n  duration: 5000,\r\n  isDark: true,\r\n  position: 'bottom right'\r\n});\r\n```\r\n\r\n#### Example of Using Global Options\r\n\r\nAfter setting global options, all subsequent alerts will use the specified default settings unless overridden by individual alert options:\r\n\r\n```javascript\r\n// Set global options\r\nSnapAlert().SnapOptions({\r\n  duration: 4000,\r\n  isDark: false,\r\n});\r\n\r\n// Now all alerts will have these default settings\r\nSnapAlert().success('Global Success', 'This alert will use global options.');\r\nSnapAlert().error('Global Error', 'This alert will also use global options.');\r\n```\r\n\r\n\r\n### `clearAll`\r\n\r\nThe `clearAll` method is used to remove all active alerts from the screen. This can be useful in scenarios where you want to clear multiple notifications at once, such as when navigating away from a page, or after performing a certain action where notifications are no longer relevant.\r\n\r\n```javascript\r\nSnapAlert().clearAll();\r\n```\r\n\r\nThis will instantly clear all alerts, including success, error, warning, info, and custom HTML alerts, if any are currently visible.\r\n\r\n\r\n### Available Options\r\n\r\n- **rtl**: `false` (Enable/disable right-to-left support)\r\n- **type**: `'info'`, `'success'`, `'error'`, `'warning'`\r\n- **title**: The title of the alert\r\n- **message**: The message of the alert\r\n- **position**: `'top left'`, `'top right'`, `'bottom left'`, `'bottom right'`, `'top center'`, `'bottom center'`.\r\n- **duration**: Time before auto-close (in milliseconds, default is 3000)\r\n- **autoClose**: Automatically close the alert (default is `true`)\r\n- **enableConfirm**: Show confirm button (default is `false`)\r\n- **onConfirm**: Function to execute when confirmed\r\n- **enableCancel**: Show cancel button (default is `false`)\r\n- **onCancel**: Function to execute when cancelled\r\n- **isDark**: Dark mode for the alert (default is `false`)\r\n- **icon**: Custom icon (default icons are provided)\r\n\r\n### License\r\n\r\nThis project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.\r\n\r\n## Author\r\n\r\n**Zainalabdeen Radwan**  \r\n[Website](https://picker.sd) | [Email](mailto:zain@picker.sd)","readmeFilename":"README.md"}