open-index/open-npm huggingface dataset:
npm package: @kyadmin/accesser
Description: ```js var obj = new kyadmin.share.EventEmitter();
Latest version: 0.0.2

# @kydamin/share

## EventEmitter

```js
var obj = new kyadmin.share.EventEmitter();

obj.on('click',function(n){
    console.log('event click '+n+'！');
})

obj.once('click',function(n){
    console.log('event once click '+n+'！');
})

obj.emit('click',1);
obj.emit('click',2);
obj.emit('click',3);

obj.off('click')

obj.emit('click',4);
```

## over
npm package: @kyadmin/share
Description: ```js var obj = new kyadmin.share.EventEmitter();
Latest version: 1.0.1

# @kydamin/share

## EventEmitter

```js
var obj = new kyadmin.share.EventEmitter();

obj.on('click',function(n){
    console.log('event click '+n+'！');
})

obj.once('click',function(n){
    console.log('event once click '+n+'！');
})

obj.emit('click',1);
obj.emit('click',2);
obj.emit('click',3);

obj.off('click')

obj.emit('click',4);
```

## over
npm package: @kyarame/topia
Description: An unofficial トピア API explorer.
Latest version: 0.3.2

# @kyarame/topia@0.3.2

An unofficial トピア API explorer.

Current トピア version: `4.14.0`.

```typescript
import * as Topia from "@kyarame/topia";

const config: Topia.Types.Config = {
  accessToken: process.env.ACCESS_TOKEN,
  identificationHash: process.env.IDENTIFICATION_HASH,
};

const client = new Topia.Client(config);
await client.initialize();
```

## Installation

```bash
npm install @kyarame/topia
# or
yarn add @kyarame/topia
```

## Build from sources

```bash
yarn build
```

## Run examples

```bash
yarn build
yarn ts-node -r tsconfig-paths/register --files examples/<example-name>.ts
```

## API

### Client

The main client.

- `constructor(config?: Types.Config, APP_TOKEN_PORT?: number)`:
  Set client configs and the port on which the app token server will be listening.
- Public fields and getters:
  - `platform: Types.Platform`
  - `clientVersion: string`
  - `accessToken?: string`
  - `identificationHash?: string`
  - `refreshToken?: string`
  - `onRefresh?: (config: Types.Config) => void | Promise<void>`: The function called when `this.accessToken` changes.
  - `masterData?: Types.MasterData`
  - `appToken?: string`
  - `get appTokenPort(): number`: Get the port of the app token server. Refer to `examples/app-token.ts`.
  - `get config(): Types.Config`: Get the config object.
  - `room: RoomClient`: Refer to the following subsection.
- `async initialize()`: Initialize the client.
- `async waitForAppToken()`: Wait for the app token to be provided. Refer to `examples/app-token.ts`.
- `async request<E>(endpoint: E, data?: Types.API[E]["req"], match?: Types.API[E]): Promise<Types.API[E]["res"]>`: Request to the main API server.

### RoomClient

`type RoomId = number`

- Public fields and getters:

  - `masterData?: Types.MasterData`
  - `idToken?: string`: Firebase ID token.
  - `idTokenExpires: number`: The expire date of `idToken`.
  - `onData?: (roomId: RoomId, path: string, diff: any) => void`: The function called when the room data changes.
  - `ws: Map<RoomId, WebSocket>`: Websocket clients. Refer to the next subsection for `WebSocket`.
  - `data: Map<RoomId, Partial<Types.RoomData>>`: Room data.

- `setMasterData(masterData: Types.MasterData)`: Set the master data.
- `async add(info: Types.SimpleRoom, queries?: Types.RoomQuery[])`: Track a room.
- `remove(roomId: RoomId)`: Remove a tracked room.
- `subscribe(roomId: RoomId, queries: Types.RoomQuery[])`: Subscribe specified queries.
- `unsubscribe(roomId: RoomId, queries: Types.RoomQuery[])`: Unsbscribe specified queries.
- `sendComment(roomId: RoomId, comment: Types.RoomComment)`: Send a (properly typed) comment.
- `_sendRawComment(roomId: RoomId, comment: Types._Comment)`: Send a raw comment.
- `sendGift(roomId: RoomId, details: { userId: number; nickname: string; giftId: number; comboCount: number })`: Send one or more gifts.
- More APIs will be added.
npm package: @kyawnaingtun/strapi-myanmar-unicode-converter
Description: To convert automatically from Zawgyi to Unicode.
Author: Kyaw Naing Tun
Latest version: 1.0.3

<p align="center">
  <a href="https://github.com/KyawNaingTun/strapi-myanmar-unicode-converter">
    <img src="https://raw.githubusercontent.com/KyawNaingTun/strapi-myanmar-unicode-converter/master/screenshots/logo.png" width="100px" alt="Strapi Myanmar Unicode Converter logo" />
  </a>
</p>

<h3 align="center">Strapi Myanmar Unicode Converter</h3>
<br><br>

## Installation
To install this plugin, you need to add an NPM dependency to your Strapi application:

```sh
# Using Yarn
yarn add @kyawnaingtun/strapi-myanmar-unicode-converter

# Or using NPM
npm install@kyawnaingtun/strapi-myanmar-unicode-converter
```
## Configuration
| property | type | default | description |
| - | - | - | - |
| score | number `(0<1)` | `0.8` | Zawgyi font detection score point. |


#### Example

```js
// ./config/plugins.js`
'use strict';

module.exports = {
  'strapi-myanmar-unicode-converter': {
		enabled: true,
		config: {
			score: 0.9 //your score point
		}
	},
};
```

Then, you'll need to build your admin panel:

```sh
# Using Yarn
yarn build

# Or using NPM
npm run build
```

## How to use?

1). First, enable in collection type 

<p align="center">
  <a href="https://github.com/KyawNaingTun/strapi-myanmar-unicode-converter">
    <img src="https://raw.githubusercontent.com/KyawNaingTun/strapi-myanmar-unicode-converter/master/screenshots/collection-enable.png" alt="Enable in collection type" />
  </a>
</p>

<br>

2). Then, enable in attribute type. Note: supported only ```Text and Rich Text```

<p align="center">
  <a href="https://github.com/KyawNaingTun/strapi-myanmar-unicode-converter">
    <img src="https://raw.githubusercontent.com/KyawNaingTun/strapi-myanmar-unicode-converter/master/screenshots/attribute-enable.png" alt="Enable in attribute type" />
  </a>
</p>

<br>
npm package: @kyawthihasoe/react-button
Description: A customizable React button component with sorting and pagination
Author: Kyaw Thiha Soe
Latest version: 1.0.0

# React Button

A customizable React Button component with various variants, sizes, and styling options.

## Installation

```bash
npm install @kyawthihasoe/react-button
# or
yarn add @kyawthihasoe/react-button
```

## Usage

```tsx
import { Button } from '@kyawthihasoe/react-button';

function App() {
  return (
    <Button
      variant="primary"
      size="medium"
      onClick={() => console.log('Button clicked!')}
    >
      Click me
    </Button>
  );
}
```

## Features

- Multiple variants (primary, secondary, danger, success)
- Different size options (small, medium, large)
- Full width option
- TypeScript support
- Extends native button HTML attributes
- Customizable through CSS classes

## Props

| Prop | Type | Required | Default | Description |
|------|------|----------|---------|-------------|
| variant | 'primary' \| 'secondary' \| 'danger' \| 'success' | No | 'primary' | The visual style of the button |
| size | 'small' \| 'medium' \| 'large' | No | 'medium' | Size of the button |
| fullWidth | boolean | No | false | Whether the button should take full width of its container |
| children | ReactNode | Yes | - | Content to be displayed in the button |
| className | string | No | '' | Additional CSS classes to apply to the button |

The component also accepts all standard HTML button attributes (onClick, disabled, type, etc.).

## Styling

The button comes with default styles but can be customized using CSS. The component uses the following CSS classes:

- `common-button`: Base button styles
- `button-{variant}`: Styles for each variant (e.g., `button-primary`, `button-secondary`)
- `button-{size}`: Styles for each size (e.g., `button-small`, `button-medium`)
- `button-full-width`: Applied when fullWidth prop is true

## License

MIT
npm package: @kyawthihasoe/react-datagrid
Description: A customizable React DataGrid component with sorting and pagination
Author: Kyaw Thiha Soe
Latest version: 1.0.6

# React DataGrid

A customizable React DataGrid component with sorting and pagination capabilities.

## Installation

```bash
npm install @kyawthihasoe/react-datagrid
# or
yarn add @kyawthihasoe/react-datagrid
```

## Usage

```tsx
import { DataGrid } from '@kyawthihasoe/react-datagrid';

const columns = [
  { field: 'id', headerName: 'ID', width: 100 },
  { field: 'name', headerName: 'Name', sortable: true },
  { field: 'age', headerName: 'Age', sortable: true },
];

const rows = [
  { id: 1, name: 'John Doe', age: 30 },
  { id: 2, name: 'Jane Smith', age: 25 },
  // ... more rows
];

function App() {
  return (
    <DataGrid
      columns={columns}
      rows={rows}
      pageSize={10}
    />
  );
}
```

## Features

- Sortable columns
- Pagination
- Customizable column widths
- Responsive design
- TypeScript support

## Props

| Prop | Type | Required | Default | Description |
|------|------|----------|---------|-------------|
| columns | Column[] | Yes | - | Array of column definitions |
| rows | any[] | Yes | - | Array of data objects |
| pageSize | number | No | 10 | Number of rows per page |

### Column Definition

```typescript
interface Column {
  field: string;      // Field name in the data object
  headerName: string; // Display name for the column
  width?: number;     // Optional column width
  sortable?: boolean; // Whether the column is sortable
}
```

## License

MIT
npm package: @kyawthihasoe/react-modalbox
Description: A customizable React modalbox component with sorting and pagination
Author: Kyaw Thiha Soe
Latest version: 1.0.0

# React Modal

A customizable React Modal component with various size options and keyboard support.

## Installation

```bash
npm install @kyawthihasoe/react-modal
# or
yarn add @kyawthihasoe/react-modal
```

## Usage

```tsx
import { Modal } from '@kyawthihasoe/react-modal';

function App() {
  const [isOpen, setIsOpen] = useState(false);

  return (
    <Modal
      isOpen={isOpen}
      onClose={() => setIsOpen(false)}
      title="My Modal"
      size="medium"
    >
      <p>This is the modal content</p>
    </Modal>
  );
}
```

## Features

- Multiple size options (small, medium, large)
- Keyboard support (ESC to close)
- Click outside to close
- Customizable title
- Body scroll lock when modal is open
- TypeScript support

## Props

| Prop | Type | Required | Default | Description |
|------|------|----------|---------|-------------|
| isOpen | boolean | Yes | - | Controls the visibility of the modal |
| onClose | () => void | Yes | - | Callback function when modal is closed |
| title | string | No | - | Optional title for the modal |
| children | ReactNode | Yes | - | Content to be displayed in the modal |
| size | 'small' \| 'medium' \| 'large' | No | 'medium' | Size of the modal |

## License

MIT
npm package: @kybarg/bootstrap-dropdown-hover
Description: Bootstrap based responsive mulltilevel dropdown navigation menu with fascinating animations
Author: kybarg
Latest version: 1.2.0

Bootstrap 3 Dropdown On Hover
==========================

Bootstrap based responsive mulltilevel dropdown navigation menu with fascinating animations

Visit <a href="http://kybarg.github.io/bootstrap-dropdown-hover/demo.html" target="_blank">Demo</a> or <a href="http://kybarg.github.io/bootstrap-dropdown-hover" target="_blank">Documentation</a>

<img src="http://kybarg.github.io/bootstrap-dropdown-hover/images/preview_1.png" style="width:100%; height: auto; diplay: block;">
npm package: @kybarg/ssp
Description: Node.JS library Encrypted Smiley ® Secure Protocol (eSSP, SSP)
Author: Ruslan Kyba
Latest version: 2.0.0

<a name="readme-top"></a>

[![NPM Version](https://img.shields.io/npm/v/%40kybarg%2Fssp)](https://npmjs.com/@kybarg/ssp) [![Codecov](https://img.shields.io/codecov/c/github/kybarg/ssp)](https://codecov.io/gh/kybarg/ssp) [![GitHub Actions Workflow Status](https://img.shields.io/github/actions/workflow/status/kybarg/ssp/.github%2Fworkflows%2Ftest.yml)
](https://github.com/kybarg/ssp/actions/workflows/node.js.yml) [![GitHub License](https://img.shields.io/github/license/kybarg/ssp)](https://github.com/kybarg/ssp/blob/main/LICENSE)

# @kybarg/ssp

Node.JS implemenation of Encrypted Smiley ® Secure Protocol (eSSP, SSP)

**Supported devices:** NV9USB, NV10USB, BV20, BV50, BV100, NV200, NV200 Spectral, SMART Hopper, SMART Payout, NV11, NV22

> [!WARNING]
>
> **NV11** is not fully tested and supported. Maintainer is required.

## Table of Contents

1. [Basis usage](#basis-usage)
2. [Methods](#methods)
3. [Documentation](docs/readme.md)

## Basis usage

```js
const sspLib = require('@kybarg/ssp')

let eSSP = new sspLib({
  id: 0x00,
  timeout: 3000,
  fixedKey: '0123456701234567',
})

eSSP.on('READ_NOTE', result => {
  console.log('READ_NOTE', result)
})

eSSP.command('GET_SERIAL_NUMBER').then(result => {
  console.log('Serial number:', result.info.serial_number)
  return
})

const portOptions = { baudRate: 9600 }

eSSP.open('COM1', portOptions)
```

## Config values

```javascript
const options = {
  fixedKey: '123', // device internal encryption key
  encryptAllCommand: true, // should command commands also be encrypted
  id: 0, // device id in case multiple acceptors connected to the host
  timeout: 1000, // command response timeout after wich command considered failed
  commandRetries: 20, // how many time to retry before throwing error or emitting ERROR event
  pollingInterval: 300, // interval between poll messages
}
```

## Methods

All methods return Promise

- `eSSP.open('COM1')` - Connect device
- `eSSP.close()` - Disconnect device
- `eSSP.initEncryption()` - Initializing Diffie-Hellman key exchange and enable encryption
- `eSSP.enable()` - Enable device and start listen events
- `eSSP.disable()` - Disable device and stop listen events
- `eSSP.poll()` - Start/Stop polling the device
- `eSSP.command('COMMAND_NAME')` - Execute command and get answer

<!-- LICENSE -->

## License

Distributed under the MIT License. See `LICENSE.txt` for more information.

<p align="right">(<a href="#readme-top">back to top</a>)</p>
npm package: @kyber.network/reserve-sdk
Description: JavaScript Reserve SDK
Author: Diep Pham
Latest version: 0.0.4

# reserve-sdk.js
[![Build Status](https://travis-ci.com/KyberNetwork/reserve-sdk.js.svg?token=2kykYMd22vvW6D6VvzXS&branch=master)](https://travis-ci.com/KyberNetwork/reserve-sdk.js)
[![npm version](https://badge.fury.io/js/%40kyber.network%2Freserve-sdk.svg)](https://badge.fury.io/js/%40kyber.network%2Freserve-sdk)
[![Document](https://doc.esdoc.org/github.com/KyberNetwork/reserve-sdk.js/badge.svg)](https://doc.esdoc.org/github.com/KyberNetwork/reserve-sdk.js)

Reserve SDK library provides convenient methods to create and operate a [KyberNetwork](https://kyber.network/) reserve.
This package is desinged to work for both client and server side JavaScript application.

*Warning*: This is pre-released software, use it at your own risk.

## Installation

Install the package with:

    npm install --save @kyber.network/reserve-sdk
    
## Documentation

See the [Reserve SDK.s docs](https://doc.esdoc.org/github.com/KyberNetwork/reserve-sdk.js).

## Usage

### Creating New Contract

Deploying a new [KyberNetwork](https://kyber.network/) will create a number of smart contracts. 
The returned addresses should be saved to persistent storage to use in operation later.

Deployment requires a Ethereum node provider and an account.

Example for server side JavaScript application. 

```js
// requires a Ethereum Remote Node Provider likes: infura.io, etherscan.io...
const provider = new Web3.providers.HttpProvider('ethereum-node')
const dpl = new Deployer(provider)

// initialize account from private key
const account = dpl.web3.eth.accounts.privateKeyToAccount('private-key')
// initialize account from keystore file
// const account = dpl.web3.eth.accounts.decrypt(fs.readFileSync(), "your-keystore-passphrase");

dpl.web3.eth.accounts.wallet.add(account)

let addresses;
(async () => addresses = await dpl.deploy(account))()

console.log(addresses)
```

Example for client side Javascript application, using Metamask.

```js
if (typeof window === "undefined" && typeof window.web3 === "undefined") {
  throw new Error("metamask is not installed");
}

const dpl = new Deployer(window.web3.currentProvider);
(async () => {
  const account = (await web3.eth.getAccounts())[0];
  await dpl.deploy(account);
})();
```

### Reserve Operations

The deployed contract addresses will be used for creating a `Reserve` instance to interact with reserver smart 
contracts.


```js
const reserve = new Reserve(provider, addresses);
(async () => {
  // admin operations
  await reserve.enableTrade();
  await reserve.disableTrade();
  await reserve.setRate(account, rates, 1000);
})();
```

Please consult documentation for detail operation instructions.
 

## Development

Run all tests:

```bash
$ npm install
$ npm test
```

Format codes:

```bash
$ npm run format
```

Generate documentation:

```bash
$ npm run doc
```
npm package: @kyberbits/prism
Description: A CSS toolkit.
Author: kyberbits
Latest version: 2.0.11

# prism
A CSS toolkit.

## Features
- No layout support
- No CSS classes (almost)
- Dark and Light mode built-in

## Control of Dark Mode
- Defaults to Dark Mode but matches system if available (prefers-color-scheme)
- Disable Dark Mode: Add `disable-dark-mode` class to the `<html>` tag
- Disable Light Mode: Add `disable-light-mode` class to the `<html>` tag

## Option 1: Use Everything
Import the combined CSS file: [./prism.css](./prism.css)
```css
@import url('../node_modules/@kyberbits/prism/prism.css');
```

## Customization/Theming
```css
/* Example */
:root {
	--k-prism-dark-color-background-accent: #00bfff;
}
```

All variables defined here: [src/prism.scss](src/prism.scss)

## Special Thanks
This project was inspired by  [Bolt.css](https://boltcss.com/)