From bf6ab27becaa90757e4409e725b67137fa01ca16 Mon Sep 17 00:00:00 2001 From: Jean de Barochez <3436890+jdebarochez@users.noreply.github.com> Date: Sun, 24 May 2026 21:32:40 +0200 Subject: [PATCH 1/2] docs(blog): add usage section for axios-to-fetch article * Add link to the source code of this codemod * Add link to the codemod registry * Add usage command Signed-off-by: Jean de Barochez <3436890+jdebarochez@users.noreply.github.com> --- apps/site/pages/en/blog/migrations/axios-to-fetch.mdx | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/apps/site/pages/en/blog/migrations/axios-to-fetch.mdx b/apps/site/pages/en/blog/migrations/axios-to-fetch.mdx index cb1f07a590d56..c7187da7c4937 100644 --- a/apps/site/pages/en/blog/migrations/axios-to-fetch.mdx +++ b/apps/site/pages/en/blog/migrations/axios-to-fetch.mdx @@ -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 From 636c101b62f9a95b91ebf5510c7037c47d171035 Mon Sep 17 00:00:00 2001 From: Jean de Barochez <3436890+jdebarochez@users.noreply.github.com> Date: Sun, 24 May 2026 21:51:32 +0200 Subject: [PATCH 2/2] docs: remove trailing colon in header Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com> Signed-off-by: Jean de Barochez <3436890+jdebarochez@users.noreply.github.com> --- apps/site/pages/en/blog/migrations/axios-to-fetch.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/site/pages/en/blog/migrations/axios-to-fetch.mdx b/apps/site/pages/en/blog/migrations/axios-to-fetch.mdx index c7187da7c4937..518d5a3d07c1b 100644 --- a/apps/site/pages/en/blog/migrations/axios-to-fetch.mdx +++ b/apps/site/pages/en/blog/migrations/axios-to-fetch.mdx @@ -41,7 +41,7 @@ The codemod supports the following Axios methods and converts them to their Fetc - `axios.putForm(url[, data[, config]])` - `axios.patchForm(url[, data[, config]])` -## Usage: +## 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).