open-index/open-npm huggingface dataset:
npm package: @register-ui/keyboard-base-react
Description: React @register-ui keyboard-base components
Latest version: 0.0.16

# React Keyboard Base Components

## Installation

### Step 1:
Place these scripts at the top of your HTML's ```head```:

```html
<script type="module" src="https://unpkg.com/@register-ui/keyboard-base@latest/dist/register-keyboard/register-keyboard.esm.js"></script>
<script nomodule src="https://unpkg.com/@register-ui/keyboard-base@latest/dist/register-keyboard/register-keyboard.js"></script>
```

### Step 2
Install the React types and JSX bindings for intellisense and React-specific syntax:

```shell
npm i @register-ui/keyboard-base-react
```

or

```shell
yarn add @register-ui/keyboard-base-react
```

### Step 3
Finished! Add components to your files like so:

```javascript
import { Keyboard, KeyboardButton } from "@register-ui/keyboard-base-react";
```

## Example:

```jsx
import * as React from "react";
import "./styles.scss";
import { Keyboard, KeyboardButton } from "@register-ui/keyboard-base-react";

export default function App() {
  return (
    <input className="global-keyboard" name="test-input" />

    <div style={{padding: 24, background: "#f1f1f1"}}>
      <input className="local-keyboard" name="test-input-2" />
      <br />

      {/* Isolated Keyboard (only handles inputs within this parent) */}
      <Keyboard global={false}>
        <KeyboardButton buttonName="A" pressAction="add" addValue="A">A</KeyboardButton>
      </Keyboard>
    </div>

    {/* Global Keyboard (handles inputs within entire app, besides ones controlled by local keyboards) */}
    <Keyboard global={true}>
        <KeyboardButton buttonName="A" pressAction="add" addValue="A">A</KeyboardButton>
    </Keyboard>
  );
}
```
npm package: @registeragent/cli
Description: CLI tool for the Autonomous Identity Protocol
Latest version: 0.1.1

# @registeragent/cli

CLI tool for the Autonomous Identity Protocol.

## Install

```bash
npm install -g @registeragent/cli
```

## Usage

```bash
aip init --entity-id <id> --private-key <jwk>
aip token --aud <audience>
aip call <url> [-X GET|POST|...] [-d <body>] [-H header:value]
aip discover <origin>
aip whoami
```

## Links

[registeragent.id](https://registeragent.id) | [GitHub](https://github.com/Autonomous-Identity-Protocol/aip)

## License

MIT
npm package: @registeragent/client
Description: Agent-side client for the Autonomous Identity Protocol
Latest version: 0.1.1

# @registeragent/client

Agent-side client for authenticated requests using the Autonomous Identity Protocol.

## Install

```bash
npm install @registeragent/client
```

## Usage

```ts
import { AipClient } from "@registeragent/client";

const client = new AipClient({
  entityId: "your-entity-uuid",
  privateKeyJwk: { /* ... */ },
  issuerUrl: "https://registeragent.id",
});

const token = await client.getToken("https://example.com");
const response = await client.fetch("https://example.com/api/me");
```

## Links

[registeragent.id](https://registeragent.id) | [GitHub](https://github.com/Autonomous-Identity-Protocol/aip)

## License

MIT
npm package: @registeragent/core
Description: Shared types, constants, and error classes for the Autonomous Identity Protocol
Latest version: 0.1.1

# @registeragent/core

Shared types, constants, and error classes for the Autonomous Identity Protocol.

## Install

```bash
npm install @registeragent/core
```

## Exports

**Types:** `AipIdentity`, `AipTokenClaims`, `AipClientAssertionClaims`, `AipTokenResponse`, `AipEntityStatus`, `AipIssuerDiscovery`, `AipMerchantDiscovery`, `Result`

**Enums:** `EntityStatus`, `OwnerStatus`

**Constants:** `AIP_ALGORITHM`, `AIP_CURVE`, `TOKEN_TTL_SECONDS`, `ASSERTION_MAX_TTL_SECONDS`, `METADATA_MAX_BYTES`, `JWKS_CACHE_TTL_MS`, `TOKEN_REFRESH_INTERVAL_MS`, `AIP_CLAIMS`, `WELL_KNOWN`, `DEFAULT_ASSURANCE`

**Error classes:** `AipError`, `AipTokenExpiredError`, `AipTokenInvalidError`, `AipSignatureError`, `AipAudienceMismatchError`, `AipIssuerMismatchError`, `AipEntityNotFoundError`, `AipEntityRevokedError`, `AipEntitySuspendedError`, `AipAssertionInvalidError`, `AipJwksFetchError`, `AipMetadataTooLargeError`, `AipRateLimitedError`

**Zod schemas:** `aipTokenClaimsSchema`, `aipClientAssertionClaimsSchema`, `tokenRequestSchema`, `createEntitySchema`, `updateEntitySchema`, `aipIssuerDiscoverySchema`, `aipMerchantDiscoverySchema`

## Links

[registeragent.id](https://registeragent.id) | [GitHub](https://github.com/Autonomous-Identity-Protocol/aip)

## License

MIT
npm package: @registeragent/express
Description: AIP verification middleware for Express applications
Latest version: 0.1.1

# @registeragent/express

Express middleware for AIP token verification.

## Install

```bash
npm install @registeragent/express
```

## Usage

```ts
import { aipMiddleware } from "@registeragent/express";

app.use("/api", aipMiddleware({ issuerUrl: "https://registeragent.id", audience: "https://example.com" }));

app.get("/api/me", (req, res) => {
  const identity = req.aipIdentity;
  res.json({ entityId: identity.entityId });
});
```

## Links

[registeragent.id](https://registeragent.id) | [GitHub](https://github.com/Autonomous-Identity-Protocol/aip)

## License

MIT
npm package: @registeragent/next
Description: AIP verification middleware for Next.js applications
Latest version: 0.1.1

# @registeragent/next

AIP verification middleware for Next.js applications.

## Install

```bash
npm install @registeragent/next
```

## Usage

```ts
import { withAip, getAipIdentity } from "@registeragent/next";

// Route handler with middleware
export const GET = withAip(
  { issuerUrl: "https://registeragent.id", audience: "https://example.com" },
  async (request) => {
    const identity = await getAipIdentity(request);
    return Response.json({ entityId: identity.entityId });
  }
);

// Manual use
const identity = await getAipIdentity(request, config);
```

## Links

[registeragent.id](https://registeragent.id) | [GitHub](https://github.com/Autonomous-Identity-Protocol/aip)

## License

MIT
npm package: @registeragent/nuxt
Description: AIP verification middleware for Nuxt applications
Latest version: 0.1.1

# @registeragent/nuxt

Nuxt server middleware for AIP token verification.

## Install

```bash
npm install @registeragent/nuxt
```

## Usage

```ts
// server/middleware/auth.ts
import { createAipEventHandler } from "@registeragent/nuxt";

export default createAipEventHandler({ issuerUrl: "https://registeragent.id", audience: "https://example.com" });
```

Identity is available via `getAipIdentity(event, config)` in API routes and server handlers.

## Links

[registeragent.id](https://registeragent.id) | [GitHub](https://github.com/Autonomous-Identity-Protocol/aip)

## License

MIT
npm package: @registeragent/remix
Description: AIP verification helper for Remix applications
Latest version: 0.1.1

# @registeragent/remix

Remix loader helpers for AIP token verification.

## Install

```bash
npm install @registeragent/remix
```

## Usage

```ts
import { getAipIdentity, requireAipIdentity } from "@registeragent/remix";

export async function loader({ request }: LoaderFunctionArgs) {
  const identity = await getAipIdentity(request, config);
  // or
  const identity = await requireAipIdentity(request, config); // throws if unauthenticated
  return json({ entityId: identity.entityId });
}
```

## Links

[registeragent.id](https://registeragent.id) | [GitHub](https://github.com/Autonomous-Identity-Protocol/aip)

## License

MIT
npm package: @registeragent/sveltekit
Description: AIP verification hook for SvelteKit applications
Latest version: 0.1.1

# @registeragent/sveltekit

SvelteKit hook for AIP token verification.

## Install

```bash
npm install @registeragent/sveltekit
```

## Usage

```ts
// src/hooks.server.ts
import { aipHook } from "@registeragent/sveltekit";

export const handle = aipHook({ issuerUrl: "https://registeragent.id", audience: "https://example.com" });
```

Identity is available on `event.locals.aipIdentity` in load functions and server routes.

## Links

[registeragent.id](https://registeragent.id) | [GitHub](https://github.com/Autonomous-Identity-Protocol/aip)

## License

MIT
npm package: @registeragent/verify
Description: Core AIP token verification library — works in any JavaScript runtime
Latest version: 0.1.1

# @registeragent/verify

Token verification library for the Autonomous Identity Protocol. Works in any JS runtime (Node, Deno, Bun, Edge).

## Install

```bash
npm install @registeragent/verify
```

## Usage

```ts
import { createAipVerifier } from "@registeragent/verify";

const verifier = createAipVerifier({ issuerUrl: "https://registeragent.id" });
const identity = await verifier.verify(token, { audience: "https://example.com" });
```

## Links

[registeragent.id](https://registeragent.id) | [GitHub](https://github.com/Autonomous-Identity-Protocol/aip)

## License

MIT