# drawcanvas

> Little ES6 drawing plugin without any dependencie

Latest version **1.0.3** (published 2017-06-09) · ISC license · 0 weekly downloads

## Install

```sh
npm install drawcanvas
pnpm add drawcanvas
yarn add drawcanvas
bun add drawcanvas
```

## 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.3 |
| Published | 2017-06-09 |
| First published | 2017-06-08 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Clément Le Biez |
| Maintainers | clebiez |

## Links

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

## Recent versions

- 1.0.3 (latest) — 2017-06-09
- 1.0.2 — 2017-06-08
- 1.0.1 — 2017-06-08
- 1.0.0 — 2017-06-08

## README

# Drawcanvas

Little ES6 drawing plugin without any dependencie and mobile friendly.

## Installation

```sh
npm install drawcanvas --save
yarn add drawcanvas
```

## Usage

First, import the plugin at the head of your JS file
```
import Drawcanvas from 'drawcanvas'
```

And invoke an object with this few options

```
const drawcanvas = new Drawcanvas({
    canvas: String (id of your canvas, required),
    size: Number (default: 3),
    color: String (default: #000)
});
```

If you want to clear the canvas, simply call

`drawcanvas.clear()`

## Dependencies

None (Yeah.)

## License

ISC

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