Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/hideoo/starlight-package-managers
Quickly display npm related commands for multiple package managers in your Starlight documentation site
https://github.com/hideoo/starlight-package-managers
astro-component manager npm package starlight withastro
Last synced: 15 days ago
JSON representation
Quickly display npm related commands for multiple package managers in your Starlight documentation site
- Host: GitHub
- URL: https://github.com/hideoo/starlight-package-managers
- Owner: HiDeoo
- License: mit
- Created: 2023-07-28T09:21:42.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-03-04T14:50:03.000Z (8 months ago)
- Last Synced: 2024-04-14T12:58:21.365Z (7 months ago)
- Topics: astro-component, manager, npm, package, starlight, withastro
- Language: TypeScript
- Homepage: https://starlight-package-managers.vercel.app
- Size: 554 KB
- Stars: 10
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
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](https://starlight-package-managers.vercel.app/getting-started/) or check out the [demo](https://starlight-package-managers.vercel.app/demo/) to see the plugin in action.
## Description
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
```
## Features
- Support for various package managers: [npm](https://www.npmjs.com), [yarn](https://yarnpkg.com), [pnpm](https://pnpm.io), [bun](https://bun.sh) & [ni](https://github.com/antfu/ni).
- Support for various types of command: [`add`](https://starlight-package-managers.vercel.app/usage/#add), [`create`](https://starlight-package-managers.vercel.app/usage/#create), [`exec`](https://starlight-package-managers.vercel.app/usage/#exec), [`run`](https://starlight-package-managers.vercel.app/usage/#run) & [`remove`](https://starlight-package-managers.vercel.app/usage/#remove).
- Synced tabs between each instance on the same page.
- Customizable output with [extra arguments](https://starlight-package-managers.vercel.app/usage/#extra-arguments), [comments](https://starlight-package-managers.vercel.app/usage/#comment) & [prefixes](https://starlight-package-managers.vercel.app/usage/#prefix).## Related Projects
- [npm-package-manager-extension](https://github.com/HiDeoo/npm-package-manager-extension)
- [npm-install-block](https://github.com/HiDeoo/npm-install-block)## License
Licensed under the MIT License, Copyright © HiDeoo.
See [LICENSE](https://github.com/HiDeoo/starlight-package-managers/blob/main/LICENSE) for more information.