Skip to content

Commit 42be65a

Browse files
committed
fix(docs): update for ESM
1 parent 3ddd79e commit 42be65a

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

README.md

+1-2
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,7 @@ Node
2828
Install with <code>npm install @octokit/rest</code>
2929

3030
```js
31-
const { Octokit } = require("@octokit/rest");
32-
// or: import { Octokit } from "@octokit/rest";
31+
import { Octokit } from "@octokit/rest";
3332
```
3433

3534
</td></tr>

0 commit comments

Comments
 (0)