Skip to content

Commit

Permalink
fix(docs): update for ESM
Browse files Browse the repository at this point in the history
  • Loading branch information
wolfy1339 committed Mar 4, 2024
1 parent 3ddd79e commit 42be65a
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 @@ -28,8 +28,7 @@ Node
Install with <code>npm install @octokit/rest</code>

```js
const { Octokit } = require("@octokit/rest");
// or: import { Octokit } from "@octokit/rest";
import { Octokit } from "@octokit/rest";
```

</td></tr>
Expand Down

0 comments on commit 42be65a

Please sign in to comment.