Skip to content

Commit ee557d9

Browse files
authored
docs(README): replace pika cdn with esm.sh, use ESM imports
1 parent ba7086e commit ee557d9

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,15 +20,15 @@ Browsers
2020

2121
</th><td width=100%>
2222

23-
Load `@probot/octokit-plugin-config` and [`@octokit/core`](https://github.com/octokit/core.js) (or core-compatible module) directly from [cdn.pika.dev](https://cdn.pika.dev)
23+
Load `@probot/octokit-plugin-config` and [`@octokit/core`](https://github.com/octokit/core.js) (or core-compatible module) directly from [esm.sh](https://esm.sh)
2424

2525
```html
2626
<script type="module">
27-
import { Octokit } from "https://cdn.pika.dev/@octokit/core";
27+
import { Octokit } from "https://esm.sh/@octokit/core";
2828
import {
2929
config,
3030
composeConfigGet,
31-
} from "https://cdn.pika.dev/@probot/octokit-plugin-config";
31+
} from "https://esm.sh/@probot/octokit-plugin-config";
3232
</script>
3333
```
3434

@@ -42,8 +42,8 @@ Node
4242
Install with `npm install @octokit/core @probot/octokit-plugin-config`. Optionally replace `@octokit/core` with a compatible module
4343

4444
```js
45-
const { Octokit } = require("@octokit/core");
46-
const { config, composeConfigGet } = require("@probot/octokit-plugin-config");
45+
import { Octokit } from "@octokit/core";
46+
import { config, composeConfigGet } from "@probot/octokit-plugin-config";
4747
```
4848

4949
</td></tr>

0 commit comments

Comments
 (0)