open-index/open-npm huggingface dataset:
npm package: @jimfilippou/repo2txt
Description: Convert a repository to a text file, useful for AI prompts
Author: Dimitrios Filippou
Latest version: 0.2.1

# @jimfilippou/repo2txt

A dead simple CLI tool to convert any project folder into a text file, useful for AI prompts, documentation, and more.

[![npm version](https://img.shields.io/npm/v/@jimfilippou/repo2txt.svg)](https://www.npmjs.com/package/@jimfilippou/repo2txt)
[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)

## Quick Start

Run `repo2txt` without installation using these one-liners:

```bash
# Using npx (npm)
npx @jimfilippou/repo2txt /path/to/your/project

# Using pnpm dlx
pnpm dlx @jimfilippou/repo2txt /path/to/your/project

# Using yarn dlx
yarn dlx @jimfilippou/repo2txt /path/to/your/project

# Using bun
bun x @jimfilippou/repo2txt /path/to/your/project
```

## Features

- Convert an entire repository into a single text file
- Exclude specific directories or files
- Handles binary files gracefully
- Easy to use CLI interface

## Installation

You can install `@jimfilippou/repo2txt` globally using npm, yarn, pnpm, or bun.

### npm

```bash
npm install -g @jimfilippou/repo2txt
```

### yarn

```bash
yarn global add @jimfilippou/repo2txt
```

### pnpm

```bash
pnpm add -g @jimfilippou/repo2txt
```

### bun

```bash
bun add -g @jimfilippou/repo2txt
```

## Usage

After installation, you can use the `repo2txt` command to convert a repository to a text file.

### Basic Usage

```bash
repo2txt /path/to/your/project
```

This will create a `repo2txt.txt` file in the specified project directory.

### Excluding Directories

You can exclude specific directories using the `--exclude` flag:

```bash
repo2txt /path/to/your/project --exclude node_modules dist .git
```

### Default Excludes

The tool automatically excludes the following directories and files:

```
node_modules, dist, .git, .next, .vscode, .idea, .env, Thumbs.db,
yarn.lock, npm-debug.log, pnpm-lock.yaml, package-lock.json, repo2txt.txt
```

## Output

The generated `repo2txt.txt` file will contain:

1. A project structure overview
2. The contents of each file (excluding binary files)

Binary files will be noted but their contents will not be included.

## Use Cases

- Generate comprehensive project overviews for AI prompts
- Create documentation snapshots
- Easily share project structures and contents

## Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

## License

This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.

## Author

Dimitrios Filippou <info@jimfilippou.com>

## Support

If you encounter any issues or have questions, please [open an issue](https://github.com/jimfilippou/repo2txt/issues) on GitHub.
npm package: @jimgiven/classy
Description: CSS-in-JSX for classed based styling
Author: Jim Given
Latest version: 0.0.4

# 🎩 Classy

A CSS-in-JS utility for class based styling.

## Motivation

This largely came about from me wanting to use [Tailwind CSS](https://tailwindcss.com/) for quick easy styling, while leveraging the superior readability of a CSS-in-JS solution like [Styled Components](https://styled-components.com/).

## Useage

The syntax is largely based off of styled-components except where you would put CSS, you put classes instead.

### Basics
 
Like styled-components, classy exports a generic function to class-ify complex components as well as helper methods to class-ify base HTML components as well.

```jsx
const ClassyComponent = classy.div`my-class`
```

becomes

```jsx
<div class="my-class"/>
```

and

```jsx
const ComplexComponent = () => (<div>ComplexComponent</div>)
const ClassyComplexComponent = classy(ComplexComponent)`my-class`
```

becomes

```jsx
<div class="my-class">ComplexComponent</div>
```

### Prop Based Classes

Like styled-components, you are able to add functions of props to control classes.

```jsx
const DynamicComponent = classy.div`
 ${props => props.isPrimary ? 'has-primary-color' : 'has-secondary-color'}
`
```

can result in both

```jsx
<DynamicComponent isPrimary /> === <div class="has-primary-color"/>

<DynamicComponent /> === <div class='has-secondary-color'/>
```

Note: To enable your custom components to be classy-ified, forward the `className` prop through to the outer most HTML component.
npm package: @jimhuang/example-component
Description: intro component
Latest version: 1.0.0

# demo component

example-component

intro component

## API

| 参数名 | 说明 | 必填 | 类型 | 默认值 | 备注 |
| ------ | ---- | ---- | ---- | ------ | ---- |
|        |      |      |      |        |      |