Skip to content

Commit

Permalink
docs: import instead of require in example code (#72)
Browse files Browse the repository at this point in the history
  • Loading branch information
SgtPooki authored Apr 26, 2024
1 parent f27f8f8 commit a115dbe
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 @@ -52,7 +52,7 @@ It will download the kubo version that matches the npm version of this module. S
After downloading you can find out the path of the installed binary by calling the `path` function exported by this module:

```javascript
const { path } = require('kubo')
import { path } from 'kubo'

console.info('kubo is installed at', path())
```
Expand Down

0 comments on commit a115dbe

Please sign in to comment.