open-index/open-npm huggingface dataset:
npm package: @origin-ui/components
Description: <h1 align="center"> Origin UI for Angular </h1>
Latest version: 0.9.0

<h1 align="center">
Origin UI for Angular
</h1>

<p>
A collection of copy-and-paste components for quickly build application UIs.

It&lsquo;s free, open-source, and ready to drop into your projects.
<p>

## Installation

```bash
npm install @origin-ui/components @radix-ng/primitives
```

## Documentation

For full documentation, visit [originui-ng.com](https://originui-ng.com).
npm package: @origin-yaropolk/debug-assert
Description: Helps your app meet fail-fast/fail-safe principles
Author: origin-yaropolk
Latest version: 1.0.1

Small lib that helps your app meet fail-fast and fail-save principles.

## Usage
```javascript
import { assert } from 'debug-assert';

assert(myCondition, 'Print this if failed');
```
You can setup your own fail-fast function:

```javascript
import { assert, setupFailFast } from 'debug-assert';

setupFailFast((err: Error) => {
  console.error(err);
  collectSomeData();
  process.abort();
});

assert(myCondition, 'Print this if failed');
```
Change the principle by calling `setupMode` function:
```javascript
import { assert, setupMode } from 'debug-assert';

// calls fail-fast function
// it's default behaviour
assert(myCondition, 'Print this if failed');

setupMode('fail-safe');
// throws an exception
assert(myCondition, 'Print this if failed');

setupMode('ignore');
// replaced with noop
assert(myCondition, 'Print this if failed');
```
There is an `assertNotNull` alias:
```javascript
import { assertNotNull } from 'debug-assert';

assertNotNull(null, 'Print this if failed'); // will fail
assertNotNull(undefined, 'Print this if failed'); // not fail
assertNotNull(0, 'Print this if failed'); // not fail
```
npm package: @originalix/react-native-sni-connect
Description: onekey sni http client
Author: Leon
Latest version: 0.1.5

# react-native-sni-connect

onekey sni http client

## Installation


```sh
npm install react-native-sni-connect
```


## Usage


```js
import { multiply } from 'react-native-sni-connect';

// ...

const result = multiply(3, 7);
```


## Contributing

- [Development workflow](CONTRIBUTING.md#development-workflow)
- [Sending a pull request](CONTRIBUTING.md#sending-a-pull-request)
- [Code of conduct](CODE_OF_CONDUCT.md)

## License

MIT

---

Made with [create-react-native-library](https://github.com/callstack/react-native-builder-bob)
npm package: @originalmoose/create-react-app
Description: Create React apps with no build configuration.
Latest version: 1.5.3

# create-react-app

This package includes the global command for [Create React App](https://github.com/facebookincubator/create-react-app).<br>
Please refer to its documentation:

* [Getting Started](https://github.com/facebookincubator/create-react-app/blob/master/README.md#getting-started) – How to create a new app.
* [User Guide](https://github.com/facebookincubator/create-react-app/blob/master/packages/react-scripts/template/README.md) – How to develop apps bootstrapped with Create React App.
npm package: @originalmoose/react-scripts
Description: Configuration and scripts for Create React App.
Latest version: 1.1.8

# react-scripts

This package includes scripts and configuration used by [Create React App](https://github.com/facebookincubator/create-react-app).<br>
Please refer to its documentation:

* [Getting Started](https://github.com/facebookincubator/create-react-app/blob/master/README.md#getting-started) – How to create a new app.
* [User Guide](https://github.com/facebookincubator/create-react-app/blob/master/packages/react-scripts/template/README.md) – How to develop apps bootstrapped with Create React App.
npm package: @originalmoose/react-scripts-ts
Description: Configuration and scripts for Create React App.
Latest version: 1.1.3

# react-scripts

This package includes scripts and configuration used by [Create React App](https://github.com/facebookincubator/create-react-app).<br>
Please refer to its documentation:

* [Getting Started](https://github.com/facebookincubator/create-react-app/blob/master/README.md#getting-started) – How to create a new app.
* [User Guide](https://github.com/facebookincubator/create-react-app/blob/master/packages/react-scripts/template/README.md) – How to develop apps bootstrapped with Create React App.
npm package: @originaltimi/rn-toast
Description: A simple toast notification library for React Native and Expo Compactible.
Author: Timi-Leyin
Latest version: 0.1.5

# rn-toast

A simple toast notification library for React Native and Expo Compactible.

## Installation

```sh
npm install @originaltimi/rn-toast
```
```sh
yarn add @originaltimi/rn-toast
```

## Usage

```js
import toast, { ToastProvider } from '@originaltimi/rn-toast';

// ...

 <ToastProvider
        config={{
          position: 'bottom',
          duration: 5000,
          stack: true,
        }}
      >
        <App />
      </ToastProvider>

// ...
const clickHandler = () =>{
    toast({
    title:'Hello, World!'
    type: 'success'
});
}
```

Displays a toast notification.

- `title` (string): The message to display in the toast.
    - `duration` (number): Duration in milliseconds for which the toast is visible.
    - `position` (string): Position of the toast on the screen (`top`, `bottom`).
    - `type` (string): Type of the toast (`success`, `error`, `info`).
    - `stack - Coming Soon` (boolean)

## Contributing

See the [contributing guide](CONTRIBUTING.md) to learn how to contribute to the repository and the development workflow.

## License

MIT
npm package: @originalvoices/ai-sdk
Description: Vercel AI SDK tool that provides access to OriginalVoices' network of Digital Twins for real-time audience research
Author: OriginalVoices
Latest version: 0.2.0

# OriginalVoices AI SDK

[![npm version](https://img.shields.io/npm/v/@originalvoices/ai-sdk.svg)](https://www.npmjs.com/package/@originalvoices/ai-sdk)

Vercel AI SDK tool that provides access to OriginalVoices' network of Digital Twins for real-time audience research.

## Installation

```bash
npm install @originalvoices/ai-sdk
```

**Peer Dependencies:** This package requires `ai` (^6.0.0) and `zod` (^4.0.0) as peer dependencies. If you're using the Vercel AI SDK, you likely already have these installed.

## Setup

1. Get your API key from [OriginalVoices](https://platform.originalvoices.ai)

2. Set your API key as an environment variable:
```env
ORIGINALVOICES_API_KEY=your_api_key_here
```

## Usage

### With Vercel AI SDK

```typescript
import { generateText } from 'ai';
import { askTwins } from '@originalvoices/ai-sdk';

const result = await generateText({
  model: YOUR_MODEL, // e.g., openai('gpt-4o'), anthropic('claude-3-5-sonnet'), etc.
  tools: { askTwins },
  prompt: 'I want to understand what influences UK fitness enthusiasts aged 18-30 when buying new running shoes',
});

console.log(result.text);
```

## Tool: askTwins

Trigger an OriginalVoices Twin interaction to gather insights from a specific audience. Twins are AI-powered digital personas representing real audience segments.

### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `audience` | `string` | Yes | The specific demographic or target group the Twin should address |
| `questions` | `string[]` | Yes | A list of specific inquiries or prompts for the Twin to process |

### Response

```typescript
{
  data: {
    answers: Array<Array<{
      answer: string;
      confidence: number;
    }>>;
  };
  requestId: string;
}
```

## Examples

See the [examples](./examples) directory for more usage examples.

```bash
# Run the example (requires ORIGINALVOICES_API_KEY to be set)
npx tsx examples/askTwins.example.ts
```

## Development

```bash
# Install dependencies
npm install

# Build
npm run build

# Watch mode
npm run dev
```

## Links

- [OriginalVoices](https://platform.originalvoices.ai) - Get your API key
- [Vercel AI SDK](https://ai-sdk.dev) - AI SDK documentation
- [GitHub Repository](https://github.com/ovlabs/originalvoices-aisdk)

## License

MIT © [OriginalVoices](https://originalvoices.ai)
npm package: @originalvoices/cli
Description: CLI for the OriginalVoices API
Author: OriginalVoices
Latest version: 1.0.2

# OriginalVoices CLI

[![npm version](https://img.shields.io/npm/v/@originalvoices/cli.svg)](https://www.npmjs.com/package/@originalvoices/cli)

Command-line interface for the [OriginalVoices API](https://originalvoices.ai) — ask questions to Digital Twins, manage audiences, and explore projects from your terminal.

## Installation

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

Or run directly with npx:

```bash
npx @originalvoices/cli ask "What matters most when buying coffee?" --audience "coffee drinkers aged 20-40"
```

Requires Node.js 18+.

## Authentication

```bash
# Interactive login
ov auth login

# Or pass your key directly
ov auth login --key ov_live_abc123

# Use an environment variable (for CI/scripting)
export OV_API_KEY=ov_live_abc123

# Check auth status
ov auth status

# Remove stored key
ov auth logout
```

Your API key is stored at `~/.ov/config.json`. The `OV_API_KEY` environment variable takes priority over the config file.

## Usage

### Ask questions

Ask open-ended questions to an audience:

```bash
ov ask "What factors influence your decision to try a new skincare product?" \
  --audience "women aged 25-45 in the US"
```

Ask multiple questions at once:

```bash
ov ask "What do you look for in a coffee brand?" "How often do you try new brands?" \
  --audience "coffee drinkers aged 20-40"
```

Ask a saved audience by ID:

```bash
ov ask "What would make you switch banks?" --audience-id 550e8400-e29b-41d4-a716-446655440000
```

Ask a multiple choice question:

```bash
ov ask "Which social media platform do you use most?" \
  --audience "Gen Z men 18-25" \
  --type choices \
  --choices "Instagram,TikTok,YouTube,X,Facebook"
```

Ask a project's panel with a filter:

```bash
ov ask "What frustrates you about navigation apps?" \
  --project 550e8400-e29b-41d4-a716-446655440000 \
  --filter "people who use navigation apps daily"
```

Control sample size:

```bash
ov ask "How do you discover new music?" \
  --audience "millennials in urban areas" \
  --sample-size high
```

Available sample sizes: `low`, `medium` (default), `high`, `very_high`.

### Manage audiences

```bash
# List saved audiences
ov audiences list

# Create a new audience
ov audiences create --title "Health-conscious millennials" --prompt "Health-conscious adults aged 25-40"

# Update an audience title
ov audiences update <id> --title "New title"

# Delete an audience
ov audiences delete <id>
```

### List projects

```bash
ov projects list
```

## JSON output

Use the `--json` flag to get raw JSON output, useful for scripting and piping:

```bash
ov ask "What do you think about electric cars?" --audience "car owners 30-50" --json

ov audiences list --json | jq '.data.audiences[].title'
```

## Configuration

| Source | Priority |
|--------|----------|
| `--api-key` flag | Highest |
| `OV_API_KEY` env var | Medium |
| `~/.ov/config.json` | Lowest |

Set a custom API base URL:

```bash
ov auth login --base-url https://your-api-url.com
```

Or via environment variable:

```bash
export OV_BASE_URL=https://your-api-url.com
```
npm package: @originalvoices/mcp-server
Description: MCP server for OriginalVoices - Ask AI twins questions about any audience
Author: OriginalVoices
Latest version: 1.0.3

# OriginalVoices MCP Server

[![npm version](https://img.shields.io/npm/v/@originalvoices/mcp-server.svg)](https://www.npmjs.com/package/@originalvoices/mcp-server)

An MCP (Model Context Protocol) server that provides access to [OriginalVoices](https://originalvoices.ai) AI twins for audience research.

## Installation

```bash
npm install @originalvoices/mcp-server
```

## Configuration

### Environment Variables

| Variable | Description | Required |
|----------|-------------|----------|
| `ORIGINALVOICES_API_KEY` | Your OriginalVoices API key | Yes |

### Claude Desktop

Add to your `claude_desktop_config.json`:

```json
{
  "mcpServers": {
    "originalvoices": {
      "command": "npx",
      "args": ["@originalvoices/mcp-server"],
      "env": {
        "ORIGINALVOICES_API_KEY": "your-api-key"
      }
    }
  }
}
```

### From Source

```json
{
  "mcpServers": {
    "originalvoices": {
      "command": "node",
      "args": ["/path/to/ov-mcp-server/dist/index.js"],
      "env": {
        "ORIGINALVOICES_API_KEY": "your-api-key"
      }
    }
  }
}
```

## Tools

### ask_twins

Ask questions to a specific audience using OriginalVoices AI twins.

**Parameters:**

| Name | Type | Description |
|------|------|-------------|
| `audience` | string | Description of the audience |
| `questions` | string[] | Array of questions to ask the audience |

**Example:**

```json
{
  "audience": "UK, 18-30, fitness enthusiasts",
  "questions": [
    "When purchasing running shoes, what's most important to you?",
    "How often do you replace your running shoes?"
  ]
}
```

## Development

```bash
# Install dependencies
npm install

# Build
npm run build

# Watch mode
npm run dev
```

## FAQ

### How do I get an API key?

You can create an API key on the [OriginalVoices Platform](https://platform.originalvoices.ai).

## License

MIT