open-index/open-npm huggingface dataset:
npm package: @seven_y_q_guo/jsonp
Description: Inspired from https://github.com/webmodules/jsonp
Latest version: 1.12.0

[![<CircleCI>](https://circleci.com/gh/Seven-Y-Q-Guo/jsonp.svg?style=svg)](https://app.circleci.com/pipelines/github/Seven-Y-Q-Guo/jsonp)

# [build-your-own] JSONP
Inspired from https://github.com/webmodules/jsonp

## Installation
Install via NPM:

```bash
npm i @seven_y_q_guo/jsonp

```

## Usage

```javascript

const jsonp = require("@seven_y_q_guo/jsonp"); // or import jsonp from '@seven_y_q_guo/jsonp';

jsonp('http://jsfiddle.net/echo/jsonp?name=seven', {
  name: 'hello',
  success: (info) => {
    console.log(info); // {name: 'seven'}
  },
  error: (error) => {
    console.log(error); // handle kinds of errors like timeout, 404, etc.
  }
});

```

## API

### jsonp(url, opts)

- `url` (`String`) url to fetch
- `opts` (`Object`)
  - `success` handle success
  - `error` handle error
  - `param` (`String`) name of the query string parameter to specify
    the callback (defaults to `callback`)
  - `timeout` (`Number`) how long after a timeout error is emitted. `0` or other falsy value to
    disable (defaults to `30000`)
  - `prefix` (`String`) prefix for the global callback functions that
    handle jsonp responses (defaults to `__jp`)
  - `name` (`String`) optional: name of the global callback functions that
    handle jsonp responses, will generate `__jp + incremented` counter if not passing specific name

Returns a function that, when called, will cancel the in-progress jsonp request
(`success` & `error` won't be called any more).

## Want Promise?

### You can implement easily

```javascript
function fetchJson(url, opts = {}) {
  return new Promise((resolve, reject) => {
    jsonp(url, {
      ...opts,
      success: resolve,
      error: reject
    });
  })
}

fetchJson('http://jsfiddle.net/echo/jsonp?name=seven').then(res => {
  console.log(res);
}).catch(err => {
  console.log(err);
});
```

## License

MIT
npm package: @sevenapps.studio/sevenapps-components
Description: Librería de componentes creada para los proyectos de `SevenAppsStudio`.
Author: SevenAppsStudio
Latest version: 0.0.1

# Seven Apps Components
Librería de componentes creada para los proyectos de `SevenAppsStudio`.

## Pasos para añadir un nuevo componente
1. Cambiamos la versión de `package.json` para que detecte los cambios.

2. Creamos un nuevo componente en `src/components/NuevoComponente.tsx`.

3. Después lo enlazamos en el archivo `src/index.ts`
```js
import HolaMundo from "./components/HolaMundo";
import NuevoComponente from "./components/NuevoComponente.tsx"

export { HolaMundo, NuevoComponente };
```

4. Utilizamos el comando `npm run bundle` y esperamos que termine.
5. Después utilizamos el comando `npm publish --access=public` y ya lo tendremos listo.
npm package: @sevenc-nanashi/xhr-hook
Description: A library to hook into XMLHttpRequest for extensions or user scripts.
Latest version: 0.1.2

# xhr-hook

[![npm version](https://img.shields.io/npm/v/%40sevenc-nanashi%2Fxhr-hook.svg)](https://www.npmjs.com/package/@sevenc-nanashi/xhr-hook)
[![jsDocs.io](https://img.shields.io/badge/jsDocs.io-reference-blue)](https://www.jsdocs.io/package/@sevenc-nanashi/xhr-hook)

A library to intercept and modify `XMLHttpRequest`s.

## Installation

```bash
pnpm install xhr-hook
```

## Usage

```typescript
import { insertXhrHook, removeXhrHook } from "xhr-hook";

// Insert a hook
insertXhrHook("my-hook", (request) => {
  console.log("Intercepted request:", request);
  // To override the request, return a function that returns a Promise<Response>
  if (request.url.includes("example.com")) {
    return async (abortSignal) => {
      const response = new Response("Hello from the hook!", { status: 200 });
      return response;
    };
  }
  // To ignore the request, return undefined
  return undefined;
});

// Remove the hook
removeXhrHook("my-hook");
```

## API

### `insertXhrHook(name: string, hook: XhrHook, options?: InsertXhrHookOptions)`

Inserts a new XHR hook.

- `name`: A unique name for the hook.
- `hook`: The hook function.
- `options`: Options for inserting the hook.

#### `XhrHook`

A function that takes a `Request` object and returns either a function that returns a `Promise<Response>` to handle the request, or `undefined` to ignore the request.

#### `InsertXhrHookOptions`

- `onExists`: What to do if a hook with the same name already exists. Default is to `ignore`.
  - `'replace'`: Replace the existing hook.
  - `'ignore'`: Ignore the new hook.
  - `'error'`: Throw an error.

### `removeXhrHook(name: string): boolean`

Removes an XHR hook.

- `name`: The name of the hook to remove.

Returns `true` if the hook was removed, `false` otherwise.

### `setLogger(logger: Logger)`

Sets a custom logger for the library.

#### `Logger`

An interface for a simple logger.

```typescript
export interface Logger {
  log: (message: string) => void;
  warn: (message: string) => void;
  error: (message: string, error?: unknown) => void;
}
```

## Development

- `pnpm install`: Install dependencies
- `pnpm test`: Run tests
- `pnpm lint`: Run linter

## License

ISC
npm package: @sevenflash/node-module-boilerplate
Description: My awesome module
Author: Igor Berlenko
Latest version: 0.0.2

[![Build Status](https://travis-ci.org/7flash/node-module-boilerplate.svg?branch=master)](https://travis-ci.org/7flash/node-module-boilerplate)
[![Coverage Status](https://coveralls.io/repos/github/7flash/node-module-boilerplate/badge.svg?branch=master)](https://coveralls.io/github/7flash/node-module-boilerplate?branch=master)
![npm (scoped)](https://img.shields.io/npm/v/7flash/node-module-boilerplate)

# node-module-boilerplate

> My awesome module


## Install

```
$ npm install sevenflash/node-module-boilerplate
```


## Usage

```js
const example = require('sevenflash/node-module-boilerplate')

example('diadem')
//=> 'diadem is awesome'
```


## API

### diadem(input, options?)

#### input

Type: `string`

Lorem ipsum.

#### options

Type: `object`

##### postfix

Type: `string`<br>
Default: `awesome`

Lorem ipsum.
npm package: @sevenlab/n8n-nodes-litellm-chat-model
Description: n8n community node for LiteLLM — connect any LLM provider via a LiteLLM proxy using a simple JSON options field
Author: Joey Houtenbos
Latest version: 1.1.1

# @sevenlab/n8n-nodes-litellm-chat-model

An n8n community node for [LiteLLM](https://docs.litellm.ai/) — a proxy that provides a unified OpenAI-compatible API across 100+ LLM providers (OpenAI, Anthropic, Gemini, Azure, Ollama, and more).

Instead of managing separate credentials and node configurations per provider, point this node at your LiteLLM proxy and pass model parameters as plain JSON.

[n8n](https://n8n.io/) is a [fair-code licensed](https://docs.n8n.io/sustainable-use-license/) workflow automation platform.

## Installation

Follow the [installation guide](https://docs.n8n.io/integrations/community-nodes/installation/) in the n8n community nodes documentation.

Or install directly:

```
@sevenlab/n8n-nodes-litellm-chat-model
```

## Credentials

You need a running LiteLLM proxy. Configure the following:

- **Base URL** — the base URL of your LiteLLM proxy (e.g. `https://your-litellm-proxy.example.com/v1`)
- **API Key** — your LiteLLM API key

## Usage

1. Add the **LiteLLM Chat Model** sub-node to an AI Agent or Chain node
2. Select a model from the dropdown (loaded dynamically from your proxy's `/models` endpoint)
3. Pass any model parameters as JSON in the **Options** field

Example options:

```json
{
  "temperature": 0.7,
  "max_tokens": 1000
}
```

Supported parameters depend on the provider. See:

- [LiteLLM](https://docs.litellm.ai/docs/completion/input) — full list across all providers
- [OpenAI](https://platform.openai.com/docs/api-reference/chat/create)
- [Gemini](https://ai.google.dev/api/generate-content#request_body)
- [Anthropic](https://docs.anthropic.com/en/api/messages)

## Compatibility

Minimum n8n version: **1.0**

## Resources

- [LiteLLM documentation](https://docs.litellm.ai/)
- [n8n community nodes documentation](https://docs.n8n.io/integrations/community-nodes/)
- [GitHub repository](https://github.com/SevenLabnl/n8n-nodes-litellm-chat-model)
npm package: @sevenlabs-hq/carbon-codama-renderer
Description: Carbon codama renderer for Codama IDL
Latest version: 0.12.0

# @sevenlabs-hq/carbon-codama-renderer

[![npm version](https://img.shields.io/npm/v/@sevenlabs-hq/carbon-codama-renderer.svg)](https://www.npmjs.com/package/@sevenlabs-hq/carbon-codama-renderer)
[![npm downloads](https://img.shields.io/npm/dm/@sevenlabs-hq/carbon-codama-renderer.svg)](https://www.npmjs.com/package/@sevenlabs-hq/carbon-codama-renderer)

Carbon codama renderer for generating Carbon-compatible Rust decoder code from Codama IDL files.

## Installation

```sh
npm install @sevenlabs-hq/carbon-codama-renderer
```

## Usage

This package is used internally by [`@sevenlabs-hq/carbon-cli`](https://www.npmjs.com/package/@sevenlabs-hq/carbon-cli) when processing Codama IDL files.

## Links

- [NPM Package](https://www.npmjs.com/package/@sevenlabs-hq/carbon-codama-renderer)
- [Carbon CLI](https://www.npmjs.com/package/@sevenlabs-hq/carbon-cli)
- [Carbon Framework](https://github.com/sevenlabs-hq/carbon)

## License

MIT
npm package: @sevenlinelabs/aa-passkey-client
Description: [TEST] Passkey (WebAuthn) client library for Account Abstraction wallets
Author: Seven Line Labs
Latest version: 0.6.0

# @sevenlinelabs/aa-passkey-client

> **WARNING: This is a TEST package. Not intended for production use.**

Passkey (WebAuthn) client library for Account Abstraction wallets.

## Installation

```bash
npm install @sevenlinelabs/aa-passkey-client
```

## Features

- WebAuthn credential creation and authentication
- P256/ES256 signature handling for AA wallets
- Framework-agnostic core module
- NestJS integration (optional)
- React hooks (optional)

## Usage

### Core (Framework-agnostic)

```typescript
import {
  createPasskeyCredential,
  signWithPasskey,
  encodeWebAuthnSignature
} from '@sevenlinelabs/aa-passkey-client';

// Create a new passkey credential
const credential = await createPasskeyCredential({
  rpId: 'example.com',
  rpName: 'Example App',
  userName: 'user@example.com',
  userDisplayName: 'User',
});

// Sign a challenge
const signature = await signWithPasskey({
  credentialId: credential.id,
  challenge: '0x...',
});
```

### NestJS Integration

```typescript
import { PasskeyModule } from '@sevenlinelabs/aa-passkey-client/nestjs';

@Module({
  imports: [
    PasskeyModule.forRoot({
      rpId: 'example.com',
      rpName: 'Example App',
    }),
  ],
})
export class AppModule {}
```

### React Hooks

```typescript
import { usePasskeyAuth } from '@sevenlinelabs/aa-passkey-client/react';

function LoginComponent() {
  const { register, authenticate, isLoading } = usePasskeyAuth();

  const handleRegister = async () => {
    const credential = await register({
      userName: 'user@example.com',
      userDisplayName: 'User',
    });
  };

  return <button onClick={handleRegister}>Register Passkey</button>;
}
```

## Exports

| Path | Description |
|------|-------------|
| `@sevenlinelabs/aa-passkey-client` | Core functions (framework-agnostic) |
| `@sevenlinelabs/aa-passkey-client/nestjs` | NestJS module and services |
| `@sevenlinelabs/aa-passkey-client/react` | React hooks |

## Requirements

- Node.js >= 18.0.0
- Browser with WebAuthn support

## License

MIT
npm package: @sevenlinelabs/aa-wallet-client
Description: [TEST] Account Abstraction wallet client for AAWallet API integration
Author: Seven Line Labs
Latest version: 0.6.1

# @sevenlinelabs/aa-wallet-client

> **WARNING: This is a TEST package. Not intended for production use.**

Account Abstraction wallet client for AAWallet API integration.

## Installation

```bash
npm install @sevenlinelabs/aa-wallet-client
```

## Features

- AA account creation and management
- UserOperation preparation and submission
- Paymaster integration for gas sponsorship
- Contract address caching
- Framework-agnostic core module
- NestJS integration (optional)

## Usage

### Core (Framework-agnostic)

```typescript
import { AAWalletClient } from '@sevenlinelabs/aa-wallet-client';

const client = new AAWalletClient({
  baseUrl: 'https://aa-wallet-api.example.com',
  apiKey: 'your-api-key',
});

// Create AA account
const account = await client.createAccount({
  chainId: 31337,
  ownerAddress: '0x...',
  salt: '0x...',
});

// Prepare UserOperation
const userOp = await client.prepareUserOp({
  chainId: 31337,
  sender: account.address,
  callData: '0x...',
});

// Submit UserOperation
const result = await client.submitUserOp({
  chainId: 31337,
  userOp,
  signature: '0x...',
});
```

### With Facade (Simplified API)

```typescript
import { AAWalletFacade } from '@sevenlinelabs/aa-wallet-client';

const facade = new AAWalletFacade({
  baseUrl: 'https://aa-wallet-api.example.com',
  apiKey: 'your-api-key',
});

// Execute contract call via AA
const txHash = await facade.execute({
  chainId: 31337,
  sender: '0x...',
  to: '0x...',
  data: '0x...',
  signature: '0x...',
});
```

### NestJS Integration

```typescript
import { AAClientModule } from '@sevenlinelabs/aa-wallet-client/nestjs';

@Module({
  imports: [
    AAClientModule.forRoot({
      baseUrl: 'https://aa-wallet-api.example.com',
      apiKey: 'your-api-key',
    }),
  ],
})
export class AppModule {}

// Inject services
@Injectable()
export class MyService {
  constructor(
    private readonly aaWalletClient: AAWalletClientService,
    private readonly aaWalletFacade: AAWalletFacade,
  ) {}
}
```

## Exports

| Path | Description |
|------|-------------|
| `@sevenlinelabs/aa-wallet-client` | Core classes and utilities |
| `@sevenlinelabs/aa-wallet-client/nestjs` | NestJS module and services |

## Requirements

- Node.js >= 18.0.0

## Dependencies

- `ethers` ^6.0.0

## License

MIT