Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docs(README): replace CJS with ESM imports
Browse files Browse the repository at this point in the history
wolfy1339 committed Feb 23, 2024
1 parent 718723c commit 0c23205
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
@@ -87,8 +87,7 @@ Node
Install with <code>npm install @octokit/request</code>

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

</td></tr>

0 comments on commit 0c23205

Please sign in to comment.