open-index/open-npm huggingface dataset:
npm package: @huyennbl/capitalize-word
Description: Capitalize matched word in a string
Author: huyennbl
Latest version: 1.0.0

# capitalize-word

## Installation
```
npm install @huyennbl/capitalize-word
```

## Usage
### capitalizeWord(`str`, `word`)

- 1st argument: input string
- 2nd argument: word to be capitalized in `str`
- Returns a new string with all the matched `word` (case-insensitive) in `str`, having first letter capitalized, and the remaining characters of each `word` are in lowercase.
- Partially matches are ignore, e.g.: `capitalizeWord('github', 'git')` will still return 'github')


```js
import { capitalizeWord } from '@huyennbl/capitalize-word'

capitalizeWord('frank talks about it frankly', 'frank');
// 'Frank talks about it frankly'
// => first 'frank' is fully match, so capitalized. 'frankly' is partially match, hence ignored.

capitalizeWord('Lorem ipsum...', 'ipsUM')
// 'Lorem Ipsum...'
```
npm package: @huyennbl/left-diff
Description: An array utility to calculate differences amongs arrays. Support array & nested array with string/number data
Author: huyennbl
Latest version: 0.0.1

# Left diff
An array utility to calculate differences amongs arrays. Support array & nested array with string/number data

## Installation
```
npm install left-diff
```


## Usage

### leftDiff
> returns a new array contains elements that are available in first array, but not in others
```ts
import { leftDiff } from 'left-diff'

leftDiff([1,2,3], [3,4,5])
// => [1,2]

leftDiff([1,2,3], [3,4,5], [1])
// => [2]
```

### leftDiffDeep
> returns a new array contains elements that are available in first array, but not in others - with all nested values counted

```ts
import { leftDiffDeep } from 'left-diff'

leftDiffDeep([1,[2,3]], [3,4,5])
// => [1,2]

leftDiffDeep([1,2,3], [[3,4],5], [1])
// => [2]
```
npm package: @huygn/create-poi-react-app
Description: Create a React app which uses Poi.
Author: huygn
Latest version: 0.0.1-0


# create-poi-react-app

[![NPM version](https://img.shields.io/npm/v/create-poi-react-app.svg?style=flat)](https://npmjs.com/package/create-poi-react-app) [![NPM downloads](https://img.shields.io/npm/dm/create-poi-react-app.svg?style=flat)](https://npmjs.com/package/create-poi-react-app) [![CircleCI](https://circleci.com/gh/egoist/create-poi-react-app/tree/master.svg?style=shield)](https://circleci.com/gh/egoist/create-poi-react-app/tree/master)  [![donate](https://img.shields.io/badge/$-donate-ff69b4.svg?maxAge=2592000&style=flat)](https://github.com/egoist/donate) [![chat](https://img.shields.io/badge/chat-on%20discord-7289DA.svg?style=flat)](https://chat.egoist.moe)

The `create-react-app` that you're familiar with but uses [Poi](https://github.com/egoist/poi) instead of `react-scripts`.

<img src="https://i.loli.net/2017/12/25/5a411bf8308c8.png" alt="preview" width="600">

## Install

```bash
yarn global add create-poi-react-app
create-poi-react-app my-app
# Or use the shorter alias
cpra my-app

# Or use `yarn create` or `npx`
yarn create poi-react-app my-app
npx create-poi-react-app my-app
```

Check out the auto deployed website of this project on Netlify: https://create-poi-react-app.egoist.moe

## Usage

Folder structure:

```bash
.
├── package.json
├── poi.config.js
├── public
│   ├── favicon.ico
│   ├── index.html
│   └── manifest.json
├── src
│   ├── App.css
│   ├── App.js
│   ├── App.test.js
│   ├── index.css
│   ├── index.js
│   └── logo.svg
└── yarn.lock
```

Yeah it's exactly the same as a create-react-app project but with an extra [poi.config.js](./template/poi.config.js).

### `yarn dev`

Starts development server.

### `yarn build`

Builds your app to `./dist` folder.

### `yarn test`

Starts the test runner.

## Contributing

1. Fork it!
2. Create your feature branch: `git checkout -b my-new-feature`
3. Commit your changes: `git commit -am 'Add some feature'`
4. Push to the branch: `git push origin my-new-feature`
5. Submit a pull request :D


## Author

**create-poi-react-app** © [EGOIST](https://github.com/egoist), Released under the [MIT](./LICENSE) License.<br>
Authored and maintained by EGOIST with help from contributors ([list](https://github.com/egoist/create-poi-react-app/contributors)).

> [egoist.moe](https://egoist.moe) · GitHub [@EGOIST](https://github.com/egoist) · Twitter [@_egoistlily](https://twitter.com/_egoistlily)
npm package: @huygn/next
Description: The React Framework
Latest version: 10.2.4-canary.4

<p align="center">
  <a href="https://nextjs.org">
    <img src="https://assets.vercel.com/image/upload/v1607554385/repositories/next-js/next-logo.png" height="128">
    <h1 align="center">Next.js</h1>
  </a>
</p>

<p align="center">
  <a aria-label="Vercel logo" href="https://vercel.com">
    <img src="https://img.shields.io/badge/MADE%20BY%20Vercel-000000.svg?style=for-the-badge&logo=Vercel&labelColor=000">
  </a>
  <a aria-label="NPM version" href="https://www.npmjs.com/package/next">
    <img alt="" src="https://img.shields.io/npm/v/next.svg?style=for-the-badge&labelColor=000000">
  </a>
  <a aria-label="License" href="https://github.com/vercel/next.js/blob/canary/license.md">
    <img alt="" src="https://img.shields.io/npm/l/next.svg?style=for-the-badge&labelColor=000000">
  </a>
  <a aria-label="Join the community on GitHub" href="https://github.com/vercel/next.js/discussions">
    <img alt="" src="https://img.shields.io/badge/Join%20the%20community-blueviolet.svg?style=for-the-badge&logo=Next.js&labelColor=000000&logoWidth=20">
  </a>
</p>

## Getting Started

Visit <a aria-label="next.js learn" href="https://nextjs.org/learn">https://nextjs.org/learn</a> to get started with Next.js.

## Documentation

Visit [https://nextjs.org/docs](https://nextjs.org/docs) to view the full documentation.

## Who is using Next.js?

Next.js is used by the world's leading companies. Check out the [Next.js Showcase](https://nextjs.org/showcase) to learn more.

## Community

The Next.js community can be found on [GitHub Discussions](https://github.com/vercel/next.js/discussions), where you can ask questions, voice ideas, and share your projects.

To chat with other community members you can join the [Next.js Discord](https://nextjs.org/discord).

Our [Code of Conduct](https://github.com/vercel/next.js/blob/canary/CODE_OF_CONDUCT.md) applies to all Next.js community channels.

## Contributing

Please see our [contributing.md](/contributing.md).

### Good First Issues

We have a list of [good first issues](https://github.com/vercel/next.js/labels/good%20first%20issue) that contain bugs which have a relatively limited scope. This is a great place to get started, gain experience, and get familiar with our contribution process.

## Authors

- Tim Neutkens ([@timneutkens](https://twitter.com/timneutkens)) – [Vercel](https://vercel.com/about/timneutkens)
- Naoyuki Kanezawa ([@nkzawa](https://twitter.com/nkzawa)) – [Vercel](https://vercel.com/about/nkzawa)
- Guillermo Rauch ([@rauchg](https://twitter.com/rauchg)) – [Vercel](https://vercel.com/about/rauchg)
- Arunoda Susiripala ([@arunoda](https://twitter.com/arunoda))
- Tony Kovanen ([@tonykovanen](https://twitter.com/tonykovanen))
- Dan Zajdband ([@impronunciable](https://twitter.com/impronunciable))
npm package: @huygn/poi-preset-reasonml
Description: Use ReasonML in your Poi project
Author: EGOIST
Latest version: 1.0.7

# poi-preset-reasonml

Use ReasonML in your Poi project.

## Install

```bash
yarn add poi-preset-reasonml --dev
```

## Usage

```js
// poi.config.js
module.exports = {
  presets: [
    require('poi-preset-reasonml')(options)
  ]
}
```

## Options

### loaderOptions

Type: `object`<br>
[options](https://github.com/reasonml-community/bs-loader#options) for bs-loader

## License

MIT © [EGOIST](https://github.com/egoist)
npm package: @huygn/react-showroom
Description: [https://react-showroom.js.org/](https://react-showroom.js.org/)
Latest version: 2.5.0-14

# React Showroom

[https://react-showroom.js.org/](https://react-showroom.js.org/)

Document React components by declaring props definition and writing markdown.

```bash
npm i -D react-showroom
```

## Key Features

- Auto generate documentations for your component props from the component's TypeScript definition.
- Write markdown to show examples to use the component, which will become an editable playground.
- Auto generated props control/knobs based on component props type definitions.
- Supported languages for live examples: typescript (TSX and TS), javascript (JSX and JS), and HTML.
- Improve collaborations: edit code/add comments on specific examples with shareable URL without any backend.
- Ensure the components are SSR-friendly - the site can be pre-render on build time.
npm package: @huyhoangnhh98/cc2ag
Description: Convert Claude Code configurations to Antigravity format
Author: hoangnhh98
Latest version: 1.3.4

# cc2ag

> Convert Claude Code configurations to Antigravity format

[![npm version](https://badge.fury.io/js/cc2ag.svg)](https://www.npmjs.com/package/cc2ag)
[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)

## Installation

```bash
npm install -g cc2ag
```

## Usage

```bash
# Convert global ~/.claude to Antigravity
cc2ag global

# Convert project ./.claude to Antigravity
cc2ag project

# Convert both global and project
cc2ag both
```

### Options

```bash
--dry-run    # Preview changes without writing
--force      # Overwrite existing files
--verbose    # Show detailed output
```

## What it converts

| Claude Code | Antigravity | Location |
|-------------|-------------|----------|
| `commands/*.md` | `workflows/*.md` | Global: `~/.gemini/antigravity/global_workflows/`<br>Project: `.agent/workflows/` |
| `skills/*/` | `skill-*/SKILL.md` | Project: `.agent/skills/` |
| `agents/*.md` | `{agent-name}/SKILL.md` | Global: `~/.gemini/antigravity/agents/`<br>Project: `.agent/agents/` |

### Key Features

- **Auto-adds activation blocks** - Workflows automatically include `Activate skill` statements
- **Reference updates** - Converts `agent-planner` → `$HOME/.gemini/antigravity/agents/planner`, `planning` → `skill-planning`

## Examples

### Before (Claude Code)

```markdown
# plan-hard.md
Use multiple `researcher` agents...
pass them to `planner` subagent...
```

### After (Antigravity)

```markdown
# plan-hard.md
---
description: Workflow converted from Claude Code command
---

<!-- Skill Activation Block -->
Load `$HOME/.gemini/antigravity/agents/researcher` instructions.
Load `$HOME/.gemini/antigravity/agents/planner` instructions.
Activate `skill-planning` skill.

Use multiple `$HOME/.gemini/antigravity/agents/researcher` instructions...
pass them to `$HOME/.gemini/antigravity/agents/planner` instructions...
```

## License

MIT