Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
JonathanTreffler authored Aug 3, 2020
1 parent 857a965 commit c589054
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
# canvas2image ES6
# canvas2image 2

Canvas2Image cannot be imported as a module and seems to no longer be maintained.

This repository contains the original code, a few changes and a export statement.

### Usage
```bash
npm install canvas2image-es6
npm install canvas2image-2
```

```js
import canvas2image from "canvas2image-es6";
import canvas2image from "canvas2image-2";

canvas2image.convertToPNG(canvas, 400, 400);
```

0 comments on commit c589054

Please sign in to comment.