open-index/open-npm huggingface dataset:
npm package: @ihs7/umbra
Description: The Swiss-army knife of CLI generation
Latest version: 0.6.1

# umbra

Generate full-featured CLIs from OpenAPI specs or [hey-api](https://heyapi.dev) SDKs.

## Install

```sh
bun add @ihs7/umbra
```

## Quick start

### From an OpenAPI spec

```sh
bunx umbra --openapi https://api.example.com/openapi.json --out src/cli.gen.ts
```

```ts
import { createCli } from "./cli.gen";

const cli = createCli({ name: "mycli", version: "1.0.0" });
await cli.run();
```

### From a hey-api SDK

```sh
bunx umbra --hey-api ./src/client --out src/cli.gen.ts
```

```ts
import { fromResources } from "@ihs7/umbra";
import { resources } from "./cli.gen";

const cli = fromResources(resources, { name: "mycli", version: "1.0.0" });
await cli.run();
```

### Programmatic

```ts
import { createCli, fromSdk } from "@ihs7/umbra";
import { listProjects } from "./client/sdk.gen";
import { zListProjectsData } from "./client/zod.gen";

const cli = createCli({ name: "mycli", version: "1.0.0" });

cli.resource("projects", {
  list: fromSdk(zListProjectsData, listProjects, "List all projects"),
});

await cli.run();
```

## Auth

```ts
const cli = fromResources(resources, {
  name: "mycli",
  auth: {
    keychain: "mycli",
    envVar: "MYCLI_API_TOKEN",
    header: (token) => ({ Authorization: `Bearer ${token}` }),
  },
});
```

Adds `auth login`, `auth logout`, and `auth status` commands. Token is read from the env var first, falling back to the system keychain.

## Generate docs

Generate a Markdown command reference from your spec or SDK:

```sh
bunx umbra docs --openapi https://api.example.com/openapi.json --name mycli --out COMMANDS.md
bunx umbra docs --hey-api ./src/client --name mycli --out COMMANDS.md
```

## CLI flags

Every generated command supports:

```text
--output    Output format: yaml (default), json, table
--help      Show usage for a command
--version   Show CLI version
```

## License

MIT
npm package: @ihsaneddin/vue-excel-xlsx
Description: Export your data as an XLSX file
Author: Taron Chatoyan
Latest version: 1.0.12

# vue-excel-xlsx

Convert your data as an XLSX file

## Getting started

``` javascript
    npm install vue-excel-xlsx --save
```

#### Import vue-excel-xlsx in your app:

``` javascript
    import VueExcelXlsx from "vue-excel-xlsx";
    import Vue from "vue";

    Vue.use(VueExcelXlsx);
```

#### Add in your template
``` html
    <vue-excel-xlsx
        :data="data"
        :columns="columns"
        :filename="'filename'"
        :sheetname="'sheetname'"
        >
        Download
    </vue-excel-xlsx>
```

#### Add in your script
``` javascript
        data() {
            return {
                columns : [
                    {
                        label: "Product",
                        field: "product",
                    },
                    {
                        label: "Price",
                        field: "price",
                        dataFormat: this.priceFormat
                    },
                    {
                        label: "Quantity",
                        field: "quantity",
                    },
                ],
                data : [
                    {
                        product: "Beverage",
                        price: 10,
                        quantity: 2
                    },
                    {
                        product: "Snack",
                        price: 12,
                        quantity: 6
                    },
                    {
                        product: "Beverage",
                        price: 10,
                        quantity: 5
                    },
                    {
                        product: "Snack",
                        price: 12,
                        quantity: 3
                    }
                ],
            }
        },
        methods: {
            priceFormat(value){
                return '$ ' + value;
            }
        }
```
## Status

Forked from [t-chatoyan/vue-excel-xlsx](https://github.com/t-chatoyan/vue-excel-xlsx), but the repo didn't seem to be maintained.
- Added promise support for data
- removed jquery depedency
- use div instead button element as wrapper
npm package: @ihsanrabbs/design-system
Description: Design system for Stockbit UI Web
Author: Stockbit
Latest version: 0.0.1

# stockbit-component-react

> A collection of
> [ Stockbit Components ](https://gitlab.com/stockbit.com/ui/-/tree/master)
> implemented using [ React ](https://reactjs.org/) & [ StyledComponent ](https://styled-components.com/)

### Information
Documentation address: https://storybook.lab.stockbit.com/

### Getting Started

Run the following command using [npm](https://www.npmjs.com/):

```bash
npm install
```

If you prefer [Yarn](https://yarnpkg.com/en/), use the following command
instead:

```bash
yarn
```

### Develop components with Storybook

```shell
npm run storybook
```

Open http://localhost:6606/ in your favorite web browser.