open-index/open-npm huggingface dataset:
npm package: @shishuaiyun/jstoolpack
Description: jstoolpack 是一个 javascript 工具库，提供了一些常用的函数和方法，可以方便的用于开发 js 应用。目前处于学习交流阶段。
Latest version: 1.0.8

# jstoolpack

jstoolpack 是一个 javascript 工具库，提供了一些常用的函数和方法，可以方便的用于开发 js 应用。目前处于学习交流阶段。

当前版本提供了如下的功能：

- 数组方法：range
- 字符串方法：truncate
- 函数方法：debounce

## 安装

可以使用 npm 或者 yarn 安装 jstoolpack

```bash
npm install @shishuaiyun/jstoolpack
```

或者

```bash
yarn add @shishuaiyun/jstoolpack
```



## 使用

在使用之前，需要先导入 jstoolpack

```js
import { range, truncate, debounce } from '@shishuaiyun/jstoolpack';
```

然后就可以使用这些方法了。下面是一些使用示例：

**range**
```js
range(0, 5); // [0, 1, 2, 3, 4]
range(1, 5); // [1, 2, 3, 4]
range(0, 5, 2); // [0, 2, 4]
```

**truncate**
```js
truncate('Hello, world!', 5); // 'He...'
truncate('Hello, world!', 8); // 'Hello...'
truncate('Hello, world!', 20); // 'Hello, world!'
```

**debounce**
```js
const fn = debounce(() => console.log('Hello, world!'), 1000);
fn(); // 不会立即执行
fn(); // 不会立即执行
fn(); // 不会立即执行
fn(); // 不会立即执行
// 1000 毫秒后，'Hello, world!' 只会被输出一次
```



## 贡献

如果您在使用 jstoolpack 时遇到了问题，或者有任何建议和想法，请随时在 GitHub 上提出问题或者发起 PR。



## 许可证

jstoolpack 遵循 MIT 许可证。详情请参阅 LICENSE 文件。
npm package: @shisongyan/ccsw
Description: Switch Claude Code API profiles from the command line.
Latest version: 0.4.0

# ccsw

`ccsw` is a small CLI for saving and switching Claude Code API profiles without manually editing `~/.claude/settings.json`.

It stores reusable profiles in `~/.claude/ccsw.json`, then writes the active profile into Claude Code's `env.ANTHROPIC_BASE_URL` and `env.ANTHROPIC_AUTH_TOKEN`.

## What It Does

- Save reusable Claude Code API profiles
- List saved profiles and show the active one
- Switch Claude Code to a saved profile by alias or index
- Delete profiles you no longer need
- Import an existing Claude Code API config into the saved list during `ccsw ls`

## Why

If you switch between different Claude-compatible providers or API gateways, manually editing Claude Code settings gets tedious and error-prone.

`ccsw` gives you a simple workflow:

- Save a profile once
- List saved profiles
- Activate one by alias or index
- Delete one when you no longer need it

## Install

```bash
pnpm add -g @shisongyan/ccsw
```

After installation, the command is:

```bash
ccsw
```

## Quick Start

Save a profile:

```bash
ccsw add
```

List saved profiles:

```bash
ccsw ls
```

If `/Users/ryan/.claude/settings.json` already contains a Claude Code API configuration, `ccsw ls` will import it into the profile list before printing the result.

Activate a profile:

```bash
ccsw use 1
```

## Commands

### `ccsw add`

Interactive prompt flow:

1. Enter `base-url`
2. Enter `auth-token`
3. Enter a unique `alias`

Example:

```bash
ccsw add
```

### `ccsw ls`

List all saved profiles with:

- 1-based index
- Alias
- Base URL
- Full auth token
- Active marker

Example:

```bash
ccsw ls
```

Example output:

```text
* 1. kimi | https://api.kimi.com/coding/ | sk-kimi-example
  2. openrouter | https://openrouter.ai/api/ | sk-or-example
```

### `ccsw use <alias-or-index>`

Activate a saved profile and write it into `~/.claude/settings.json`.

Examples:

```bash
ccsw use kimi
ccsw use 1
```

### `ccsw delete <alias-or-index>`

Delete a saved profile by alias or 1-based index.

Examples:

```bash
ccsw delete kimi
ccsw delete 2
```

## Files

- Profile store: `~/.claude/ccsw.json`
- Active Claude Code config: `~/.claude/settings.json`

`ccsw` only updates these fields in Claude settings:

- `env.ANTHROPIC_BASE_URL`
- `env.ANTHROPIC_AUTH_TOKEN`

All unrelated settings are preserved.

## Behavior Notes

- Aliases must be unique
- `add` saves a profile but does not activate it
- `use` updates Claude settings first, then marks the profile as active
- Deleting the active profile clears the active marker in `~/.claude/ccsw.json`
- Deleting a profile does not clear the currently written values in `~/.claude/settings.json`

## Development

```bash
pnpm install
pnpm test
pnpm build
```

## Publishing

This package is intended to publish to the official npm registry:

```bash
pnpm publish --registry=https://registry.npmjs.org/
```

If your machine uses a mirror registry by default, `publishConfig.registry` already points this package at the official npm registry.
npm package: @shitake/liquid-log
Description: Handle logs like liquid
Author: shitake233
Latest version: 0.1.0

# liquid-log - Handle logs like liquid

👩🏻‍💻 Developer Ready: `Liquid-log` is not a QOB(Qualitative Out-of-the-Box) 
Logger 
library

## Getting Started

## License

Licensed under the MIT. See the [LICENSE](https://github.com/molingyu/fluid/blob/main/LICENSE) file for details.
npm package: @shitcloud/micro
Description: ## Usage
Author: Henrik Næss
Latest version: 0.1.1

# Micro

## Usage

```javascript
const Micro = require("@shitcloud/micro");
const micro = new Micro("example");

micro.sub("topic", (ctx) => {
  console.log(ctx.params);
});

micro.pub("topic", { foo: "bar" });

micro.cmd("command", (ctx) => {
  console.log(ctx.params);

  ctx.reply("reply");
});

micro.call("command", { hello: "world" });
```
npm package: @shitcointeam/bsctestnet
Description: 🛠 An SDK for building applications on top of Pancakeswap.
Latest version: 2.4.3


> **Notice**
>
> Moved to https://github.com/pancakeswap/pancake-frontend/tree/develop/packages/swap-sdk

# Pancakeswap SDK

Forked from the [Uniswap SDK](https://github.com/Uniswap/uniswap-v2-sdk/commit/a88048e9c4198a5bdaea00883ca00c8c8e582605).

You can refer to the Uniswap SDK documentation [uniswap.org](https://docs.uniswap.org/sdk/2.0.0/).

## 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/pancakeswap/pancake-swap-sdk.git
```

Move into the pancakeswap-sdk working directory

```sh
cd pancakeswap-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: @shitcointeam/octopow
Description: 🛠 An SDK for building applications on top of OctoPow.
Latest version: 1.0.1


> **Notice**
>
> Moved to https://github.com/pancakeswap/pancake-frontend/tree/develop/packages/swap-sdk

# Pancakeswap SDK

Forked from the [Uniswap SDK](https://github.com/Uniswap/uniswap-v2-sdk/commit/a88048e9c4198a5bdaea00883ca00c8c8e582605).

You can refer to the Uniswap SDK documentation [uniswap.org](https://docs.uniswap.org/sdk/2.0.0/).

## 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/pancakeswap/pancake-swap-sdk.git
```

Move into the pancakeswap-sdk working directory

```sh
cd pancakeswap-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: @shitcointeam/powswap-sdk
Description: 🛠 An SDK for building applications on top of Pancakeswap.
Latest version: 2.4.3


> **Notice**
>
> Moved to https://github.com/pancakeswap/pancake-frontend/tree/develop/packages/swap-sdk

# Pancakeswap SDK

Forked from the [Uniswap SDK](https://github.com/Uniswap/uniswap-v2-sdk/commit/a88048e9c4198a5bdaea00883ca00c8c8e582605).

You can refer to the Uniswap SDK documentation [uniswap.org](https://docs.uniswap.org/sdk/2.0.0/).

## 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/pancakeswap/pancake-swap-sdk.git
```

Move into the pancakeswap-sdk working directory

```sh
cd pancakeswap-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: @shitcointeam/router-sdk
Description: An sdk for routing swaps using Uniswap v2 and Uniswap v3.
Latest version: 1.0.0

# Alpha software

The latest version of the SDK is used in production in the Uniswap Interface,
but it is considered Alpha software and may contain bugs or change significantly between patch versions.
If you have questions about how to use the SDK, please reach out in the `#dev-chat` channel of the Discord.
Pull requests welcome!

# Uniswap Swap Router SDK

This SDK is meant to facilitate interactions with the contracts in [swap-router-contracts](https://github.com/Uniswap/swap-router-contracts).
npm package: @shitcointeam/sdk
Description: 🛠 An SDK for building applications on top of all networks.
Latest version: 1.0.2


> **Notice**
>
> Moved to https://github.com/pancakeswap/pancake-frontend/tree/develop/packages/swap-sdk

# Pancakeswap SDK

Forked from the [Uniswap SDK](https://github.com/Uniswap/uniswap-v2-sdk/commit/a88048e9c4198a5bdaea00883ca00c8c8e582605).

You can refer to the Uniswap SDK documentation [uniswap.org](https://docs.uniswap.org/sdk/2.0.0/).

## 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/pancakeswap/pancake-swap-sdk.git
```

Move into the pancakeswap-sdk working directory

```sh
cd pancakeswap-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: @shitcointeam/sdk2
Description: 🛠 An SDK for building applications on top of all networks.
Latest version: 1.0.2

# Uniswap SDK Core

[![Unit Tests](https://github.com/Uniswap/uniswap-sdk-core/workflows/Unit%20Tests/badge.svg)](https://github.com/Uniswap/uniswap-sdk-core/actions?query=workflow%3A%22Unit+Tests%22)
[![Lint](https://github.com/Uniswap/uniswap-sdk-core/workflows/Lint/badge.svg)](https://github.com/Uniswap/uniswap-sdk-core/actions?query=workflow%3ALint)
[![npm version](https://img.shields.io/npm/v/@uniswap/sdk-core/latest.svg)](https://www.npmjs.com/package/@uniswap/sdk-core/v/latest)
[![npm bundle size (scoped version)](https://img.shields.io/bundlephobia/minzip/@uniswap/sdk-core/latest.svg)](https://bundlephobia.com/result?p=@uniswap/sdk-core@latest)

This code is shared across Uniswap TypeScript SDKs.
npm package: @shitcointeam/v2-sdk
Description: 🛠 An SDK for building applications on top of Uniswap V2
Latest version: 1.0.0

# Uniswap V2 SDK

[![Unit Tests](https://github.com/Uniswap/uniswap-v2-sdk/workflows/Unit%20Tests/badge.svg)](https://github.com/Uniswap/uniswap-v2-sdk/actions?query=workflow%3A%22Unit+Tests%22)
[![Lint](https://github.com/Uniswap/uniswap-v2-sdk/workflows/Lint/badge.svg)](https://github.com/Uniswap/uniswap-v2-sdk/actions?query=workflow%3ALint)
[![code style: prettier](https://img.shields.io/badge/code_style-prettier-ff69b4.svg?style=flat-square)](https://github.com/prettier/prettier)
[![npm version](https://img.shields.io/npm/v/@uniswap/v2-sdk/latest.svg)](https://www.npmjs.com/package/@uniswap/v2-sdk/v/latest)
[![npm bundle size (scoped version)](https://img.shields.io/bundlephobia/minzip/@uniswap/v2-sdk/latest.svg)](https://bundlephobia.com/result?p=@uniswap/v2-sdk@latest)

In-depth documentation on this SDK is available at [uniswap.org](https://uniswap.org/docs/v2/SDK/getting-started/).
npm package: @shitcointeam/v3-sdk
Description: ⚒️ An SDK for building applications on top of Uniswap V3
Latest version: 3.9.0

# Alpha software

The latest version of the SDK is used in production in the Uniswap Interface,
but it is considered Alpha software and may contain bugs or change significantly between patch versions.
If you have questions about how to use the SDK, please reach out in the `#dev-chat` channel of the Discord.
Pull requests welcome!

# Uniswap V3 SDK

[![Unit Tests](https://github.com/Uniswap/uniswap-v3-sdk/workflows/Unit%20Tests/badge.svg)](https://github.com/Uniswap/uniswap-v3-sdk/actions?query=workflow%3A%22Unit+Tests%22)
[![Lint](https://github.com/Uniswap/uniswap-v3-sdk/workflows/Lint/badge.svg)](https://github.com/Uniswap/uniswap-v3-sdk/actions?query=workflow%3ALint)
[![npm version](https://img.shields.io/npm/v/@uniswap/v3-sdk/latest.svg)](https://www.npmjs.com/package/@uniswap/v3-sdk/v/latest)
[![npm bundle size (scoped version)](https://img.shields.io/bundlephobia/minzip/@uniswap/v3-sdk/latest.svg)](https://bundlephobia.com/result?p=@uniswap/v3-sdk@latest)

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