open-index/open-npm huggingface dataset:
npm package: @solislab/postcss-type
Description: PostCSS plugin to support responsive typography shorthands.
Author: Solis Lab
Latest version: 1.2.0

# PostCSS Typography [![Build Status][ci-img]][ci]

[PostCSS] plugin to support responsive typography shorthands..

[PostCSS]: https://github.com/postcss/postcss
[ci-img]:  https://travis-ci.org/solis-lab/postcss-type.svg
[ci]:      https://travis-ci.org/solis-lab/postcss-type

Input: 

```css
@custom-media --mobile-m (min-width: 420px);
@custom-media --mobile-l (min-width: 600px);
@custom-media --tablet (min-width: 768px);
@custom-media --tablet-l (min-width: 1024px);
@custom-media --desktop (min-width: 1280px);
@custom-media --desktop-l (min-width: 1440px);

.foo {
  /*
   * You can omit media query parameter.
   *
   * Line-height pixel values will be converted into unit-less ratio
   * relative to font-size.
   *
   * Letter-spacing pixel values will be converted into `em`.
   * 
   * If you specify a rootSize option in pixel unit, font-size will
   * be converted into `rem`.
   */
  @type 10px 15px 1px;
  
  /* You can omit font-size or line-height by using `/`. */ 
  @type --mobile-m 12px / 0;
  
  /*
   * When you omit font-size, it is on you to provide your preferred unit
   * for line-height and letter-spacing.
   */
  @type --desktop / 1.875 0.01em;
}
```

Output:

```css

@custom-media --mobile-m (min-width: 420px);
@custom-media --mobile-l (min-width: 600px);
@custom-media --tablet (min-width: 768px);
@custom-media --tablet-l (min-width: 1024px);
@custom-media --desktop (min-width: 1280px);
@custom-media --desktop-l (min-width: 1440px);

.foo {
  /* `@type 10px 15px 1px;` */
  font-size: 10px 1.5 0.1em;
  
  /* or in case `@type 10px 15px 1px;` with rootSize: 16px */
  font-size: 0.615rem 1.5 0.1em;
  
  /* `@type --mobile-m 12px / 0;` */
  @media (--mobile-m) {
    font-size: 12px;
    letter-spacing: 0;
  }

  /* @type --desktop / 1.875 0.01em; */
  @media (--desktop) {
    line-height: 1.875;
    letter-spacing: 0.01em; 
  }
}
```

## Usage

Because this plugin relies on [custom media queries](http://cssnext.io/features/#custom-media-queries), you are recommended to run it before `postcss-cssnext` or `postcss-custom-media`

```js
postcss([ require('postcss-type')({rootSize: '16px'}), require('postcss-custom-media') ])
```

See [PostCSS] docs for examples for your environment.
npm package: @solislab/selene
Description: Barebone Vue 3 UI components for web projects with primary focus on composition.
Author: Solis Lab
Latest version: 0.2.10

# Selene
Vue 3 base components

[Demo](https://solis-lab-selene.netlify.app/)

## Project setup
```
npm ci
```

### Compiles and hot-reloads for development
```
npm run start
```

### Compiles and minifies for production
```
npm run build
```

### Compiles and minifies for example
```
npm run build:example
```

### Lints and fixes files
```
npm run lint
```

### Customize configuration
See [Configuration Reference](https://cli.vuejs.org/config/).
npm package: @solitango/rehype-chinese-punctuation-compression
Description: A rehype plugin for Chinese punctuation compression in traditional Chinese typography
Author: solitango
Latest version: 1.1.0

# rehype-chinese-punctuation-compression

rehype-chinese-punctuation-compression 是一個用於實現標點擠壓的 rehype 插件。本插件會掃描 HTML AST 中所有 Text 節點，並用 `compressed-punctuation` 這一 class 標注其中需要擠壓之標點。

本項目支持繁體中文和簡體中文，並使用 [MIT 授權協議](https://github.com/solitango/rehype-chinese-punctuation-compression/blob/main/LICENSE) 共享代碼。

## 何謂標點擠壓？

在中文排版中，有時會出現連續使用標點符號之情況，標點擠壓即縮減特定連續標點之間的間距，使其排版上更加美觀之行為。

以下是開啓標點擠壓與否之效果對比圖：

![Example Without Punctuation Compression](/screenshots/example_without_pc.png?raw=true)

![Example With Punctuation Compression](/screenshots/example_with_pc.png?raw=true)

## 使用方法

以 pnpm 為例，首先需要安裝本插件：

```bash
pnpm add @solitango/rehype-chinese-punctuation-compression
```

可以如此使用 unified 處理 AST：

```typescript
import { unified } from 'unified';
import rehypeParse from 'rehype-parse';
import rehypeStringify from 'rehype-stringify';
import rehypeChinesePunctuationCompression from '@solitango/rehype-chinese-punctuation-compression';

const processor = unified()
  .use(rehypeParse)
  .use(rehypeChinesePunctuationCompression)
  .use(rehypeStringify);

const html = '<p>她最近在讀《紅樓夢》。</p>';
const result = await processor.process(html);

console.log(result.toString());
// 輸出：<p>她最近在讀《紅樓夢<span class="compressed-punctuation">》</span>。</p>
```

## 配置選項

本插件支援以 `script` 選項選擇文字系統，只需如此傳入參數即可：

```typescript
const processor = unified()
  .use(rehypeParse)
  .use(rehypeChinesePunctuationCompression, { script: 'simplified' })
  .use(rehypeStringify);
```

該配置項有兩個 `'traditional'` 和 `'simplified'` 兩個合法值，未選擇則自動回落至繁體中文。

## 在其他項目中使用

也可以在支援 rehype 插件之項目（如 [Astro](https://github.com/withastro/astro)）中使用本插件：

```javascript
// @ts-check
import { defineConfig } from 'astro/config';

import rehypeChinesePunctuationCompression from '@solitango/rehype-chinese-punctuation-compression';

// https://astro.build/config
export default defineConfig({
  /* ... */
  markdown: {
    rehypePlugins: [rehypeChinesePunctuationCompression],
  },
});
```

## 樣式設定

在實際展示時，需要手動添加以下樣式來擠壓標點：

```css
.compressed-punctuation {
  font-feature-settings: 'halt';
}
```

## 鳴謝

感謝以下項目／文章提供之啓發：

- [漢字標準格式](https://github.com/ethantw/Han)
- [Requirements for Chinese Text Layout
  中文排版需求](https://www.w3.org/TR/clreq/)
- [自动处理网页里的全角引号和标点挤压](https://archive.casouri.cc/note/2021/full-width-quote/index.html)
npm package: @solitary-cheng/co-pump-sdk
Description: Community-enhanced Pumpfun SDK for Solana
Author: pump-fun & SolitaryCheng
Latest version: 1.3.12

# Co-Pump SDK

[![npm version](https://img.shields.io/npm/v/@solitary-cheng/co-pump-sdk.svg)](https://www.npmjs.com/package/@solitary-cheng/co-pump-sdk)
[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)

Community-enhanced Pumpfun SDK for Solana.

> 该社区版本对官方库进行了优化，修复了已知问题，并提供了完整的使用文档。

## Features

- 完整支持 Pump Buy 操作
- 集成 Pump Swap 功能
- 优化的性能和可靠性
- 详细的使用示例和文档

## Installation

```bash
npm install @solitary-cheng/co-pump-sdk
```

## Usage

### Pump Buy

购买代币时，您可以使用以下示例代码：

```typescript
import * as web3 from '@solana/web3.js';
import { 
  PumpSdk, 
  getBuyTokenAmountFromSolAmount,
  getBuySolAmountFromTokenAmount,
  getSellSolAmountFromTokenAmount
} from "@solitary-cheng/co-pump-sdk";

// 初始化 SDK
const pumpSdk = new PumpSdk(RPC_CONNECTION);

// 获取全局参数
const global = await pumpSdk.fetchGlobal();

// 设置代币铸造地址
const mint = new web3.PublicKey(MINT_ADDRESS);

// 获取绑定曲线信息
const bondingCurve = await pumpSdk.fetchBondingCurve(mint);

// 设置订单金额（以 SOL 计算）
const orderAmount = new BN(1 * web3.LAMPORTS_PER_SOL);

// 计算可获得的代币数量
const orderAmountToken = getBuyTokenAmountFromSolAmount(
  global, 
  bondingCurve, 
  orderAmount, 
  false
);

// 创建购买指令
const ixs = await pumpSdk.buyInstructions(
  global, 
  null, 
  bondingCurve, 
  mint, 
  keypair.publicKey, 
  orderAmountToken, 
  orderAmount, 
  maxSlippage,
  bondingCurve.creator
);
```

### Pump Swap

进行代币交换时，可参考以下代码：

```typescript
import * as web3 from '@solana/web3.js';
import { poolPda, PumpAmmSdk, pumpPoolAuthorityPda } from "@pump-fun/pump-swap-sdk";

// 初始化 Swap SDK
const pumpAmmSdk = new PumpAmmSdk(RPC_CONNECTION);

// 设置代币铸造地址
const mint = new web3.PublicKey(MINT_ADDRESS);
const quoteMint = new web3.PublicKey(WRAPPED_SOL_ADDRESS);

// 获取池权限和池 ID
const poolAuthority = pumpPoolAuthorityPda(mint);
const id = poolPda(0, poolAuthority[0], mint, quoteMint);
const pool = id[0];

// 设置订单金额（以 SOL 计算）
const orderAmount = new BN(1 * web3.LAMPORTS_PER_SOL);

// 计算可交换的代币数量
const orderAmountToken = await pumpAmmSdk.swapAutocompleteBaseFromQuote(
  pool,
  orderAmount,
  maxSlippage,
  "quoteToBase"
);

// 创建交换指令
const ixs = await pumpAmmSdk.swapBaseInstructions(
  pool,
  orderAmountToken,
  maxSlippage,
  "quoteToBase",
  keypair.publicKey,
);
```

## API 参考

请参考源代码中的类型定义和函数注释获取详细的 API 信息。

## 贡献指南

欢迎提交问题和改进建议！请通过 GitHub issues 或 pull requests 参与项目。

## 许可证

MIT

---

Powered by [Rustradex.com](https://rustradex.com)
npm package: @solithix/optimize
Description: Solithix Optimizers — Interactive CLI for optimizing GIFs, videos, and images for the web
Author: Solithix
Latest version: 1.0.0

# @solithix/optimize

Interactive CLI for optimizing GIFs, videos, and images for the web.

## Install

```bash
npx @solithix/optimize
```

Or install globally:

```bash
npm install -g @solithix/optimize
```

## What it does

A step-by-step wizard that walks you through:

1. **Dependency check** -- verifies ffmpeg is available
2. **File selection** -- scans for media files (videos, images, GIFs)
3. **Options** -- pick quality presets, output formats, and resolution
4. **Processing** -- optimizes files with progress tracking
5. **Summary** -- shows results with file size savings

### Supported formats

| Type | Input | Output |
|------|-------|--------|
| Video | MP4, MOV, AVI, MKV, WebM | H.264 MP4, VP9 WebM |
| Image | JPEG, PNG, WebP, TIFF, AVIF | WebP, JPEG, PNG |
| GIF | GIF | Optimized GIF, MP4, WebM |

### Features

- CRF-based quality control for videos
- Resolution scaling (1080p, 720p, 480p)
- WebP conversion with quality presets for images
- Srcset generation for responsive images
- GIF optimization via palette-based encoding
- Poster frame extraction from videos
- Web-safe filename sanitization

## Requirements

- Node.js >= 18
- ffmpeg (bundled fallback included via `@ffmpeg-installer/ffmpeg`)

## License

MIT
npm package: @soliton/com-met
Description: this is common function methods
Author: soliton
Latest version: 1.0.4

<!--
 * @Author: your name
 * @Date: 2021-11-20 10:09:03
 * @LastEditTime: 2021-11-21 14:09:57
 * @LastEditors: Please set LastEditors
 * @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 * @FilePath: /Com-met/README.md
-->
# Com-met ![image](https://img.shields.io/github/issues/OK-zxl/Com-met?style=plastic)
**com-met.js** 
This is common function methods

**install**
```js
npm install @soliton/com-met
```
**import**
```js
import { getDayDiff } from '@soliton/com-met'
```
npm package: @soliveira/serverless-http-restify
Description: combine serverless-http and restify to build api's on aws infrastructure
Author: dries de rudder
Latest version: 1.0.1

# serverless-http-restify

Use serverless-http (https://github.com/dougmoscrop/serverless-http) + restify (http://restify.com/) to build api's on aws infrastructure

## Important

Require this package, before requiring restify.

This is because restify modifies http.IncomingMessage and http.ServerResponse base classes. As serverless-http depends on their original implementation, we need to use them before restify modifies them.
npm package: @soliviorx/theme
Description: 简约风的 Vitepress 博客主题
Author: SoliviorX
Latest version: 0.1.2

# @soliviorx/theme

简约风的 Vitepress 博客主题，更多细节见 https://www.zjutshideshan.cn

## Quick Start

① 初始化项目模板

```sh
npx degit SoliviorX/vitepress-blog/packages/template my-blog-demo
```

② 安装依赖

```sh
pnpm install
```

③ 开发启动

```sh
pnpm dev
```

④ 构建产物

```sh
pnpm build
```

## Advanced Ssage

详细配置见文档 https://www.zjutshideshan.cn

## Known bugs and workarounds

- `zlib: unexpected end of file:` clearing the cache folder (rm -rf ~/.degit)

## Thanks

从以下项目中获得了灵感&经验

- [vuepress-reco/vuepress-theme-reco-1.x](https://github.com/vuepress-reco/vuepress-theme-reco-1.x)
- [@vue/theme](https://github.com/vuejs/theme)
- [vitest](https://vitest.dev/)
- [element-plus](https://github.com/element-plus/element-plus)
npm package: @sollective-jp/phosphor-icons-react-optimized
Description: A clean and friendly icon family for React but optimized
Author: Hugues Alexandre
Latest version: 2.1.7-f

This is a fork of @phosphor-icons/react with some optimizations.
Updates on this package are not guaranteed, if you are worried about not being able to see the last icons added to the core package, please do not use this package as we may not be able to use it. You can follow indications in the BUILD.md file if you want to create your own package if this one is not updated.

This fork removes some of the weights that are not used by Sollective to keep only: regular, fill and duotone.

This allows us to have components that are twice as light as the original package.