starlight-package-managers
v0.8.0
Published
Quickly display npm related commands for multiple package managers in your Starlight documentation site.
Downloads
4,141
Maintainers
Readme
Getting Started
Want to get started immediately? Check out the getting started guide or check out the demo to see the plugin in action.
Description
Replace the following MDX code:
<Tabs>
<TabItem label="npm">
```sh
npm create astro@latest -- --template starlight
```
</TabItem>
<TabItem label="pnpm">
```sh
pnpm create astro --template starlight
```
</TabItem>
<TabItem label="Yarn">
```sh
yarn create astro --template starlight
```
</TabItem>
</Tabs>
By this one:
<PackageManagers type="create" pkg="astro@latest" args="--template starlight" />
Features
- Support for various package managers: npm, yarn, pnpm, bun & ni.
- Support for various types of command:
add
,create
,dlx
,exec
,run
&remove
. - Synced tabs between each instance on the same page.
- Customizable output with extra arguments, comments & prefixes.
Related Projects
License
Licensed under the MIT License, Copyright © HiDeoo.
See LICENSE for more information.