open-index/open-npm huggingface dataset:
npm package: @scalemule/billing
Description: ScaleMule Billing UI components - secure payment forms wrapping Stripe Elements
Author: ScaleMule Inc.
Latest version: 0.0.2

# @scalemule/billing

React billing components for ScaleMule applications, built on Stripe Elements.

## Install

```bash
npm install @scalemule/billing @stripe/stripe-js @stripe/react-stripe-js
```

## Peer dependencies

- `react >= 18`
- `react-dom >= 18`
- `@stripe/stripe-js ^5`
- `@stripe/react-stripe-js ^3`

## Exports

- `BillingProvider`
- `PaymentElement`
- `SetupElement`
- related TypeScript types

## License

MIT
npm package: @scalemule/embed-token
Description: Server-side signing SDK for Gallop Video Player embed tokens
Author: ScaleMule Inc.
Latest version: 0.0.1

# @scalemule/embed-token

Server-side token signing utility for ScaleMule Gallop video embeds.

## Install

```bash
npm install @scalemule/embed-token
```

## Usage

```ts
import { signEmbedToken } from '@scalemule/embed-token'

const token = signEmbedToken({
  secret: process.env.GALLOP_EMBED_SECRET!,
  videoId: 'vid_123',
  applicationId: 'app_456',
  allowedOrigins: ['https://app.example.com'],
  viewerId: 'user_789',
})
```

## Notes

- Runs server-side only.
- No network calls are made by this package.

## License

MIT
npm package: @scalemule/ui
Description: ScaleMule shared UI components and utilities
Author: ScaleMule Inc.
Latest version: 0.0.4

# @scalemule/ui

Shared phone utilities and optional React input components for ScaleMule SDKs.

## Install

```bash
npm install @scalemule/ui
```

## Exports

`@scalemule/ui` and `@scalemule/ui/phone` export:

- `PHONE_COUNTRIES`
- `normalizePhoneNumber`, `normalizeAndValidatePhone`
- `composePhoneNumber`
- `isValidE164Phone`, `E164_REGEX`
- `findPhoneCountryByCode`, `findPhoneCountryByDialCode`, `detectCountryFromE164`
- `countryFlag`

`@scalemule/ui/react` exports:

- `PhoneInput`
- `CountrySelect`, `COUNTRIES`

## Usage

```ts
import { normalizeAndValidatePhone } from '@scalemule/ui/phone'

const result = normalizeAndValidatePhone('(415) 555-0123', 'US')
```

```tsx
import { PhoneInput } from '@scalemule/ui/react'

export function PhoneField() {
  return <PhoneInput value="" onChange={() => {}} />
}
```

## License

MIT