From 5799e1d4ec183a4d96b9fe12b51ea1229e76291f Mon Sep 17 00:00:00 2001 From: foxt Date: Thu, 14 Mar 2024 12:42:48 +0000 Subject: [PATCH] update readme import --- README.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/README.md b/README.md index 0d2310c..36401b4 100644 --- a/README.md +++ b/README.md @@ -18,7 +18,12 @@ Check the [examples](https://github.com/foxt/icloud.js/tree/master/test), or rea ### Basic example ```js +// for TypeScript, use: +import iCloud from "icloudjs"; +// for JavaScript, use: const { default: iCloud } = require('icloudjs'); + + const icloud = new iCloud({ username: "johnny.appleseed@icloud.com", password: "hunter2",