Skip to content

Commit 1389b71

Browse files
committed
Revert "docs(README): update examples to use ESM (#611)"
This reverts commit 7392e4b.
1 parent 8e79d82 commit 1389b71

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -33,11 +33,11 @@ Node
3333
Install with `npm install @octokit/core @octokit/plugin-paginate-rest`. Optionally replace `@octokit/core` with a core-compatible module
3434

3535
```js
36-
import { Octokit } from "@octokit/core";
37-
import {
36+
const { Octokit } = require("@octokit/core");
37+
const {
3838
paginateRest,
3939
composePaginateRest,
40-
} from "@octokit/plugin-paginate-rest";
40+
} = require("@octokit/plugin-paginate-rest");
4141
```
4242

4343
</td></tr>

0 commit comments

Comments
 (0)