open-index/open-npm huggingface dataset:
npm package: @inboxical/cypress
Description: Inboxical Cypress plugin — Email testing commands for Cypress
Author: Inboxical
Latest version: 0.1.0

# @inboxical/cypress

[Inboxical](https://inboxical.com) plugin for [Cypress](https://www.cypress.io/) — test email flows in your E2E tests.

## Install

```bash
npm install @inboxical/cypress @inboxical/sdk
```

## Setup

### 1. Register tasks in `cypress.config.ts`

```ts
import { defineConfig } from "cypress";
import { setupInboxical } from "@inboxical/cypress";

export default defineConfig({
  e2e: {
    setupNodeEvents(on, config) {
      setupInboxical(on, config, {
        apiKey: process.env.INBOXICAL_API_KEY,
      });
      return config;
    },
  },
});
```

### 2. Import commands in `cypress/support/commands.ts`

```ts
import "@inboxical/cypress/commands";
```

## Usage

```ts
describe("Email verification", () => {
  it("should verify email with OTP", () => {
    cy.inboxicalCreateInbox().then(({ id, email }) => {
      cy.visit("/signup");
      cy.get("#email").type(email);
      cy.get("form").submit();

      cy.inboxicalWaitForMessage(id, { timeout: 30 }).then((message) => {
        expect(message.subject).to.include("Verify");

        cy.inboxicalExtractCode(message).then((code) => {
          cy.get("#otp-input").type(code);
          cy.get("#verify-btn").click();
          cy.contains("Welcome").should("be.visible");
        });
      });

      cy.inboxicalDeleteInbox(id);
    });
  });
});
```

## Commands

| Command | Description |
|---------|-------------|
| `cy.inboxicalCreateInbox(options?)` | Create a disposable test inbox |
| `cy.inboxicalWaitForMessage(inboxId, options?)` | Wait for a message (long-poll) |
| `cy.inboxicalGetMessages(inboxId)` | Get all messages in inbox |
| `cy.inboxicalGetLatestMessage(inboxId)` | Get the latest message |
| `cy.inboxicalDeleteInbox(inboxId)` | Delete inbox and messages |
| `cy.inboxicalExtractCode(message, pattern?)` | Extract OTP/verification code |

## Related

- [`@inboxical/sdk`](https://github.com/ozers/inboxical-sdk) — Core Node.js SDK
- [`@inboxical/playwright`](https://github.com/ozers/inboxical-playwright) — Playwright helper

## License

MIT
npm package: @inboxical/playwright
Description: Inboxical Playwright helper — Email testing fixtures for Playwright
Author: Inboxical
Latest version: 0.1.0

# @inboxical/playwright

[Inboxical](https://inboxical.com) helper for [Playwright](https://playwright.dev/) — test email flows in your E2E tests.

## Install

```bash
npm install @inboxical/playwright @inboxical/sdk
```

## Quick Start

```ts
import { test, expect } from "@playwright/test";
import { InboxicalMailbox } from "@inboxical/playwright";

test("user can verify email", async ({ page }) => {
  const mailbox = new InboxicalMailbox();
  const { email } = await mailbox.create({ name: "signup-test" });

  await page.goto("/signup");
  await page.fill("#email", email);
  await page.click("button[type=submit]");

  const message = await mailbox.waitForMessage({ timeout: 30 });
  expect(message.subject).toContain("Verify");

  const code = await mailbox.extractCode();
  await page.fill("#verification-code", code);
  await page.click("#verify-button");

  await expect(page.locator(".success")).toBeVisible();
  await mailbox.cleanup();
});
```

## Playwright Fixture

For cleaner test setup, use the built-in fixture helper:

```ts
// fixtures.ts
import { test as base } from "@playwright/test";
import { InboxicalMailbox, createMailboxFixture } from "@inboxical/playwright";

export const test = base.extend<{ mailbox: InboxicalMailbox }>({
  mailbox: createMailboxFixture(),
});

// my-test.spec.ts
import { test } from "./fixtures";
import { expect } from "@playwright/test";

test("email flow", async ({ page, mailbox }) => {
  const { email } = await mailbox.create();

  await page.goto("/signup");
  await page.fill("#email", email);
  await page.click("button[type=submit]");

  const message = await mailbox.waitForMessage({ timeout: 30 });
  const code = await mailbox.extractCode();

  await page.fill("#code", code);
  await page.click("#submit");
  await expect(page.locator(".welcome")).toBeVisible();
  // cleanup is automatic via the fixture
});
```

## API

### `InboxicalMailbox`

| Method | Description |
|--------|-------------|
| `create(options?)` | Create a new test inbox |
| `waitForMessage(options?)` | Wait for a message (long-poll) |
| `getMessages()` | Get all messages |
| `getLatestMessage()` | Get the latest message |
| `extractCode(options?)` | Extract OTP/verification code |
| `cleanup()` | Delete inbox and messages |
| `getClient()` | Access underlying SDK client |
| `getInboxId()` | Get current inbox ID |
| `getEmail()` | Get current inbox email |

### `createMailboxFixture(options?)`

Returns a Playwright test fixture that auto-creates and auto-cleans an `InboxicalMailbox`.

## Related

- [`@inboxical/sdk`](https://github.com/ozers/inboxical-sdk) — Core Node.js SDK
- [`@inboxical/cypress`](https://github.com/ozers/inboxical-cypress) — Cypress plugin

## License

MIT
npm package: @inboxical/sdk
Description: Inboxical Test Inbox API — Node.js SDK. Create disposable email inboxes for automated testing.
Author: Inboxical
Latest version: 0.1.0

# @inboxical/sdk

Official Node.js SDK for [Inboxical](https://inboxical.com) — disposable email inboxes for automated testing.

Test signup flows, OTP verification, password resets, and transactional emails in your CI/CD pipelines.

## Install

```bash
npm install @inboxical/sdk
```

## Quick Start

```ts
import { Inboxical } from "@inboxical/sdk";

const client = new Inboxical({ apiKey: "mk_test_xxx" });

// Create a disposable inbox
const inbox = await client.createInbox({ name: "signup-test" });
console.log(inbox.email_address); // random@test.inboxical.com

// ... trigger your app to send an email ...

// Wait for the email to arrive (long-polling)
const message = await client.waitForMessage(inbox.id, { timeout: 30 });
console.log(message.subject); // "Verify your email"

// Extract OTP/verification code automatically
const code = client.extractCode(message);
console.log(code); // "847291"

// Clean up
await client.deleteInbox(inbox.id);
```

## API

### `new Inboxical(options)`

| Option | Type | Default | Description |
|--------|------|---------|-------------|
| `apiKey` | `string` | *required* | Your API key (`mk_...`) |
| `baseUrl` | `string` | `https://api.inboxical.com` | API base URL |
| `timeout` | `number` | `30000` | Request timeout (ms) |

### Inbox Methods

- `createInbox(options?)` — Create a new test inbox
- `listInboxes(options?)` — List inboxes with pagination
- `getInbox(inboxId)` — Get inbox by ID
- `deleteInbox(inboxId)` — Delete inbox and all messages

### Message Methods

- `getMessages(inboxId, options?)` — List messages with pagination
- `getLatestMessage(inboxId)` — Get the most recent message
- `waitForMessage(inboxId, options?)` — Long-poll until a message arrives
- `getMessage(messageId)` — Get message by ID
- `deleteMessage(messageId)` — Delete a message

### Helpers

- `extractCode(message, options?)` — Extract OTP/verification code from message body

## Integration Packages

- [`@inboxical/cypress`](https://github.com/ozers/inboxical-cypress) — Cypress commands
- [`@inboxical/playwright`](https://github.com/ozers/inboxical-playwright) — Playwright fixtures

## Documentation

Full API docs and guides at [inboxical.com/docs](https://inboxical.com/docs)

## License

MIT
npm package: @inbrowserapp/mac-address
Description: MAC address utilities: conversion between bases, normalization, BigInt conversion, IPv6 link-local generation, validation, and registry lookup.
Author: InBrowserApp
Latest version: 1.0.2

# MAC Address Utility Library

A TypeScript library for working with MAC addresses, providing utilities for conversion, normalization, and manipulation of MAC addresses.

## Features

- Convert MAC addresses between different number bases (2, 8, 10, 16, 36, 64)
- Normalize MAC addresses to standard formats
- Convert MAC addresses to BigInt for numerical operations
- IPv6 address generation from MAC addresses
- MAC address validation and formatting
- MAC address registry lookup and organization information
- Search and filter MAC address assignments
- Get detailed information about MAC address registries

## Installation

```bash
npm install @inbrowserapp/mac-address
```

## Usage

```typescript
import { 
  toNumber, 
  toBigInt, 
  normalize, 
  toIPv6LinkLocal,
  getRegistries,
  getRegistryAssignments,
  getOrganizations,
  getOrganizationAssignments,
  searchAssignments,
  getAssignment
} from '@inbrowserapp/mac-address';

// Basic MAC address operations
const example = '00:11:22:33:44:55';
const hex = toNumber(example, 16);        // Convert MAC address to different number bases
const bigInt = toBigInt(example);         // Convert to BigInt
const normalized = normalize(example);     // Normalize MAC address
const ipv6 = toIPv6LinkLocal(example);    // Convert MAC address to IPv6 link-local address

// MAC address registry and organization lookup
const registries = getRegistries();                                    // Get all registries
const registryAssignments = getRegistryAssignments('MA-L');           // Get registry assignments
const organizations = getOrganizations();                             // Get all organizations
const organizationAssignments = getOrganizationAssignments('Apple, Inc.'); // Get organization assignments
const assignments = searchAssignments(example);                       // Search assignments by address
const info = getAssignment("00:03:93:00:00:00");                     // Get assignment information by address
```

## License

MIT

## Contributing

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