open-index/open-npm huggingface dataset:
npm package: @i18n-components/input-number
Description: Web component to format input number based on locale
Author: Apurva Ojas
Latest version: 0.1.0-alpha.0

# `@i18n-components/input-number`

> Web component to format input number based on locale.

## Usage Vanilla Javascript HTML

```html
<!DOCTYPE html>
<html>
  <head>
    <title>Input Number</title>
    <meta charset="UTF-8" />
  </head>

  <body>
    <script src="https://unpkg.com/@i18n-components/input-number@latest/dist/index.js"></script>
    
    <input type="tel" is="i18n-input-number" />
  </body>
</html>
```

## Usage React/Angular/Vue

```bash
npm i @i18n-components/input-number
```

```jsx
// Import IIFE
import '@i18n-components/input-number';

//Use in your component
<input type="tel" is="i18n-input-number" />
```
npm package: @i18n-email/resend
Description: Resend integration for i18n-email - adds locale to emails.send()
Author: Dan Zabrotski
Latest version: 0.1.0

# @i18n-email/resend

Resend integration for [i18n-email](https://github.com/i18n-email/i18n-email). Wraps a `Resend` instance so `emails.send()` accepts an optional `locale` field — when set, the email is translated before sending.

## Install

```bash
bun add @i18n-email/resend
# or
npm install @i18n-email/resend
```

Requires `i18n-email`, `resend`, and `react` as peer dependencies.

## Usage

```tsx
import { Resend } from "resend";
import { withResend } from "@i18n-email/resend";
import { WelcomeEmail } from "./emails/welcome";

const resend = withResend(new Resend("re_..."), {
  openaiApiKey: "sk-...",
});

// Translated — locale is set
await resend.emails.send({
  from: "hello@acme.com",
  to: "dan@example.com",
  locale: "fr",
  subject: "Welcome!",
  react: <WelcomeEmail name="Dan" />,
});

// Not translated — no locale, works like normal Resend
await resend.emails.send({
  from: "hello@acme.com",
  to: "dan@example.com",
  subject: "Welcome!",
  react: <WelcomeEmail name="Dan" />,
});
```

All other Resend methods (`emails.get`, `contacts`, `domains`, etc.) are untouched.

## API

### `withResend(resend, i18nOptions)`

| Parameter     | Type              | Description                                     |
| ------------- | ----------------- | ----------------------------------------------- |
| `resend`      | `Resend`          | A Resend instance                               |
| `i18nOptions` | `I18nEmailConfig` | Same config object as `createI18nEmail` accepts |

Returns an `I18nResend` — a proxied `Resend` instance where `emails.send()` accepts an optional `locale` field.

When `locale` is set:

1. The `subject` and `react`/`html` are translated via `i18n-email`
2. The `locale` field is stripped before calling Resend
3. Resend receives the translated `subject` and `html`

When `locale` is omitted, the call passes through to Resend unchanged.
npm package: @i18n-flow/rsbuild-plugin
Description: Example plugin for Rsbuild.
Latest version: 0.0.1-alpha.1

# rsbuild-plugin-example

Example plugin for Rsbuild.

<p>
  <a href="https://npmjs.com/package/rsbuild-plugin-example">
   <img src="https://img.shields.io/npm/v/rsbuild-plugin-example?style=flat-square&colorA=564341&colorB=EDED91" alt="npm version" />
  </a>
  <img src="https://img.shields.io/badge/License-MIT-blue.svg?style=flat-square&colorA=564341&colorB=EDED91" alt="license" />
  <a href="https://npmcharts.com/compare/rsbuild-plugin-example?minimal=true"><img src="https://img.shields.io/npm/dm/rsbuild-plugin-example.svg?style=flat-square&colorA=564341&colorB=EDED91" alt="downloads" /></a>
</p>

## Usage

Install:

```bash
npm add rsbuild-plugin-example -D
```

Add plugin to your `rsbuild.config.ts`:

```ts
// rsbuild.config.ts
import { pluginExample } from "rsbuild-plugin-example";

export default {
  plugins: [pluginExample()],
};
```

## Options

### foo

Some description.

- Type: `string`
- Default: `undefined`
- Example:

```js
pluginExample({
  foo: "bar",
});
```

## License

[MIT](./LICENSE).