Skip to content

Commit 53bee3d

Browse files
committed
docs: update import
1 parent b569e1a commit 53bee3d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

readme.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ $ npm install posthtml-parser
2222
</a>
2323
```
2424
```js
25-
import parser from 'posthtml-parser'
25+
import { parser } from 'posthtml-parser'
2626
import fs from 'fs'
2727

2828
const html = fs.readFileSync('path/to/input.html', 'utf-8')

0 commit comments

Comments
 (0)