Skip to content

Commit

Permalink
mention destr
Browse files Browse the repository at this point in the history
  • Loading branch information
pooya parsa committed Jun 16, 2020
1 parent e42eb1c commit 7daf49b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/guide/usage.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ const res = await $http.get('https://unpkg.com/nuxt/package.json')
const data = await res.json()
```

Alternatively for json only you can use `$` prefixed shortcut:
Alternatively for json only you can use `$` prefixed shortcut that smartly parses response using [destr](https://github.com/nuxt-contrib/destr).

```js
await $http.$get('https://unpkg.com/nuxt/package.json')
Expand Down

0 comments on commit 7daf49b

Please sign in to comment.