Skip to content

Commit

Permalink
update readme import
Browse files Browse the repository at this point in the history
  • Loading branch information
foxt committed Mar 14, 2024
1 parent 4dc4ea1 commit 5799e1d
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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: "[email protected]",
password: "hunter2",
Expand Down

0 comments on commit 5799e1d

Please sign in to comment.