# drawille-spark

> Sparkline clone using drawille

Latest version **1.0.1** (published 2014-08-05) · MIT license · 0 weekly downloads

## Install

```sh
npm install drawille-spark
pnpm add drawille-spark
yarn add drawille-spark
bun add drawille-spark
```

Provides the command `spark`.

## 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.1 |
| Published | 2014-08-05 |
| First published | 2014-08-03 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 4 |
| Author | Bence Dányi |
| Maintainers | lennon |
| Keywords | spark, drawille, graph |

## Links

- npm: https://www.npmjs.com/package/drawille-spark
- Repository: https://github.com/madbence/node-drawille-spark
- Issues: https://github.com/madbence/node-drawille-spark/issues
- npm.io page: https://npm.io/package/drawille-spark

## Dependencies (1)

- [drawille](https://npm.io/package/drawille.md) ^1.0.0

## Alternatives

- [apollo-link-http-common](https://npm.io/package/apollo-link-http-common.md) — 879.0K weekly downloads
- [react-relay](https://npm.io/package/react-relay.md) — 336.8K weekly downloads
- [relay-test-utils](https://npm.io/package/relay-test-utils.md) — 181.6K weekly downloads
- [@vendure/core](https://npm.io/package/@vendure/core.md) — 14.8K weekly downloads
- [@pnpm/deps.graph-sequencer](https://npm.io/package/@pnpm/deps.graph-sequencer.md) — 13.4K weekly downloads

## Recent versions

- 1.0.1 (latest) — 2014-08-05
- 1.0.0 — 2014-08-03

## README

# drawille-spark

Draw [sparklines](http://en.wikipedia.org/wiki/Sparkline).

## Install

Install the [package](http://npmjs.org/package/drawille-spark) with [npm](http://npmjs.org):

```sh
$ npm install drawille-spark
```

If you need the CLI tool, install it globally:

```sh
$ npm install drawille-spark -g
```

## Usage

```sh
$ spark 0 30 55 80 33 150
⣠⣶⣼
```

```sh
$ echo 0 30 55 80 33 150 | spark
⣠⣶⣼
```

```sh
$ echo 0 30 55 80 33 150 | spark --lines 2
 ⢀⢸
⣰⣿⣾
```

## API

### spark(numbers[, lines])

Returns a `String`, with `numbers` graphed on it.
The graph has height of `lines` line (defaults to 1).

## License

MIT

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