Skip to content

Commit

Permalink
📝 Mention Deno in the readme.
Browse files Browse the repository at this point in the history
  • Loading branch information
elbywan committed Apr 17, 2020
1 parent 8c02bc5 commit b52847a
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -187,6 +187,18 @@ wretch().polyfills({
})
```

## Deno

Works with [Deno](https://deno.land/) >= [0.41.0](https://github.com/denoland/deno/releases/tag/v0.41.0) out of the box.

```ts
// You can import wretch from any CDN that serve ESModules.
import wretch from 'https://cdn.pika.dev/wretch'

const text = await wretch('https://httpstat.us/200').get().text()
console.log(text) // -> 200 OK
```

------

*This project uses automated node.js & browser unit tests. The latter are a provided courtesy of:*
Expand Down

0 comments on commit b52847a

Please sign in to comment.