Coder Social home page Coder Social logo

hideoo / starlight-package-managers Goto Github PK

View Code? Open in Web Editor NEW
10.0 2.0 1.0 666 KB

Quickly display npm related commands for multiple package managers in your Starlight documentation site

Home Page: https://starlight-package-managers.vercel.app

License: MIT License

Shell 0.42% JavaScript 3.04% Astro 9.04% TypeScript 87.49%
astro-component manager npm package starlight withastro

starlight-package-managers's Introduction

starlight-package-managers ๐Ÿ—ƒ

Quickly display npm related commands for multiple package managers in your Starlight documentation site.

Demo of starlight-package-managers

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

Documentation

Check out the Starlight Package Managers documentation.

Related Projects

License

Licensed under the MIT License, Copyright ยฉ HiDeoo.

See LICENSE for more information.

starlight-package-managers's People

Contributors

hideoo avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

fujohnwang

starlight-package-managers's Issues

Persist pkg manager choice between pages

Is your feature request related to a problem?

I have to pick the package manager every time, whenever I'm switching between Starlight pages.

Describe the solution you'd like

Save my choice in localStorage and read on component init.

Describe alternatives you've considered

No response

Additional Context

No response

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.