Skip to content

Commit

Permalink
Replace skypack w/ esm.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
wooorm committed Apr 1, 2022
1 parent 22d2ab6 commit 31483c0
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions readme.md
Expand Up @@ -57,17 +57,17 @@ In Node.js (version 12.20+, 14.14+, or 16.0+), install with [npm][]:
npm install rehype-slug
```

In Deno with [Skypack][]:
In Deno with [`esm.sh`][esmsh]:

```js
import rehypeSlug from 'https://cdn.skypack.dev/rehype-slug@5?dts'
import rehypeSlug from 'https://esm.sh/rehype-slug@5'
```

In browsers with [Skypack][]:
In browsers with [`esm.sh`][esmsh]:

```html
<script type="module">
import rehypeSlug from 'https://cdn.skypack.dev/rehype-slug@5?min'
import rehypeSlug from 'https://esm.sh/rehype-slug@5?bundle'
</script>
```

Expand Down Expand Up @@ -195,7 +195,7 @@ abide by its terms.

[npm]: https://docs.npmjs.com/cli/install

[skypack]: https://www.skypack.dev
[esmsh]: https://esm.sh

[health]: https://github.com/rehypejs/.github

Expand Down

0 comments on commit 31483c0

Please sign in to comment.