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 68c6bb9 commit 108260a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@ This repository contains the original code, a few changes and a export statement

### Usage
```bash
npm install canvas2image-module-wrapper
npm install canvas2image-es6
```

```js
import canvas2image from "canvas2image-module-wrapper";
import canvas2image from "canvas2image-es6";

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

0 comments on commit 108260a

Please sign in to comment.