Skip to content

Commit 202aaa9

Browse files
authored
Merge pull request #61 from gron1gh1/main
docs: fix example import
2 parents 2b2e029 + e18c33d commit 202aaa9

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,10 +66,12 @@ But my full-time job is very busy. So the progress is slow, And any sponsorship
6666
## Example
6767

6868
````javascript
69-
import { Printer } from "@node-escpos/core";
69+
import { Printer, Image } from "@node-escpos/core";
7070
// install escpos-usb adapter module manually
7171
import USB from "@node-escpos/usb-adapter";
7272
// Select the adapter based on your printer type
73+
import { join } from "path";
74+
7375
const device = new USB();
7476

7577
device.open(async function(err){

0 commit comments

Comments
 (0)