Skip to content

Commit

Permalink
docs: update readme for npx conversion
Browse files Browse the repository at this point in the history
Removed extra argument in API usage as it now auto detects npx conversions
  • Loading branch information
Jay-Karia committed Aug 17, 2024
1 parent 8f733cb commit 013cb35
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
```

Expand All @@ -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
Expand Down

0 comments on commit 013cb35

Please sign in to comment.