Skip to content

Commit

Permalink
docs: replace references to Skypack CDN with esm.sh (#595)
Browse files Browse the repository at this point in the history
* docs: replace references to Skypack CDN with esm.sh

* docs: update ToC for README.md

---------

Co-authored-by: prettier-toc-me[bot] <56236715+prettier-toc-me[bot]@users.noreply.github.com>
  • Loading branch information
wolfy1339 and prettier-toc-me[bot] committed Jun 14, 2023
1 parent 71d7488 commit cbd121f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ the passed options and sends the request using [fetch](https://developer.mozilla
- [`request.defaults()`](#requestdefaults)
- [`request.endpoint`](#requestendpoint)
- [Special cases](#special-cases)
- [The `data` parameter – set request body directly](#the-data-parameter--set-request-body-directly)
- [The `data` parameter – set request body directly](#the-data-parameter-%E2%80%93-set-request-body-directly)
- [Set parameters for both the URL/query and the request body](#set-parameters-for-both-the-urlquery-and-the-request-body)
- [LICENSE](#license)

Expand Down Expand Up @@ -70,11 +70,11 @@ request("POST /repos/{owner}/{repo}/issues/{number}/labels", {
<tr><th>
Browsers
</th><td width=100%>
Load <code>@octokit/request</code> directly from <a href="https://cdn.skypack.dev">cdn.skypack.dev</a>
Load <code>@octokit/request</code> directly from <a href="https://esm.sh">esm.sh</a>

```html
<script type="module">
import { request } from "https://cdn.skypack.dev/@octokit/request";
import { request } from "https://esm.sh/@octokit/request";
</script>
```

Expand Down

0 comments on commit cbd121f

Please sign in to comment.