open-index/open-npm huggingface dataset:
npm package: @skyeryg/dform
Description: ## 表单组件
Latest version: 1.2.15

# 移动端的表单方案

## 表单组件

封装常用的表单组件，将 antd-mobile 的组件，改成受控组件。

官方用法

```tsx
<InputItem
  {...getFieldProps('autofocus')}
  clear
  placeholder="auto focus"
  ref={el => (this.autoFocusInst = el)}
>
  标题
</InputItem>
```

使用@alitajs/dform

```tsx
<NomarInput name="autofocus" placeholder="auto focus" title="标题" />
```

## 动态表单

```tsx
<List renderHeader={() => 'Customize to focus'}>
  <InputItem
    {...getFieldProps('autofocus')}
    clear
    placeholder="auto focus"
    ref={el => (this.autoFocusInst = el)}
  >
    标题
  </InputItem>
  <Picker
    extra="请选择(可选)"
    data={district}
    title="Areas"
    {...getFieldProps('district', {
      initialValue: ['340000', '341500', '341502'],
      rules: [{ required: true, message: `请输入${title}` }],
    })}
    onOk={e => console.log('ok', e)}
    onDismiss={e => console.log('dismiss', e)}
  >
    <List.Item arrow="horizontal">Multiple & cascader</List.Item>
  </Picker>
</List>
```

使用@alitajs/dform

```tsx
const formData = [
  {
    type: 'input',
    fieldProps: 'autofocus',
    required: true,
    placeholder: 'auto focus',
    title: '标题',
    inputType: 'text',
  },
  {
    type: 'select',
    fieldProps: 'district',
    required: true,
    placeholder: '请选择(可选)',
    title: 'Multiple & cascader',
    data: district,
  },
];
<DynamicForm data={formData} />;
```

## 可视化编辑方案

方案灵感来源于 [ava](https://github.com/antvis/ava) 的 `autoChart`，用法和触发条件一致，都是 data 为空且在开发状态的时候，显示编辑表单按钮。用户可以强制设定 `isDev` 来在任意环境中使用。

![2020-01-20 17 16 23](https://user-images.githubusercontent.com/11746742/72713840-b37bc900-3ba8-11ea-8a94-d19cdd39be53.gif)

更多详情，请点击[dform 官网](https://dform.alitajs.com/) 欢迎交流。感谢！
npm package: @skyfalcode/inno-setup
Description: Node.js/TypeScript toolkit to generate and compile Inno Setup (.iss) scripts and run installers via ISCC.
Author: skyfalcode
Latest version: 1.0.0

# @skyfalcode/inno-setup

A TypeScript / Node.js toolkit to generate, compile, and run Inno Setup (`.iss`) scripts programmatically.

This package provides a typed, programmatic API around the Inno Setup toolchain, allowing you to:
- Build `.iss` scripts from structured objects
- Compile them using `ISCC`
- Run installers and uninstallers from Node.js
- Integrate Inno Setup into automated build pipelines (Electron, CI, packaging, etc.)

> ⚠️ **Credits:**  
> This project is a wrapper and automation layer around **Inno Setup**, which is developed and maintained by Jordan Russell and Martijn Laan.  
> Inno Setup itself is not created by this package — all credit for the installer system goes to the original authors.

---

## Features

- Typed `.iss` script generation
- Automatic formatting of Inno Setup directives
- Compile scripts using `ISCC`
- Run installers and uninstallers programmatically
- Designed for Node.js, TypeScript, and Electron workflows
- No runtime dependencies

---

## Installation

```bash
npm install @skyfalcode/inno-setup
```

> Requires Windows and Inno Setup to be installed (or the installer downloaded via this package).

---

## Basic Usage

### 1. Create and compile an installer script

```ts
import { InnoSetupScript } from "@skyfalcode/inno-setup";

const script = new InnoSetupScript({
  Setup: {
    AppName: "My App",
    AppVersion: "1.0.0",
    DefaultDirName: "{pf}\\MyApp"
  },
  Files: [
    { Source: "dist/*", DestDir: "{app}", Flags: ["recursesubdirs"] }
  ]
});

await script.run({});
```

---

### 2. Download Inno Setup installer

```ts
import { download } from "@skyfalcode/inno-setup";

const installerPath = await download({ dir: "./tools" });
```

---

### 3. Run an installer

```ts
import { install } from "@skyfalcode/inno-setup";

await install({
  installer: "./MyInstaller.exe",
  setupCommandLineParameters: {
    SILENT: true,
    NOCANCEL: true
  }
});
```

---

### 4. Run an uninstaller

```ts
import { uninstall } from "@skyfalcode/inno-setup";

await uninstall({
  dir: "C:/Program Files/MyApp",
  uninstallerCommandLineParameters: {
    SILENT: true
  }
});
```

---

## Requirements

* Windows
* Node.js >= 14
* Inno Setup installed or downloadable

---

## Credits

This package is built on top of **Inno Setup**:

* Official website: [https://jrsoftware.org/](https://jrsoftware.org/)
* Product info: [https://jrsoftware.org/isinfo.php](https://jrsoftware.org/isinfo.php)
* Documentation: [https://jrsoftware.org/ishelp/](https://jrsoftware.org/ishelp/)

Inno Setup is developed and maintained by:

* Jordan Russell
* Martijn Laan

All rights and credit for Inno Setup belong to its authors.

---

## License

MIT — see the LICENSE file for details.
npm package: @skyfall-powered/react-reveal
Description: The easiest way to add reveal animations to your React applications as the elements enter viewport. it includes Both on scroll and simple reveal animations.
Author: Mutesa Cedric
Latest version: 1.2.0

# react-swift-reveal

react-swift-reveal is a React component library and animation framework for animating elements as they enter the viewport or on scroll. you can learn more about the library [here(documention)](https://react-swift-reveal.vercel.app/) or view [stackblitz demo](https://stackblitz.com/edit/react-swift-reveal?file=src%2FApp.tsx)

## Installation

with npm:

```bash
npm install react-swift-reveal
```

with yarn:

```bash
yarn add react-swift-reveal
```

with pnpm:

```bash
pnpm add react-swift-reveal
```

## Usage

```javascript
import { Fade } from "react-swift-reveal";

const App = () => {
  return (
    <Fade>
      <h1>hello world</h1>
    </Fade>
  );
};
```

or

```javascript
import { Fade } from "react-swift-reveal";
import MyComponent from "./MyComponent"; // component to be animated

const App = () => {
  return (
    <Fade>
      <MyComponent /> //component to be animated
    </Fade>
  );
};
```

### with next.js app directory

```javascript
"use client";

import { Fade } from "react-swift-reveal";

const App = () => {
  return (
    <Fade>
      <h1>hello world</h1>
    </Fade>
  );
};
```

both examples will fade in the element as it enters the viewport.


## Available Animations

- Fade
- Bounce
- Slide
- Zoom
- Flip
- Rotate
- Roll
- LightSpeed

## Simple animations

- Flash
- Jello
- Pulse
- RubberBand
- Shake
- Swing
- Tada
- Wobble
- HeadShake
- Pop
- Spin
- Jump
npm package: @skyfallai/cli
Description: CLI for managing Morpheus simulation worlds — install, publish, and interact with world plugins
Latest version: 1.0.1

# @skyfall/cli

The official CLI for [Morpheus](https://morpheus.skyfall.ai) — manage simulation worlds, run operations, and publish to Morpheus Hub.

## Requirements

**[Bun](https://bun.sh) v1.0+** is required. Bun runs TypeScript natively — no build step needed.

```bash
curl -fsSL https://bun.sh/install | bash
```

## Installation

```bash
# Global install (recommended)
bun install -g @skyfall/cli

# One-off run without installing
bunx @skyfall/cli --help
```

## Usage

```bash
# Authentication
morpheus login --token <jwt>                     # Save Hub API token

# World management
morpheus worlds list                             # List installed worlds
morpheus worlds install <path>                   # Install from local folder
morpheus worlds install --url <url>             # Install from archive URL (zip/tar.gz)
morpheus worlds install --git <url>             # Install from Git repository
morpheus worlds enable <worldId>                # Enable a world
morpheus worlds disable <worldId>               # Disable a world
morpheus worlds reinstall <worldId> --path <p>  # Clean reinstall

# World packaging
morpheus pack <worldId>                         # Package world into zip for distribution
morpheus pack <worldId> --out <dir>             # Custom output directory

# Morpheus Hub
morpheus hub list                               # List hub environments
morpheus hub publish <worldId> --download-url <url>  # Publish world to Hub
morpheus hub install <worldId>                  # Install world from Hub
morpheus hub versions <worldId>                 # List available Hub versions

# General
morpheus --version
morpheus --help
```

### Options

| Flag | Default | Description |
|------|---------|-------------|
| `--server <url>` | `http://localhost:8282` | Morpheus server URL |
| `--token <jwt>` | — | Hub API token (or run `morpheus login` first) |

## Contributing

```bash
git clone https://github.com/TalkShopClub/morpheus
cd morpheus/packages/cli
bun install
bun run src/index.ts --help   # run directly
bun test                      # run tests
```

## License

MIT
npm package: @skyfe79/tiny-router
Description: A tiny router implementation
Latest version: 1.0.6

# @skyfe79/tiny-router

A lightweight and flexible TypeScript router implementation designed for:

- **API Mocking & Testing**: Create mock API endpoints with dynamic URL patterns for testing and development
- **URL Pattern Matching**: Parse and extract parameters from dynamic URLs
- **API Gateway Simulation**: Test API gateway routing logic locally
- **Command Line Tools**: Route command arguments to specific handlers
- **Event Routing**: Map event patterns to handlers in event-driven architectures

## Installation

```bash
npm install @skyfe79/tiny-router
```

## Usage

### ESM (ECMAScript Modules)

```typescript
import createTinyRouter from '@skyfe79/tiny-router';

const router = createTinyRouter();

// Basic route
router.map('/', (params) => {
  console.log('Root path');
});

// Route with parameters
router.map('/users/:id', (params) => {
  console.log('User ID:', params.id);
});

// Execute route
router.route('/users/123'); // User ID: 123
```

### CommonJS

```javascript
const { createTinyRouter } = require('@skyfe79/tiny-router');

const router = createTinyRouter();

// Basic route
router.map('/', (params) => {
  console.log('Root path');
});

// Route with parameters
router.map('/users/:id', (params) => {
  console.log('User ID:', params.id);
});

// Execute route
router.route('/users/123'); // User ID: 123
```

## HTTP Method Support

The router supports the following HTTP methods:

```typescript
// GET method (map is an alias for get)
router.get('/users/:id', (params) => {
  console.log('GET User:', params.id);
});

// POST method
router.post('/users', (params) => {
  console.log('Create User');
});

// PUT method
router.put('/users/:id', (params) => {
  console.log('Update User:', params.id);
});

// DELETE method
router.delete('/users/:id', (params) => {
  console.log('Delete User:', params.id);
});

// Specify method and path together
router.route('POST', '/users');
```

## Advanced Routing Features

### Optional Parameters

```typescript
router.map('/users/:id?', (params) => {
  if (params.id) {
    console.log('User ID:', params.id);
  } else {
    console.log('All users');
  }
});
```

### Wildcards

```typescript
// Single wildcard
router.map('/files/*', (params) => {
  console.log('File path:', params.wildcard);
});

// Multiple wildcards
router.map('/files/*/versions/*', (params) => {
  console.log('File paths:', params.wildcards);
});
```

## Features

- Express-style route patterns
- Support for path parameters (`:param`)
- Optional parameters (`:param?`)
- Wildcard support (`*`)
- Full HTTP method support
- TypeScript support with type definitions
- Works with both ESM and CommonJS
- Zero dependencies
- Lightweight and fast

## License

MIT
npm package: @skyfire-xyz/skyfire-seller-sdk-node
Description: Skyfire Seller Node.JS SDK
Author: engineering@skyfire.xyz
Latest version: 0.0.6

# Skyfire Seller SDK for Node.js

Skyfire Seller SDK for Node.js

## Description

This SDK assists with the Skyfire Seller integration. It provides two primary functions:

* Validating Skyfire KYA/PAY Tokens
* Charging Skyfire KYA/PAY Tokens

# Getting Started

## Installing

* yarn add @skyfire-xyz/skyfire-seller-sdk-node

## Usage

### Configuration

This SDK uses environment variables for configuration.

Only the SKYFIRE_API_KEY variable must be configured, the remaining properties are pre-configured for Skyfire's Production Services.

#### List of all configuration settings
 - SKYFIRE_API_KEY : Required - set this to your Skyfire API Key
 - SKYFIRE_API_HOST : Default - api.skyfire.xyz
 - SKYFIRE_JWKS_URL : Default - https://app.skyfire.xyz/.well-known/jwks.json
 - SKYFIRE_ISSUER : Default - https://app.skyfire.xyz

### Validate A Token

After receiving a Skyfire KYA, PAY or KYA+PAY Token in your application from a buyer, call the validate function to verify its authenticity.

The first invocation will download Skyfire's verification keys, after which it will be cached and the validation will not incur any latency.
Applications may call `loadJWKSet` to pre-load the verification keys. Long-running applications should periodically call this function to refresh their local copy of skyfire's verification keys.

```
import {validate} from '@skyfire-xyz/skyfire-seller-sdk-node'

loadJWKSet() // Optional
await validate(token)
```

It is advisable to pass your own seller service agent id and seller service id,
as well as the buyer agent id if known to your application.

```
await validate(token, {sellerAgentId: "your agent id", "sellerServiceId": "your seller service id", buyerAgentId: "buyer agent id")
```

By default, validate() will fail for expired tokens.
However, Skyfire allows a grace period where tokens may be charged after their expiration.

To validate according to a grace period (in seconds), pass the gracePeriod field to the validate function options.
The production grace period is 24 hours (86400 s).

```
await validate(token, {gracePeriod: 86400})
```

### Charge A Pay Token
```
import {chargeToken} from '@skyfire-xyz/skyfire-seller-sdk-node'

const result = await chargeToken(token, "0.001")
console.log(result.amountCharged)
console.log(result.remainingBalance)
```

# Version History

* 0.1
    * Initial Release

# License

This project is licensed under the MIT License - see the LICENSE.md file for details
npm package: @skyfire-xyz/usdc-wallet-embed-sdk
Description: Skyfire USDC Wallet iFrame SDK
Author: Skyfire
Latest version: 0.0.8

# Skyfire USDC Wallet Embed SDK

A React SDK that embeds a USDC wallet directly into your app, allowing users to view real-time balances and top up instantly via a built-in Stripe checkout.

## Installation

```bash
npm install @skyfire-xyz/usdc-wallet-embed-sdk
```

## Prerequisites

- Skyfire User Id
- Skyfire API Key

## Quick Start

### 1. Basic Setup

```tsx
"use client";

import { useState } from "react";

import {
  EmbeddedIframeOptions,
  EmbeddedIframeProvider,
  EmbeddedIframe,
  EventType
} from "@skyfire-xyz/usdc-wallet-embed-sdk";

// API Call to create a skyfire session
const functionToGetSkyfireUserSession = async (userId: string) => {
  ....
};

export default function App() {
  const options: EmbeddedIframeOptions = {
    fetchClientSecret: () => functionToGetSkyfireUserSession("user-id"),
    onEvent: async (type: EventType, data: unknown) => {
      console.log("Event:", type, data);
    },
  };

  return (
    <div>
      <EmbeddedIframeProvider options={options}>
        <EmbeddedIframe />
      </EmbeddedIframeProvider>
    </div>
  );
}

```

## Configuration Options

### EmbeddedIframeOptions

```tsx
interface EmbeddedIframeOptions {
  fetchClientSecret?: () => Promise<string>;
  onEvent?: (eventType: EventType, payload?: unknown) => void;
  showSuccessMessage?: boolean;
  environment?: Environment;
  customUrl?: string;
  redirectUrl?: string;
  buttonText?: string;
}
```

**Properties:**

- `fetchClientSecret` - Your function that calls Skyfire API to get a user session token
- `onEvent` - Event handler for iframe events
- `showSuccessMessage` - Whether to show success messages (default: `true`)
- `environment` - Skyfire environment to use ("sandbox" | "production")
- `customUrl` - Custom URL for dev environment (optional). Overrides `environment`
- `redirectUrl` - The URL where Stripe should redirect to after check out (defaults to origin URL of where iframe is embedded)
- `buttonText` - Text of the button that initiates the top-up flow

## Event Types

The SDK emits various events that you can listen to:

```tsx
type EventType =
  | "AUTH_TOKEN_READY"

  // Top-Up Events
  | "PAYMENT_COMPLETED"

  // General Events
  | "ERROR"
  | "AUTH_ERROR"
  | "AUTH_SUCCESS"
  | "APP_READY";
```

## License

MIT