Quickly display npm related commands for multiple package managers in your Starlight documentation site.
npm install starlight-package-managersQuickly display npm related commands for multiple package managers in your Starlight documentation site.
Want to get started immediately? Check out the getting started guide or check out the demo to see the plugin in action.
Replace the following MDX code:
```mdx
`sh`
npm create astro@latest -- --template starlight
`sh`
pnpm create astro --template starlight
`sh`
yarn create astro --template starlight
``
By this one:
`mdx`
- Support for various package managers: npm, yarn, pnpm, bun & ni.
- Support for various types of command: add, create, dlx, exec, install, remove & run`.
- Synced tabs between each instance on the same page.
- Customizable output with extra arguments, comments & prefixes.
- npm-package-manager-extension
- npm-install-block
Licensed under the MIT License, Copyright © HiDeoo.
See LICENSE for more information.