From 013cb35113bede231a50759398c4d55630b2fa18 Mon Sep 17 00:00:00 2001 From: Jay Date: Sat, 17 Aug 2024 23:20:39 +0530 Subject: [PATCH] docs: update readme for npx conversion Removed extra argument in API usage as it now auto detects npx conversions --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index f8f321a..1a14456 100644 --- a/README.md +++ b/README.md @@ -35,7 +35,7 @@ convert('npm install squirrelly', 'yarn') // npx conversions -convert('npx create-next-app', 'yarn', true) +convert('npx create-next-app', 'yarn') // yarn dlx create-next-app ``` @@ -47,7 +47,7 @@ convert('npx create-next-app', 'yarn', true) /** * Converts between npm and yarn command */ -export default function convert (str: string, to: 'npm' | 'yarn' | 'pnpm' | 'bun', executor = false): string +export default function convert (str: string, to: 'npm' | 'yarn' | 'pnpm' | 'bun'): string ``` ## ✔️ Tests