Skip to content

Commit

Permalink
fix import in readme (#21)
Browse files Browse the repository at this point in the history
  • Loading branch information
foxt committed Feb 29, 2024
1 parent 2579086 commit 2915f78
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,7 @@ Check the [examples](https://github.com/foxt/icloud.js/tree/master/test), or rea
### Basic example

```js
const iCloud = require('icloud.js');
const icloud = new iCloud({
const { default: iCloud } = require('icloudjs');const icloud = new iCloud({
username: "johnny.appleseed@icloud.com",
password: "hunter2",
saveCredentials: true,
Expand Down

0 comments on commit 2915f78

Please sign in to comment.