# alert-message

> show alert message on webpage

Latest version **0.1.24** (published 2020-01-13) · MIT license · 0 weekly downloads

## Install

```sh
npm install alert-message
pnpm add alert-message
yarn add alert-message
bun add alert-message
```

## Health

**Score 25/100 (F)** — status: abandoned.

Positive: has types; no vulnerabilities; high quality score.

Warnings: low downloads; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.1.24 |
| Published | 2020-01-13 |
| First published | 2019-04-21 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 2 |
| Unpacked size | 20.7 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 1 |
| Author | RickyHuang |
| Maintainers | rickyhuang |
| Keywords | alert |

## Links

- npm: https://www.npmjs.com/package/alert-message
- Repository: https://github.com/hyq2015/Message
- Homepage: https://github.com/hyq2015/Message#readme
- Issues: https://github.com/hyq2015/Message/issues
- npm.io page: https://npm.io/package/alert-message

## Dependencies (2)

- [@types/node](https://npm.io/package/@types/node.md) ^13.1.6
- [@babel/polyfill](https://npm.io/package/@babel/polyfill.md) ^7.4.3

## Alternatives

- [update-check](https://npm.io/package/update-check.md) — 4.0M weekly downloads
- [react-native-onesignal](https://npm.io/package/react-native-onesignal.md) — 134.5K weekly downloads
- [react-redux-toastr](https://npm.io/package/react-redux-toastr.md) — 33.7K weekly downloads
- [@nocobase/plugin-notification-manager](https://npm.io/package/@nocobase/plugin-notification-manager.md) — 2.0K weekly downloads
- [react-simple-toasts](https://npm.io/package/react-simple-toasts.md) — 1.9K weekly downloads

## Recent versions

- 0.1.24 (latest) — 2020-01-13
- 0.1.23 — 2020-01-13
- 0.1.22 — 2020-01-13
- 0.1.21 — 2020-01-13
- 0.1.2 — 2019-04-24
- 0.1.1 — 2019-04-24
- 0.1.0 — 2019-04-23
- 0.0.9 — 2019-04-23
- 0.0.8 — 2019-04-23
- 0.0.7 — 2019-04-23
- 0.0.6 — 2019-04-21
- 0.0.5 — 2019-04-21
- 0.0.4 — 2019-04-21
- 0.0.3 — 2019-04-21
- 0.0.2 — 2019-04-21
- … 1 more at https://npm.io/package/alert-message/versions

## README

homepage: [https://github.com/hyq2015/Message](https://github.com/hyq2015/Message)
### introduction
show alert message on your webpage
### usage
npm install -D alert-message

```
import Message from "alert-message"
import "path/to/node_modules/alert-message/lib/styles/index.min.css"

/**
 * @param args - {txt: "", time: 2500}, time default 2500(ms)
 */
Message.warn({txt: "warning text"});
Message.error({txt: "error text"});
Message.success({txt: "success text"});
```

---
_Source: https://npm.io/package/alert-message · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
