open-index/open-npm huggingface dataset:
npm package: @markusylisiurunen/git-stats
Description: See statistics about your git repository.
Author: Markus Ylisiurunen
Latest version: 0.3.1-alpha

![npm version](https://badge.fury.io/js/%40markusylisiurunen%2Fgit-stats.svg)
![npm dependencies](https://david-dm.org/markusylisiurunen/git-stats.svg)
![github issues](https://img.shields.io/github/issues/markusylisiurunen/git-stats.svg)
![license](https://img.shields.io/github/license/markusylisiurunen/git-stats.svg)

## Install

```shell
$ npm i -g @markusylisiurunen/git-stats
```

or with npx

```shell
$ npx @markusylisiurunen/git-stats author
```

## Usage

```
Usage: git-stats [options] <command> [command...]

Commands:

  author  print statistics by author
  files   print statistics by file

Options:

  -h, --help     output usage information
  -i, --include  glob of files to include
  -e, --exclude  glob of files to exclude
  -s, --since    output stats from given start date (and optional time)

Examples:

  $ git-stats author
  $ git-stats -i "**/*.js" -i "*.py" -e "**/config.js" -s "2018-04-20 04:20" author files
```

## License

MIT
npm package: @markusylisiurunen/md-table
Description: Minimal package for creating themable tables as strings.
Author: Markus Ylisiurunen
Latest version: 0.2.1-alpha

![npm version](https://badge.fury.io/js/%40markusylisiurunen%2Fmd-table.svg)
![npm dependencies](https://david-dm.org/markusylisiurunen/md-table.svg)
![github issues](https://img.shields.io/github/issues/markusylisiurunen/md-table.svg)
![license](https://img.shields.io/github/license/markusylisiurunen/md-table.svg)
  
![hero image](https://rawgit.com/markusylisiurunen/md-table/master/assets/hero.png)

## Features

* 🖍 **Themable** using [chalk](https://www.npmjs.com/package/chalk).
* 📎 **Copy-pasteable** to markdown files and websites.
* 😍 **Minimal and beautiful** af.

## Install

```shell
$ npm add @markusylisiurunen/md-table
```

## Usage

```js
const getTable = require('md-table');

console.log(
  getTable(
    ['Superhero', 'Real name'],
    [
      ['Batman', 'Bruce Wayne'],
      ['Spider-Man', 'Peter Parker'],
      ['Iron Man', 'Elon Musk'],
    ]
  )
);

/*
=>
| Superhero  | Real name    |
| ---------- | ------------ |
| Batman     | Bruce Wayne  |
| Spider-Man | Peter Parker |
| Iron Man   | Elon Musk    |
*/
```

## API

### getTable(header, rows, [options])

* `{Array<String>} header`: An array of the table's head columns.
* `{Array<Array<String>>} rows`: An array of each row of data.
* `{Object} [options]`: An optional options object.
  * `{Number} options.x` (default: `0`): Horizontal padding applied to the table.
  * `{Number} options.y` (default: `0`): Vertical padding applied to the table.
  * `{Array} options.alignRight` (default: `[]`): Column indexes to align right.
  * `{Object} options.colors`: An object of hex color values for theming.
    * `{String} colors.head` (default: `''`): Header text color.
    * `{String} colors.data` (default: `''`): Data text color.
    * `{String} colors.border` (default: `''`): Border color.

## License

MIT
npm package: @markusylisiurunen/optimistik
Description: ```tsx import { Optimistik, createMutation, useQuery } from "optimistik"; import React from "react";
Latest version: 0.0.10

# Optimistik

```tsx
import { Optimistik, createMutation, useQuery } from "optimistik";
import React from "react";

const optimistik = new Optimistik({ name: "demo" });

const Increment = createMutation("Increment", async (tx) => {
  const count = (await tx.get<number>("count")) ?? 0;
  await tx.set("count", count + 1);
});

const Decrement = createMutation("Decrement", async (tx) => {
  const count = (await tx.get<number>("count")) ?? 0;
  await tx.set("count", Math.max(0, count - 1));
});

const App: React.FC = () => {
  const { data: count } = useQuery(optimistik, async (tx) => {
    return (await tx.get<number>("count")) ?? 0;
  });
  return (
    <div>
      <button onClick={() => void optimistik.send(Decrement)}>Decrement</button>
      <span>{count}</span>
      <button onClick={() => void optimistik.send(Increment)}>Increment</button>
    </div>
  );
};

export default App;
```
npm package: @markvachi/bash-ai
Description: Bash AI is a command-line tool that uses the power of OpenAI's GPT-3 to provide intelligent suggestions and automation for your bash commands.
Author: markvahi
Latest version: 1.0.22

# Bash AI

Bash AI is a command-line tool that uses the power of OpenAI's GPT-3 to provide intelligent suggestions and automation for your bash commands.

## Installation

You can install Bash AI via npm:

```bash
npm install -g @markvachi/bash-ai
```

## Usage

Before using Bash AI, you'll need to set your OpenAI API key as an environment variable:
```bash
export OPENAI_API_KEY=<your-api-key>
```

To use Bash AI, simply invoke it in your terminal:

```bash
??
```

Bash AI will listen to your commands and provide suggestions and automation as needed.