open-index/open-npm huggingface dataset:
npm package: @kogai/railroad-diagrams
Description: Display railroad diagram of regex under cursor.
Latest version: 0.16.0

# regex-railroad-diagram package

A regular expression railroad diagram view for regular expression 
under cursor.  This is still in development and for me it is a test of
graphics capabilities of Atom.

![regex-railraod-diagram in action](https://raw.githubusercontent.com/klorenz/atom-regex-railroad-diagrams/3552667228c192e81a0d2e5843e824c064b8e4b9/regex-railroad-diagrams.png)

It also shows you a parsing error message, if your regex is not syntactically
correct.

For now it only supports most common regex features, but there are more 
to come.
npm package: @kogai/react-file-input
Description: Simple file input component for React
Author: Captivation Software
Latest version: 0.2.5

react-file-input
============
[Demo](https://captivationsoftware.github.io/react-file-input)

Styling native HTML file inputs can be a pretty big pain, and to make matters worse, the browser default look-and-feel is probably at odds with your app's design. This problem is what react-file-input aims to solve.

Once integrated, react-file-input quickly eliminates the headaches associated with forms requiring file upload.

## Installation
```sh
npm install react-file-input
```

## Code Example
Usage is pretty simple: just use react-file-input instead of `<input type="file" />`!

app.jsx
```js
var React = require('react'),
  FileInput = require('react-file-input');

var Form = React.createClass({
  handleChange: function(event) {
    console.log('Selected file:', event.target.files[0]);
  },

  render: function() {
    return (
      <form>
        <FileInput name="myImage"
                   accept=".png,.gif"
                   placeholder="My Image"
                   className="inputClass"
                   onChange={this.handleChange} />
      </form>
    );
  },
});

```

The list of valid props can be found below.

### Props

#### name, accept, className, placeholder, onChange
Behave just like standard react-style attributes on input controls.

## Contributors

Captivation Software (@teamcaptivation)

By all means, if you see room for improvement, let us know!


## License

MIT License
npm package: @kogai/redux-util
Description: Utility tools for redux based project
Author: kogai
Latest version: 0.1.5

# redux-util

Utility tools for redux based project.
It has purpose that do not rely on babel(or other transpiler).


## Usage

createAction

```js
// ActionCreator
const createAction = require('@kogai/redux-utils').createAction;
const sampleAction = createAction({ type: 'SAMPLE_ACTION' });

// Redux-Middleware
const actionVerification = require('@kogai/redux-utils').actionVerification;
const createStoreWithMiddleware = applyMiddleware(
  actionVerification
)(createStore);
```
npm package: @kogai/regex-railroad-diagram
Description: Display railroad diagram of regex under cursor.
Latest version: 0.16.0

# regex-railroad-diagram package

A regular expression railroad diagram view for regular expression 
under cursor.  This is still in development and for me it is a test of
graphics capabilities of Atom.

![regex-railraod-diagram in action](https://raw.githubusercontent.com/klorenz/atom-regex-railroad-diagrams/3552667228c192e81a0d2e5843e824c064b8e4b9/regex-railroad-diagrams.png)

It also shows you a parsing error message, if your regex is not syntactically
correct.

For now it only supports most common regex features, but there are more 
to come.
npm package: @kogai/typed_i18n
Description: Type safe i18n with Flow and TypeScript
Author: Shinichi Kogai
Latest version: 0.6.0

# typed_i18n

[![npm version](https://badge.fury.io/js/%40kogai%2Ftyped_i18n.svg)](https://badge.fury.io/js/%40kogai%2Ftyped_i18n)
[![CircleCI](https://circleci.com/gh/kogai/typed_i18n.svg?style=svg)](https://circleci.com/gh/kogai/typed_i18n)

Generate strictly typed definition of TFunction from own [i18next](https://github.com/i18next/i18next) dictionary file.

It generate from

```json
{
  "en": {
    "translation": {
      "foo": {
        "bar": "some text",
        "buzz": 999
      }
    }
  }
}
```

as

```javascript
// @flow
declare function t(_: "foo"): {
  +bar: string,
  +buzz: number
};
declare function t(_: "foo.bar"): string;
declare function t(_: "foo.buzz"): number;

export type TFunction = typeof t;
```

or

```typescript
declare namespace typed_i18n {
  interface TFunction {
    t(_: "foo"): {
      +bar: string,
      +buzz: number,
    };
    t(_: "foo.bar"): string;
    t(_: "foo.buzz"): number;
  }
}
export = typed_i18n;
```

then if you use TFunction like below, type-checker warn you function call by invalid path

```javascript
// @flow

import type { TFunction } from "./locale.translation"; // Definition file generated

declare var t: TFunction;

// Those are ok
const x: { bar: string, buzz: number } = t("foo");
const x1: string = x.bar;
const x2: number = x.buzz;
// Expect error
const x3 = x.buzzz;

// Expect error
const y = t("fooo");

// Those are also strictly typed too
const z1: string = t("foo.bar");
const z2: number = t("foo.buzz");
```

### Usage

```bash
# Basic usage
$ typed_i18n -i path/to/your.json -o path/to/out/dir

# Support also typescript
$ typed_i18n -i path/to/your.json -o path/to/out/dir -l typescript

# You can specify namespaces instead of default "translation"
$ typed_i18n -i path/to/your.json -o path/to/out/dir -n translate -n my-namespace -n other-namespace
```
npm package: @kogakisaki/fishing
Description: A fishing game package
Author: Your Name
Latest version: 1.0.5

# Koga Fishing

A fishing game package that allows you to simulate fishing activities, manage inventory, and interact with various fishing elements.

## Installation

You can install the package using npm:

```bash
npm install @kogakisaki/fishing
```

## Usage

### Importing the Library

You can import the library using ES modules or CommonJS:

```javascript
// ES Modules
import { KogaFishing, Fish, FishingRod, Bait } from '@kogakisaki/fishing';

// CommonJS
const { KogaFishing, Fish, FishingRod, Bait } = require('@kogakisaki/fishing');
```

### Creating a Game Instance

To create a new game instance, you can do the following:

```javascript
const game = new KogaFishing("PlayerName", 1000);
```

### Adding Items to Inventory

You can add items such as fish, fishing rods, and bait to the inventory:

```javascript
const fish = new Fish(1, "Small Bass", 10);
const rod = new FishingRod(1, "Bamboo Fishing Rod", 2, 50, 100);
const bait = new Bait(1, "Worm", 5);

game.addItem(fish);
game.addItem(rod);
game.addItem(bait);
```

### Catching Fish

To catch fish, you need to specify the bait ID, rod ID, and environment ID:

```javascript
const caughtFish = game.catchFish(bait.id, rod.id, environmentId);
if (caughtFish) {
    console.log(`You caught a ${caughtFish.name}!`);
} else {
    console.log("No fish caught.");
}
```

### Selling Fish

You can sell fish from your inventory:

```javascript
game.sellFish(fish.id, quantity);
```

### Leveling Up Inventory

You can level up your inventory to increase its capacity:

```javascript
game.levelUpInventory();
```

## Features

- **Catch Fish**: Simulate catching fish with different baits and rods.
- **Manage Inventory**: Keep track of fish, rods, and bait with a leveling system.
- **Sell Fish**: Sell caught fish for money.
- **Environment Interaction**: Choose different environments for fishing.

## License

This project is licensed under the MIT License. See the [LICENSE](LICENSE) file for details.

## Contributing

Contributions are welcome! Please feel free to submit a pull request or open an issue.

## Author

@KogaKisaki
npm package: @kogara/nuxt
Description: Kogara Nuxt module
Latest version: 0.18.0

<!--
Get your module up and running quickly.

Find and replace all on all files (CMD+SHIFT+F):
- Name: My Module
- Package name: @kogara/nuxt
- Description: My new Nuxt module
-->

<!-- Move this because of some Nuxt errors -->

# My Module

[![npm version][npm-version-src]][npm-version-href]
[![npm downloads][npm-downloads-src]][npm-downloads-href]
[![License][license-src]][license-href]
[![Nuxt][nuxt-src]][nuxt-href]

My new Nuxt module for doing amazing things.

- [✨ &nbsp;Release Notes](/CHANGELOG.md)
  <!-- - [🏀 Online playground](https://stackblitz.com/github/your-org/@kogara/nuxt?file=playground%2Fapp.vue) -->
  <!-- - [📖 &nbsp;Documentation](https://example.com) -->

## Features

<!-- Highlight some of the features your module provide here -->

- ⛰ &nbsp;Foo
- 🚠 &nbsp;Bar
- 🌲 &nbsp;Baz

## Quick Setup

1. Add `@kogara/nuxt` dependency to your project

```bash
# Using pnpm
pnpm add -D @kogara/nuxt

# Using yarn
yarn add --dev @kogara/nuxt

# Using npm
npm install --save-dev @kogara/nuxt
```

2. Add `@kogara/nuxt` to the `modules` section of `nuxt.config.ts`

```js
export default defineNuxtConfig({
  modules: ["@kogara/nuxt"],
});
```

That's it! You can now use My Module in your Nuxt app ✨

## Development

```bash
# Install dependencies
npm install

# Generate type stubs
npm run dev:prepare

# Develop with the playground
npm run dev

# Build the playground
npm run dev:build

# Run ESLint
npm run lint

# Run Vitest
npm run test
npm run test:watch

# Release new version
npm run release
```

<!-- Badges -->

[npm-version-src]: https://img.shields.io/npm/v/@kogara/nuxt/latest.svg?style=flat&colorA=18181B&colorB=28CF8D
[npm-version-href]: https://npmjs.com/package/@kogara/nuxt
[npm-downloads-src]: https://img.shields.io/npm/dm/@kogara/nuxt.svg?style=flat&colorA=18181B&colorB=28CF8D
[npm-downloads-href]: https://npmjs.com/package/@kogara/nuxt
[license-src]: https://img.shields.io/npm/l/@kogara/nuxt.svg?style=flat&colorA=18181B&colorB=28CF8D
[license-href]: https://npmjs.com/package/@kogara/nuxt
[nuxt-src]: https://img.shields.io/badge/Nuxt-18181B?logo=nuxt.js
[nuxt-href]: https://nuxt.com