Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions apps/site/pages/en/blog/migrations/axios-to-fetch.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,16 @@ The codemod supports the following Axios methods and converts them to their Fetc
- `axios.putForm(url[, data[, config]])`
- `axios.patchForm(url[, data[, config]])`

## Usage

The source code for this codemod can be found in the [axios-to-whatwg-fetch directory](https://github.com/nodejs/userland-migrations/tree/main/recipes/axios-to-whatwg-fetch).

You can find this codemod in the [Codemod Registry](https://app.codemod.com/registry/@nodejs/axios-to-whatwg-fetch).

```bash
npx codemod @nodejs/axios-to-whatwg-fetch
```

## Examples

### GET Request
Expand Down
Loading