starlight-package-managers 🗃
Quickly display npm related commands for multiple package managers in your Starlight documentation site.
Getting Started
Want to get started immediately? Check out the getting started guide or a live demo.
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
,exec
&run
. - Synced tabs between each instance on the same page.
- Customizable output with extra arguments, comments & prefixes.
Documentation
Check out the Starlight Package Managers documentation.
Related Projects
License
Licensed under the MIT License, Copyright © HiDeoo.
See LICENSE for more information.