Skip to content

Commit 7d143df

Browse files
committed
docs: use commonjs style imports everywhere
1 parent 47ddfa0 commit 7d143df

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ console.log(highlighted)
4545
**HTML mode:**
4646

4747
```js
48-
import { highlight } from 'sql-highlight'
48+
const { highlight } = require('sql-highlight')
4949

5050
const sqlString = "SELECT `id`, `username` FROM `users` WHERE `email` = '[email protected]'"
5151

0 commit comments

Comments
 (0)