Skip to content

Commit a058734

Browse files
authored
feat: package is now ESM (#469)
BREAKING CHANGE: package is now ESM
1 parent a72bdfc commit a058734

File tree

7 files changed

+2733
-9895
lines changed

7 files changed

+2733
-9895
lines changed

README.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -36,10 +36,8 @@ Node
3636
Install with `npm install @octokit/core @octokit/plugin-enterprise-compatibility`. Optionally replace `@octokit/core` with a core-compatible module
3737

3838
```js
39-
const { Octokit } = require("@octokit/core");
40-
const {
41-
enterpriseCompatibility,
42-
} = require("@octokit/plugin-enterprise-compatibility");
39+
import { Octokit } from "@octokit/core";
40+
import { enterpriseCompatibility } from "@octokit/plugin-enterprise-compatibility";
4341
```
4442

4543
</td></tr>

0 commit comments

Comments
 (0)