Skip to content

Commit

Permalink
docs(README): update examples to use ESM (#611)
Browse files Browse the repository at this point in the history
  • Loading branch information
wolfy1339 authored Apr 19, 2024
1 parent 069235f commit 7392e4b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,11 +33,11 @@ Node
Install with `npm install @octokit/core @octokit/plugin-paginate-rest`. Optionally replace `@octokit/core` with a core-compatible module

```js
const { Octokit } = require("@octokit/core");
const {
import { Octokit } from "@octokit/core";
import {
paginateRest,
composePaginateRest,
} = require("@octokit/plugin-paginate-rest");
} from "@octokit/plugin-paginate-rest";
```

</td></tr>
Expand Down

0 comments on commit 7392e4b

Please sign in to comment.