simple-toast-messages
TypeScript icon, indicating that this package has built-in type declarations

1.0.2 • Public • Published

simple-toast-messages

npm version GitHub issues GitHub forks GitHub stars GitHub license npm CodeFactor TypeScript

A simple TypeScript package that builds up a messaging system.

Installation

npm install simple-toast-messages

Usage

import SimpleToastMessages from 'simple-toast-messages';
import { SimpleToastMessages, stm, T } from 'simple-toast-messages';

const msg = SimpleToastMessages.getInstance();
msg.success(message, 1000);
msg.error(message);
msg.info(message, 2000);
msg.warning(message, 5000);

Example

License

MIT

Install

npm i simple-toast-messages

DownloadsWeekly Downloads

13

Version

1.0.2

License

MIT

Unpacked Size

65 kB

Total Files

33

Last publish

Collaborators

  • josunlp