open-index/open-npm huggingface dataset:
npm package: @stepanjakl/apostrophe-read-only-field
Description: Read-Only Schema Field Type For ApostropheCMS
Author: Štěpán Jákl
Latest version: 0.0.3

<div align="center">
    <h1>
        Read-Only Schema Field Type For ApostropheCMS
    </h1>
    <p>
        <a aria-label="Apostrophe logo" href="https://v3.docs.apostrophecms.org">
            <img src="https://img.shields.io/badge/MADE%20FOR%20APOSTROPHECMS-000000.svg?style=for-the-badge&logo=Apostrophe&labelColor=6516DD">
        </a>
        <a aria-label="Stripe logo" href="https://stripe.com">
            <img src="https://img.shields.io/badge/STRIPE-000000.svg?style=for-the-badge&logo=Stripe&labelColor=635bFF&logoColor=FFFFFF">
        </a>
        <br>
        <a aria-label="Personal logo" href="https://stepanjakl.com">
            <img src="https://img.shields.io/badge/STEPANJAKL.COM%20-000000.svg?style=for-the-badge&labelColor=EED500&logo=data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyMCAyMCI+PHBhdGggZmlsbD0iIzAwMDAwMCIgZD0iTTAgMTV2NWgyMFY3LjVIMHY1aDE1LjA1VjE1SDBaTTIwIDBIMHY1aDIwVjBaIiAvPjwvc3ZnPg==">
        </a>
        <a aria-label="License"
           href="https://github.com/apostrophecms/module-template/blob/main/LICENSE.md">
            <img alt="License"
                 src="https://img.shields.io/static/v1?style=for-the-badge&labelColor=000000&label=License&message=MIT&color=3DA639">
        </a>
    </p>
</div>

<br>

This module adds a schema field type designed solely for displaying relevant data in read-only mode, without allowing any editing capability.

<br>

**This module is used primarily in Apostrophe Stripe packages such as [`stripe-checkout`](https://github.com/stepanjakl/apostrophe-stripe-checkout) or [`stripe-products`](https://github.com/stepanjakl/apostrophe-stripe-products).**

<br>

## Installation

Use your preferred package manager to install the module:

```zsh
npm install read-only-field@npm:@stepanjakl/apostrophe-read-only-field
```

<br>

## Usage

First, add the installed module to your configuration in the `app.js` root file:

```js
require('apostrophe')({
  shortName: 'project-name',
  modules: {
    'read-only-field': {}
  }
});
```

<br>

Then, easily add the field type to any module that accepts the `fields` property. The schema field object accepts optional parameters such as `copyToClipboard`, `openInNewTab`, and `openInNewTabPrepend`. See the example below:

```js
module.exports = {
  extend: '@apostrophecms/piece-type',
  fields: {
    add: {
      name: {
        type: 'readOnly',
        label: 'Name',
        copyToClipboard: true,
        openInNewTab: true,
        openInNewTabPrepend: `${process.env.STRIPE_DASHBOARD_BASE_URL}${process.env.STRIPE_TEST_MODE === 'false' ? '' : '/test'}/prices/`
      }
    }
  }
}
```
npm package: @stepcoin/eslint-config-stepcoin
Description: Eslint config for Stepcoin
Author: Stepcoin
Latest version: 1.0.0

# eslint-config-apeswap

ApeSwap Eslint config with:

- Airbnb config
- Typescript
- Prettier

## Usage

```
npx install-peerdeps --dev @apeswapfinance/eslint-config-apeswap
```

Add `"extends": "@apeswapfinance/eslint-config-apeswap"` to your eslint config file.
npm package: @stepcoin/sdk
Description: 🛠 An SDK for building applications on top of STEPCOIN.
Latest version: 1.0.8

# ApeSwap SDK

In-depth documentation on this SDK is available at [uniswap.org](https://uniswap.org/docs/v2/SDK/getting-started/).

This modifies uniswap-sdk's UniswapV2Factory address. The new address for sushiswap is  `0xC0AEe478e3658e2610c5F7A4A2E1777cE9e4f2Ac`.

## Running tests

To run the tests, follow these steps. You must have at least node v10 and [yarn](https://yarnpkg.com/) installed.

First clone the repository:

```sh
git clone https://github.com/sushiswap/sushiswap-sdk.git
```

Move into the sushiswap-sdk working directory

```sh
cd sushiswap-sdk/
```

Install dependencies

```sh
yarn install
```

Run tests

```sh
yarn test
```

You should see output like the following:

```sh
yarn run v1.22.4
$ tsdx test
 PASS  test/constants.test.ts
 PASS  test/pair.test.ts
 PASS  test/fraction.test.ts
 PASS  test/miscellaneous.test.ts
 PASS  test/entities.test.ts
 PASS  test/trade.test.ts

Test Suites: 1 skipped, 6 passed, 6 of 7 total
Tests:       3 skipped, 82 passed, 85 total
Snapshots:   0 total
Time:        5.091s
Ran all test suites.
✨  Done in 6.61s.
```
npm package: @stepdi/tarantool-queue
Description: Wrapper for Tarantool Queue
Author: Dmitry Stepanov
Latest version: 1.0.4

# tarantool-queue
Simple wrapper for Tarantool Queue for NodeJS (ES6).
It accepts Tarantool connection from [tarantool/node-tarantool-driver](https://github.com/tarantool/node-tarantool-driver "tarantool/node-tarantool-driver")

Module [Queue](https://github.com/tarantool/queue "Queue") for Tarantool is required (if you use [Official Tarantool Docker image](https://hub.docker.com/r/tarantool/tarantool "Official Tarantool Docker image") you already have it, if you do not please install the Queue module - [here is described how](https://www.tarantool.io/en/doc/2.1/book/app_server/installing_module/ "here is described how"))
To check if you have the Queue module installed run in your **Tarantool console**:
```lua
Lua> queue = require('queue')
```
## Install
```bash
npm i @stepdi/tarantool-queue
```
## Sample usage (worker):
```javascript
import Tarantool from 'tarantool-driver';
import TarantoolQueue from '@stepdi/tarantool-queue';

async function worker() {
    let conn = new Tarantool({ port: 3301 });
    let q = new TarantoolQueue(conn, 'myQueue');
    
    async function processTask(t) {
        return new Promise((resolve, reject) => {
                q.ack(t[0][0]).then(resolve).catch(reject);
        });
    }
    
    try {
        let task;
        while (task = await q.take()) {
            await processTask(task);
        }
    } catch (err) {
        console.log('Error:', err);
    }
}

worker();
```

## Functions supported 
Please refer to Tarantool Queue module documentation using links in the list. 
Every function returns a Promise which resolves with data from Tarantool or rejects with error message.
- [create_tube](https://github.com/tarantool/queue#creating-a-new-queue "create_tube")(type = 'fifo', temporary = true)
- [drop](https://github.com/tarantool/queue#dropping-a-queue "drop")()
- [put](https://github.com/tarantool/queue#putting-a-task-in-a-queue "put")(taskData, options)
- [take](https://github.com/tarantool/queue#taking-a-task-from-the-queue-consuming "take")(timeout)
- [touch](https://github.com/tarantool/queue#increasing-ttr-andor-ttl-for-tasks "touch")(taskId, increment)
- [ack](https://github.com/tarantool/queue#acknowledging-the-completion-of-a-task "ack")(taskId)
- [release](https://github.com/tarantool/queue#releasing-a-task "release")(taskId, options)
- [peek](https://github.com/tarantool/queue#peeking-at-a-task "peek")(taskId)
- [bury](https://github.com/tarantool/queue#burying-a-task "bury")(taskId)
- [kick](https://github.com/tarantool/queue#kicking-a-number-of-tasks "kick")(count)
- [delete](https://github.com/tarantool/queue#deleting-a-task "delete")(taskId)
- [statistics](https://github.com/tarantool/queue#getting-statistics "statistics")()

and extra function: 
- getAll() – select all items from queue
npm package: @stepfinance/prettier-config
Description: Step Finance's Prettier configuration
Author: Edward Bramanti
Latest version: 1.0.0

# `@stepfinance/prettier-config`

[![npm version](https://badge.fury.io/js/@stepfinance/prettier-config.svg)](https://badge.fury.io/js/@stepfinance/prettier-config)

This packages provides Step Finance's [Prettier](https://prettier.io) configuration that we use for linting our projects.

## Install

```sh
yarn add --dev @stepfinance/prettier-config prettier
```

## Usage

Enable the Prettier configuration by updating the project's `package.json` with the following:

```json
{
  "prettier": "@stepfinance/prettier-config"
}
```

## Resources

- [Prettier docs](https://prettier.io/)
npm package: @stepfinance/solana-market-aggregator
Description: Aggregates token prices using CoinGecko and Serum Markets
Author: Step
Latest version: 1.17.7

<h1 align="center">
  <br>
   <img width="400" src="https://github.com/step-finance/solana-market-aggregator/blob/main/logo.svg?raw=true" alt="step logo"/>
  <br>
</h1>

# Solana Market Aggregator

## Running tests

```bash

yarn test

```

## Publishing a new version

```bash
yarn version
git push
git push --tags
npm publish
```
npm package: @stepfinance/step-api-sdk
Description: SDK for the Step API
Author: Step Finance
Latest version: 1.2.1

# Step API SDK

This SDK provides a simple and efficient way to interact with the Step API.

## Installation

Install the SDK using pnpm:

```bash
npm install @stepfinance/step-api-sdk
```

---

## Usage

### Initialize the Client

To start using the SDK, initialize the `StepAPIClient` with your API key:

```typescript
import { StepAPIClient } from ‘@stepfinance/step-api-sdk’

const API_KEY = "<your-key-here>";

// Insert an API key generated from your dashboard
const client = new StepAPIClient(API_KEY);
```

### Fetch Portfolio Data

Retrieve portfolio data for a specific wallet address:

```typescript
(async () => {
  try {
    const data = await client.getPortfolioData(address, {
      modules: "token,nft,liquidity",
    });

    console.log("Positions:", data);
  } catch (error) {
    console.error("Error fetching positions:", error);
  }
})();
```

## API Reference

See the [API Reference](https://api-docs.step.finance/api-reference/portfolio) for more information.

## Testing

Run the tests to ensure the SDK works as expected:

```bash
pnpm test
```
npm package: @stepfinance/step-swap
Description: Step Token Swap JavaScript API
Author: Step
Latest version: 1.1.1

<h1 align="center">
  <br>
   <img width="300" src="https://github.com/step-finance/solana-program-library/blob/master/token-swap/js/logo.svg?raw=true" alt="step logo"/>
  <br>
</h1>

# @stepfinance/step-swap

## Installation

```
yarn add @stepfinance/step-swap
```

## Usage

**Querying Step Pool Registry**

```ts
import {
  TokenSwap as StepTokenSwap,
  STEP_SWAP_OWNER,
  STEP_SWAP_PROGRAM_ID,
} from '@stepfinance/step-swap';

const poolRegistry = await StepTokenSwap.loadPoolRegistry(
  connection,
  STEP_SWAP_OWNER,
  STEP_SWAP_PROGRAM_ID,
);

const poolAccountAddresses = poolRegistry.accounts.slice(
  0,
  poolRegistry.registrySize,
);
```
npm package: @stepflow/editor
Description: 可基于浏览器运行的流程编排，利用json扩展自己的流程节点
Latest version: 0.1.39

# @stepflow/editor

[![NPM version](https://img.shields.io/npm/v/@stepflow/editor.svg?style=flat)](https://npmjs.org/package/@stepflow/editor)
[![NPM downloads](http://img.shields.io/npm/dm/@stepflow/editor.svg?style=flat)](https://npmjs.org/package/@stepflow/editor)

基于json的可扩展逻辑编排

## Usage

import { Editor } from '@stepflow/editor';

export default () => <Editor />;

## Development

```bash
# install dependencies
$ yarn install

# develop library by docs demo
$ yarn start

# build library source code
$ yarn run build

# build library source code in watch mode
$ yarn run build:watch

# build docs
$ yarn run docs:build

# check your project for potential problems
$ yarn run doctor
```

## LICENSE

MIT
npm package: @stepfun/n8n-nodes-stepfun-integration
Description: n8n community node: Stepfun.ai TTS (text-to-speech)
Author: Owen Shen
Latest version: 2.0.0

# Stepfun.ai TTS for n8n

`@stepfun/n8n-nodes-stepfun-integration` 是一个 n8n 社区节点，用于在 n8n 中调用 Stepfun.ai 文本转语音（TTS）能力。

- NPM: https://www.npmjs.com/package/@stepfun/n8n-nodes-stepfun-integration
- GitHub: https://github.com/owenshen0907/n8n-node-stepfun

## 功能说明

- 将文本转换为语音音频
- 支持输出格式：`mp3`、`opus`、`aac`、`flac`、`wav`、`pcm`
- 默认返回临时文件 URL，更方便在 n8n 下游节点中直接使用

## 安装方式

### 1) Self-Hosted：Community Nodes（推荐）

1. 在工作流编辑器点击 `+` 添加节点。
2. 进入 `Settings` -> `Community Nodes`。
3. 输入包名：`@stepfun/n8n-nodes-stepfun-integration` 并安装。
4. 重启 n8n。
5. 在节点搜索中输入 `Stepfun` 或 `TTS` 使用节点。

### 2) 手动 npm 安装（`~/.n8n/nodes`）

```bash
mkdir -p ~/.n8n/nodes
cd ~/.n8n/nodes
npm init -y
npm install @stepfun/n8n-nodes-stepfun-integration
```

安装后重启 n8n。

### 3) 本地开发调试（`~/.n8n/custom`）

适合开发阶段验证本地代码，不依赖 npm 最新发布版本。

```bash
# 在本仓库中
npm install
npm run build

mkdir -p ~/.n8n/custom
cp package.json ~/.n8n/custom/
rm -rf ~/.n8n/custom/dist
cp -r dist ~/.n8n/custom/
```

然后重启 n8n。

也可以使用仓库脚本一键部署并启动本地 n8n 开发环境：

```bash
bash ./scripts/deploy-and-start.sh /path/to/n8n
```

### 4) Docker / Compose 安装

确保 n8n 数据目录已挂载：

```yaml
services:
  n8n:
    image: n8nio/n8n:latest
    volumes:
      - ~/.n8n:/home/node/.n8n
```

在宿主机执行：

```bash
# 方式 A：安装 npm 包
mkdir -p ~/.n8n/nodes
cd ~/.n8n/nodes
npm init -y
npm install @stepfun/n8n-nodes-stepfun-integration
```

然后重启容器。

如果要测试本地开发代码（非 npm 包），请改为把本仓库 `dist` 同步到 `~/.n8n/custom/dist`，再重启容器。

## 发布 npm 后如何生效

- `npm publish` 只会发布新版本，不会让已安装的 n8n 实例自动更新。
- 已安装实例需要手动更新后再重启 n8n。
- 使用 `~/.n8n/custom` 的本地开发模式时，n8n 读取的是你本地 `dist`，与 npm 上的新版本无关。

手动更新示例：

```bash
cd ~/.n8n/nodes
npm update @stepfun/n8n-nodes-stepfun-integration
```

更新后重启 n8n。

## 凭证配置

1. 在 n8n 中进入 `Credentials`。
2. 新建 `Stepfun AI API Key`。
3. 填写以下参数：
   - `API Key`: 你的 Stepfun API Key（https://platform.stepfun.ai/interface-key）
   - `Base URL`: `https://api.stepfun.ai/v1`
4. 保存凭证。

## 节点参数

- `Text`: 需要转换的文本内容
- `Voice`: 音色
- `Model`: 模型（默认 `step-tts-2`）
- `Output Format`: 返回文件的音频格式

## 输出说明

节点会输出：

- `json`: 本次请求的参数信息
- `json.created`: 创建时间
- `json.audioUrl`: 接口返回的 `data.url`，为含签名的临时文件 URL（有效期 12 小时）

你可以将 `json.audioUrl` 直接传给 HTTP、下载、数据库、消息通知等下游节点。

## 常见问题

### 节点安装后看不到

- 确认已重启 n8n
- 确认安装包名为 `@stepfun/n8n-nodes-stepfun-integration`
- 在节点搜索中使用 `Stepfun` 或 `TTS`

### 本地改了代码但不生效

- 确认已执行 `npm run build`
- 确认已把 `dist` 复制到 `~/.n8n/custom/dist`
- 确认重启了 n8n（或重启容器）

### 发布 npm 后线上实例没变化

- `npm publish` 不会自动更新已有安装
- 需要在实例里执行更新（GUI 或 `npm update`）
- 更新后需要重启 n8n

### 凭证验证失败

- 检查 `API Key` 是否有效
- 检查 `Base URL` 是否为 `https://api.stepfun.ai/v1`
- 检查服务器是否可访问外网

## 许可证

MIT
npm package: @stepfun/n8n-stepfun-integration
Description: n8n community node: Stepfun.ai TTS (text-to-speech)
Author: Owen Shen
Latest version: 1.0.2

# Stepfun.ai TTS for n8n

`@stepfun/n8n-stepfun-integration` 是一个 n8n 社区节点，用于在 n8n 中调用 Stepfun.ai 文本转语音（TTS）能力。

- NPM: https://www.npmjs.com/package/@stepfun/n8n-stepfun-integration
- GitHub: https://github.com/owenshen0907/n8n-node-stepfun

## 功能说明

- 将文本转换为语音音频
- 支持输出格式：`mp3`、`aac`、`flac`、`wav`、`pcm`、`opus`
- 输出 `binary.audio`，可直接接入后续节点

## 安装方式

### n8n Public Cloud

1. 在工作流编辑器点击 `+` 添加节点。
2. 搜索 `Stepfun` 或 `TTS`。
3. 选择并安装 `Stepfun.ai TTS` 节点。

### Self-Hosted（推荐）

1. 进入 `Settings` -> `Community Nodes`。
2. 输入包名：`@stepfun/n8n-stepfun-integration`。
3. 安装后重启 n8n。
4. 在节点搜索中输入 `Stepfun` 或 `TTS` 使用节点。

### 手动 npm 安装（本地/服务器）

```bash
mkdir -p ~/.n8n/nodes
cd ~/.n8n/nodes
npm init -y
npm install @stepfun/n8n-stepfun-integration
```

安装后重启 n8n。

### Docker / Compose 安装

确保 n8n 数据目录已挂载：

```yaml
services:
  n8n:
    image: n8nio/n8n:latest
    volumes:
      - ~/.n8n:/home/node/.n8n
```

在宿主机执行：

```bash
mkdir -p ~/.n8n/nodes
cd ~/.n8n/nodes
npm init -y
npm install @stepfun/n8n-stepfun-integration
```

然后重启容器。

## 凭证配置

1. 在 n8n 中进入 `Credentials`。
2. 新建 `Stepfun AI API Key`。
3. 填写以下参数：
   - `API Key`: 你的 Stepfun API Key（https://platform.stepfun.ai/interface-key）
   - `Base URL`: `https://api.stepfun.ai/v1`
4. 保存凭证。

## 节点参数

- `Text`: 需要转换的文本内容
- `Voice`: 音色
- `Model`: 模型（默认 `step-tts-2`）
- `Output Format`: 音频格式

## 输出说明

节点会输出：

- `json`: 本次请求的参数信息
- `binary.audio`: 生成的音频文件

你可以将 `binary.audio` 连接到邮件、存储、HTTP 上传等后续节点。

## 常见问题

### 节点安装后看不到

- 确认已重启 n8n
- 确认安装包名为 `@stepfun/n8n-stepfun-integration`
- 在节点搜索中使用 `Stepfun` 或 `TTS`

### 凭证验证失败

- 检查 `API Key` 是否有效
- 检查 `Base URL` 是否为 `https://api.stepfun.ai/v1`
- 检查服务器是否可访问外网

## 许可证

MIT