Skip to content

Commit

Permalink
docs: fix example import
Browse files Browse the repository at this point in the history
  • Loading branch information
gronxb authored Jan 18, 2023
1 parent 2b2e029 commit e18c33d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,10 +66,12 @@ But my full-time job is very busy. So the progress is slow, And any sponsorship
## Example

````javascript
import { Printer } from "@node-escpos/core";
import { Printer, Image } from "@node-escpos/core";
// install escpos-usb adapter module manually
import USB from "@node-escpos/usb-adapter";
// Select the adapter based on your printer type
import { join } from "path";

const device = new USB();

device.open(async function(err){
Expand Down

0 comments on commit e18c33d

Please sign in to comment.