From 2915f780170a0214e9a0b380524b47e35ce7a4f1 Mon Sep 17 00:00:00 2001 From: foxt Date: Thu, 29 Feb 2024 13:42:26 +0000 Subject: [PATCH] fix import in readme (#21) --- README.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/README.md b/README.md index 7dc608b..17971c6 100644 --- a/README.md +++ b/README.md @@ -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,