Skip to content

Commit

Permalink
Update usage to use printJS
Browse files Browse the repository at this point in the history
We need to use the exported `printJS` function.
Previous instructions was slightly misleading as this
can be used as a global library or an exported
module function.
  • Loading branch information
Sam Tsai committed Sep 19, 2018
1 parent c0bf252 commit ceac6c1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ yarn add print-js
When installing via npm or yarn, import the library into your project:

```
import print from 'print-js'
import printJS from 'print-js'
```

## Documentation
Expand Down

0 comments on commit ceac6c1

Please sign in to comment.