# ecg-plups

> 心电图生成、实时心电图 > 1.0

Latest version **0.0.1** (published 2022-07-13) · ISC license · 0 weekly downloads

## Install

```sh
npm install ecg-plups
pnpm add ecg-plups
yarn add ecg-plups
bun add ecg-plups
```

## Health

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

Positive: no vulnerabilities.

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

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.1 |
| Published | 2022-07-13 |
| First published | 2022-07-13 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 5.6 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | stall_ll |
| Maintainers | stall_ll |

## Links

- npm: https://www.npmjs.com/package/ecg-plups
- npm.io page: https://npm.io/package/ecg-plups

## Recent versions

- 0.0.1 (latest) — 2022-07-13

## README

# ecg-plups
  心电图生成、实时心电图
> 1.0

## Build Setup

``` bash
# install dependencies
npm install ecg-plups

# serve with hot reload at localhost:8080
  // 心电图生成
  import { EcgClass } from 'ecg-plups';
  const ecg = new EcgClass()
  await ecg.initGrid(10)
  ecg.setData(list, dataRate) // list 元数据 dataRate走速
  // 实时心电图

  // 初始化
  const ecgController = new EcgController(document.getElementById(your canvas dom))
  ecgController.init()

  // 加入数据
  ecgController.pushData(实时心电数据数组)

  // 还原
  ecgController.init()

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