open-index/open-npm huggingface dataset:
npm package: @megotickets/core
Description: Core components and utilities for MegoTickets React components library
Author: MegoTickets
Latest version: 1.0.3

# @megotickets/core

Core components and utilities for MegoTickets React components library.

## Installation

```bash
npm install @megotickets/core
```

## Usage

```tsx
import { MegoButton, Loader, CustomizationProvider } from '@megotickets/core';

function App() {
  return (
    <CustomizationProvider>
      <MegoButton onClick={() => console.log('Clicked!')}>
        Click me
      </MegoButton>
      <Loader />
    </CustomizationProvider>
  );
}
```

## Components

- `MegoButton` - Customizable button component
- `Loader` - Loading spinner component
- `CustomizationProvider` - Theme and customization context provider
- `LanguageSelector` - Language selection component
- `MegoPopup` - Popup/modal component
- `Web3ClientProvider` - Web3 client context provider

## License

MIT
npm package: @megotickets/payments
Description: Payment processing components for MegoTickets React components library
Author: MegoTickets
Latest version: 1.0.10

# @megotickets/payments

Payment processing components for MegoTickets React components library.

## Installation

```bash
npm install @megotickets/payments
```

## Usage

```tsx
import { Ticket, MegoBuyTicketModal, BuyTicketForm } from '@megotickets/payments';

function PaymentPage() {
  return (
    <div>
      {/* Show all sections (default behavior) */}
      <Ticket 
        ticketId="your-ticket-id" 
        googleMapsApiKey="your-google-maps-api-key"
      />
      
      {/* Show only header and payment sections */}
      <Ticket 
        ticketId="your-ticket-id" 
        showHeader={true}
        showPayment={true}
        showLocation={false}
        showUserNFT={false}
      />
      
      {/* Show only the location section */}
      <Ticket 
        ticketId="your-ticket-id" 
        googleMapsApiKey="your-google-maps-api-key"
        showHeader={false}
        showPayment={false}
        showLocation={true}
        showUserNFT={false}
      />
      
      <MegoBuyTicketModal>
        <BuyTicketForm />
      </MegoBuyTicketModal>
    </div>
  );
}
```

## Components

- `Ticket` - Ticket display component with Google Maps integration
- `MegoBuyTicketModal` - Main ticket purchase modal
- `BuyTicketForm` - Ticket purchase form
- `BuyTicketWithCrypto` - Cryptocurrency payment component
- `BuyTicketWithStripe` - Stripe payment component
- `MyTicket` - User's ticket management component

### Ticket Component Props

- `ticketId` (string, required) - The ID of the ticket to display
- `googleMapsApiKey` (string, optional) - Google Maps API key for location display
- `showOnlyButton` (boolean, optional) - Show only the claim/buy button
- `overrideButton` (ReactNode, optional) - Custom button to override the default
- `onTicketLoad` (function, optional) - Callback when ticket data is loaded
- `metadataConfig` (array, optional) - Configuration for metadata fields
- `shareEmail` (object, optional) - Email sharing configuration
- `redirectUrl` (string, optional) - URL to redirect after actions

#### Display Control Props (all default to `true`)

- `showHeader` (boolean, optional) - Show/hide the ticket header section
- `showPayment` (boolean, optional) - Show/hide the payment section
- `showLocation` (boolean, optional) - Show/hide the location section
- `showUserNFT` (boolean, optional) - Show/hide the user NFT section

## License

MIT
npm package: @megotickets/wallet
Description: Web3 wallet integration components for MegoTickets React components library
Author: MegoTickets
Latest version: 1.0.3

# @megotickets/wallet

Web3 wallet integration components for MegoTickets React components library.

## Installation

```bash
npm install @megotickets/wallet
```

## Usage

```tsx
import { WalletButton, MegoModal } from '@megotickets/wallet';

function WalletPage() {
  return (
    <div>
      <WalletButton />
      <MegoModal />
    </div>
  );
}
```

## Components

- `WalletButton` - Wallet connection button
- `MegoModal` - Wallet modal component
- `LoginSection` - User login section
- `RegisterSection` - User registration section
- `ChooseTypeSection` - Wallet type selection
- `PrivateKeySection` - Private key management

## License

MIT
npm package: @mehasoft/dd
Description: A helper function similar to Laravel's dd() function.
Author: Mehasoft
Latest version: 1.1.4

# 🛠️ @mehasoft/dd

`@mehasoft/dd`, Laravel'in `dd()` fonksiyonuna benzeyen, Node.js için geliştirilmiş bir **debugging (hata ayıklama)** aracıdır. Konsola renkli ve detaylı çıktı vererek hataları tespit etmeyi kolaylaştırır.

![npm](https://img.shields.io/npm/v/%40mehasoft%2Fdd)
![license](https://img.shields.io/npm/l/%40mehasoft%2Fdd)

---

## 🚀 Kurulum

Node.js projenize eklemek için:

```bash
npm i -D @mehasoft/dd
```

## 📌 Kullanım (ES6)
```javascript
import { dd } from "@mehasoft/dd";

const user = {
  name: "Mevlüt",
  age: 22,
  skills: ["JavaScript", "Node.js", "Laravel"]
};

dd(user); // Çıktıyı renklendirilmiş bir şekilde gösterir ve süreci durdurur
```

## 📌 Kullanım (CommonJS)
```javascript
const { dd } = require("@mehasoft/dd");

const user = {
  name: "Mevlüt",
  age: 22,
  skills: ["JavaScript", "Node.js", "Laravel"]
};

dd(user); // Çıktıyı renklendirilmiş bir şekilde gösterir ve süreci durdurur
```

Alternatif olarak birden fazla argüman da iletebilirsiniz:

```javascript
dd("Bir hata oluştu!", { errorCode: 500 }, ["Hata detayları"]);
```

## 🎨 Örnek Çıktı
Konsolda **renklendirilmiş** ve **formatlanmış** bir çıktı göreceksiniz:

```plaintext
🛑 DEBUG DUMP
{
  name: 'Mevlüt',
  age: 22,
  skills: [ 'JavaScript', 'Node.js', 'Laravel' ]
}
```

## 📄 Lisans
Bu proje MIT lisansı ile lisanslanmıştır. Daha fazla bilgi için `LICENSE` dosyasına göz atabilirsiniz.
npm package: @mehdiislight/zebra-zpl
Description: A lightweight client for sending ZPL to network-connected Zebra label printers via TCP/IP.
Latest version: 1.0.0

# zebra-zpl

A lightweight TypeScript client for sending ZPL commands to network-connected Zebra label printers via TCP/IP.

Zero dependencies — uses Node.js built-in `net` module.

## Installation

```bash
npm install zebra-zpl
```

## Usage

```ts
import { ZebraClient } from 'zebra-zpl';

const client = new ZebraClient('10.0.0.50');
await client.connect();
await client.send('^XA^FO50,50^ADN,36,20^FDHello World^FS^XZ');
client.disconnect();
```

### Factory method

```ts
const client = ZebraClient.printer('10.0.0.50');
await client.connect();
await client.send(zpl);
client.disconnect();
```

### Custom port

The default port is `9100`. You can override it:

```ts
const client = new ZebraClient('10.0.0.50', 6101);
```

### Error handling

Connection and send failures throw a `CommunicationError`:

```ts
import { ZebraClient, CommunicationError } from 'zebra-zpl';

const client = new ZebraClient('10.0.0.50');

try {
  await client.connect();
  await client.send('^XA^FDTest^FS^XZ');
} catch (err) {
  if (err instanceof CommunicationError) {
    console.error(err.message); // Human-readable error
    console.error(err.code);    // Socket error code (e.g. "ECONNREFUSED")
  }
} finally {
  client.disconnect();
}
```

## API

### `new ZebraClient(host: string, port?: number)`

Creates a client instance. Does not connect automatically.

### `ZebraClient.printer(host: string, port?: number): ZebraClient`

Static factory — same as calling `new ZebraClient(...)`.

### `client.connect(): Promise<void>`

Opens a TCP connection to the printer.

### `client.send(zpl: string): Promise<void>`

Sends a ZPL string to the printer. Must be connected first.

### `client.disconnect(): void`

Closes the connection and cleans up the socket.

## Requirements

- Node.js 14+
- Printer must be reachable on the network (same network or routed)
- Default printer port: 9100

## License

MIT
npm package: @mehdiraized/spell-checker-js
Description: Simple expandable tool for spell checking
Author: Mehdi Rezaei
Latest version: 2.2.0

# Spell-checker.js
Простой гибкий иструмент для проверки орфографии.

[![npm](https://img.shields.io/npm/v/spell-checker-js.svg?style=flat-square)](https://www.npmjs.com/package/spell-checker-js)
[![Travis branch](https://img.shields.io/travis/danakt/spell-checker.js/master.svg?style=flat-square)](https://travis-ci.org/danakt/spell-checker.js)

Readme: [`English`](README.md) **`Русский`** 

## Поддержка языков
* Русский
* Английский

## Быстрый старт
**Установка:**  
`npm i spell-checker-js`

**Использование:**
```js
const spell = require('spell-checker-js')

// Подгрузка словаря
spell.load('en')

// Проверка орфографии
const check = spell.check('Some text to check, blahblahblah, olololo')

console.log(check)
// -> ['blahblahblah', 'olololo']
```

## Методы и свойства
### `spell.load(dictionary)` или `spell.load(options)` — загрузка файла со словарём

**Примеры:**
```js
// Способы подгрузки стандартного словря:
spell.load('ru')
spell.load({ input: 'ru' })

// Подгрузка пользовательского словаря:
spell.load('./my_custom_dictionary.txt')

// Подгрузка пользовательского словаря с кодировкой:
spell.load({ input: './my_custom_dictionary.txt', charset: 'windows-1251' })

// Асинхронная подгрузка стандартного словаря
spell.load({ input: 'en', async: true }).then(len => {
    console.log(len);
    // len — количество подгруженных слов
    spell.check('something')
})
```

**Список стандартных словарей:**
* `en` — словарь с английскими словами
* `ru` — словарь с русскими словами
* `ru_surnames` — словрь с русскими 

Вы можете помочь проекту, добавив словари с другими языками.

### `spell.check(string)` — проверка орфографии текста
**Возвращает:** массив с неправильными словами  
**Пример:**
```js
spell.load('en')

const check = spell.check('Some text to check, blahblahblah, olololo')

console.log(check)
// -> ['blahblahblah', 'olololo']
```

### `spell.clear()` — очистка подгруженных словрей
**Пример:**
```js
spell.load('en')

spell.clear()
spell.check('something')

// -> ERROR! Dictionaries are not loaded
```

### `spell.size` — количество подгруженных слов
**Пример**
```js
spell.load('en')
spell.load('ru')

console.log(spell.size)
// -> 1956898
```