# h5-indicator

> ```javascript import indicator from "h5-indicator"; // toast // indicator.toast('some tost', [config]) indicator.toast("toast", { // default config timeout: 1500, textColor: "#fff", textSize: 26 }); // loaidng // indicator.showLoading([config]) indicator.

Latest version **1.0.9** (published 2020-02-28) · MIT license · 0 weekly downloads

## Install

```sh
npm install h5-indicator
pnpm add h5-indicator
yarn add h5-indicator
bun add h5-indicator
```

## Health

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

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.9 |
| Published | 2020-02-28 |
| First published | 2019-07-18 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 6.7 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | wen911119 |
| Maintainers | wen911119 |

## Links

- npm: https://www.npmjs.com/package/h5-indicator
- Repository: git@github.com:wen911119/h5-indicator
- npm.io page: https://npm.io/package/h5-indicator

## Dependencies (1)

- [p-to-r](https://npm.io/package/p-to-r.md) ^1.0.4

## Recent versions

- 1.0.9 (latest) — 2020-02-28
- 1.0.8 — 2019-09-06
- 1.0.7 — 2019-09-06
- 1.0.6 — 2019-09-04
- 1.0.5 — 2019-09-04
- 1.0.4 — 2019-08-18
- 1.0.3 — 2019-08-13
- 1.0.2 — 2019-08-12
- 1.0.1 — 2019-08-08
- 1.0.0 — 2019-07-18

## README

### Example

```javascript
import indicator from "h5-indicator";
// toast
// indicator.toast('some tost', [config])
indicator.toast("toast", {
  // default config
  timeout: 1500,
  textColor: "#fff",
  textSize: 26
});
// loaidng
// indicator.showLoading([config])
indicator.showLoading({
  timeout: 20000,
  color: "#919191",
  mask: 0.1,
  size: 45
});
indicator.hideLoading();
```

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