# c-web

> A statistics visualizer for canvas.

Latest version **1.0.5-0** (published 2018-06-23) · ISC license · 0 weekly downloads

## Install

```sh
npm install c-web
pnpm add c-web
yarn add c-web
bun add c-web
```

## 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.5-0 |
| Published | 2018-06-23 |
| First published | 2018-06-21 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Node | >=7.0 |
| Dependencies | 0 |
| Unpacked size | 312.5 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | ValentinHacker |
| Maintainers | valentin_h |
| Keywords | stats, ValentinHacker, browser |

## Links

- npm: https://www.npmjs.com/package/c-web
- Repository: https://github.com/ValentinHacker/Stats
- Issues: https://github.com/ValentinHacker/Stats/issues
- npm.io page: https://npm.io/package/c-web

## Alternatives

- [@opentelemetry/exporter-zipkin](https://npm.io/package/@opentelemetry/exporter-zipkin.md) — 14.8M weekly downloads
- [pusher-js](https://npm.io/package/pusher-js.md) — 2.0M weekly downloads
- [browserify](https://npm.io/package/browserify.md) — 1.7M weekly downloads
- [sqs-consumer](https://npm.io/package/sqs-consumer.md) — 1.7M weekly downloads
- [@sanity/eventsource](https://npm.io/package/@sanity/eventsource.md) — 930.8K weekly downloads

## Recent versions

- 1.0.5-0 (latest) — 2018-06-23
- 1.0.4 (stable) — 2018-06-23
- 1.0.4-0 — 2018-06-23
- 1.0.3 — 2018-06-23
- 1.0.3-0 — 2018-06-22
- 1.0.2 — 2018-06-21
- 1.0.2-0 — 2018-06-21
- 1.0.1 — 2018-06-21
- 1.0.1-0 — 2018-06-21
- 1.0.0 — 2018-06-21

## README

# c-stats  
```javascript
const data = {
	group1: {
		setup: {
			max: "auto", //max of data
			start: "bottom-left", //to top-right
			color: null, //random hex
			width: null, //line width
			dash: null, //[on, off, on...] if supported
			trans: 1, //alpha
			cap: "butt" || "round" || "square",
			join: "bevel" || "round" || "miter"
		},
		data: [ ]
	}
};
var stats = new Stats('#canvas', data);
stats.full().real();
```  
## *Stats* instance:  
`parse([data=selfData])`: pass data and trigger formating.  
`print([clear=true])`: render data.  
`real([cancel=false])`: activate animation frame (real-time data update) or disable.  
`full(mode="screen|width|height|page|pwidth|pheight")`: make canvas fullscreen, fullpage, fullwidth, full-page-height etc...

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