1.0.10 • Published 5 years ago
swalt v1.0.10
Swalt 
An amazing replacement for Javascript's default alerts
By using this very lightweight library, you can show the custom alerts in a single line of code.

Table of Contents
Installation
$ npm install swaltUsage
import swalt from 'swalt';
swalt("Hello world!");Templates
Normal Swalt
swalt("Hello world!");Dark Mode Swalt
swalt("Hello World", {
mode: "dark"
});Swalt with Icon
swalt("Hello World", {
showIcon: true
});Swalt with Custom Title
swalt("Hello World", {
title: "My Title"
});Swalt with Input
swalt("Hello World", {
input: true
});Get more templates at -