It's Just a Package for Popup Toast / Notification Message π
npm install toastm
<head>
<link rel="stylesheet" href="./style.css" />
</head>
<body>
<script type="module" src="yourfilename.js"></script>
</body>
import { addToastm } from "./node_modules/toastm/toastm.js";
addToastm({
color: "primary",
position: "center",
text: "Toastm notification box π",
});
@import "./node_modules/toastm/style.css";
* color - primary | secondary | success | danger | warning | dark | special
* text - anything
* positon - left | center | right