open-index/open-npm huggingface dataset:
npm package: @samirrayani/metascraper-price
Description: Get price property from HTML markup
Author: Samir Rayani
Latest version: 1.2.6
Deprecated: WARNING: This project has been renamed to @samirrayani/metascraper-shopping. Install using @samirrayani/metascraper-shopping instead.

# metascraper-price

[![npm](https://img.shields.io/npm/v/@samirrayani/metascraper-price.svg?style=flat-square)](https://www.npmjs.com/package/@samirrayani/metascraper-price)
[![Dependency Status](https://david-dm.org/samirrayani/metascraper-price.svg?style=flat-square)](https://david-dm.org/samirrayani/metascraper-price)

> A custom rule bundle for [@microlinkhq/metascraper](https://github.com/microlinkhq/metascraper) to get the price property from HTML markup.

## Install

```bash
$ npm install @samirrayani/metascraper-price --save
```

## Usage

```javascript
'use strict'

const metascraper = require('metascraper')([
  require('metascraper-title')(),
  require('metascraper-image')(),
  require('metascraper-url')(),
  require('@samirrayani/metascraper-price')()
]);
const got = require('got');

const targetUrl = '<an URL from any e-commerce website>';
const { body: html, url } = await got(targetUrl);
const metadata = await metascraper({ html, url });
console.log(metadata);
/*
metadata: {
  title:  [String]
  image:  [String]
  url:    [String]
  price:  [Float|null]
}
*/
```

## License

**@samirrayani/metascraper-price** © 2019 Samir Rayani, Released under the [MIT](https://github.com/samirrayani/metascraper-price/blob/master/LICENSE.md) License.
npm package: @samirrayani/metascraper-shopping
Description: Get product information from HTML markup on merchant websites
Author: Samir Rayani
Latest version: 1.4.22

# metascraper-shopping

[![npm](https://img.shields.io/npm/v/@samirrayani/metascraper-shopping.svg?style=flat-square)](https://www.npmjs.com/package/@samirrayani/metascraper-shopping)
[![Dependency Status](https://david-dm.org/samirrayani/metascraper-shopping.svg?style=flat-square)](https://david-dm.org/samirrayani/metascraper-shopping)

> A custom rule bundle for [@microlinkhq/metascraper](https://github.com/microlinkhq/metascraper) to get product information from HTML markup on merchant websites

## Install

```bash
$ npm install @samirrayani/metascraper-shopping --save
```

## Usage

```javascript
'use strict'

const metascraper = require('metascraper')([
  require('@samirrayani/metascraper-shopping')(),
  require('metascraper-title')(),
  require('metascraper-image')(),
  require('metascraper-url')()
]);
const got = require('got');

const goShopping = async () => {
  const targetUrl = '<an URL from any e-commerce website>';
  const { body: html, url } = await got(targetUrl);
  const metadata = await metascraper({ html, url });
  console.log(metadata);
};

goShopping();

/*
metadata: {
  title:        [String]
  image:        [String]
  url:          [String]
  price:        [Float]
  currency:     [String]
  condition:    [String]
  sku:          [String]
  mpn:          [String]
  availability: [String]
  asin:         [String]
}
*/
```

## License

**@samirrayani/metascraper-shopping** © 2019 Samir Rayani, Released under the [MIT](https://github.com/samirrayani/metascraper-shopping/blob/master/LICENSE.md) License.
npm package: @samisdat/wtal-panorama
Description: Wuppertal panorama with realistic astronomical sun and moon animations
Author: Bastian Pertz
Latest version: 0.0.1

# @samisdat/wtal-panorama

A React component that displays an animated Wuppertal panorama with realistic astronomical sun and moon movements based on real-time calculations.

## Features

- 🌅 **Realistic Astronomy**: Uses [SunCalc](https://github.com/mourner/suncalc) for accurate sunrise, sunset, and twilight times
- 📍 **Location-Based**: Calculated for Wuppertal, Germany (51.2562°N, 7.1508°E)
- 🌓 **Seasonal Variation**: Automatically adapts to seasons (longer summer days, shorter winter days)
- ⏰ **Time Control**: Adjustable time factor for faster/slower animations
- 🎨 **SVG-Based**: Smooth, scalable vector graphics
- ⚡ **Next.js Ready**: Built for React and Next.js applications

## Installation

```bash
npm install @samisdat/wtal-panorama
```

## Usage

### Basic Usage

```tsx
import { WtalPanorama } from '@samisdat/wtal-panorama';

export default function App() {
  return (
    <div>
      <WtalPanorama />
    </div>
  );
}
```

### Advanced Usage (with TalProvider)

If you want to use the panorama with custom controls or access to the time context:

```tsx
import { TalProvider, Panorama } from '@samisdat/wtal-panorama';

export default function App() {
  return (
    <TalProvider>
      <Panorama />
      {/* Add your custom controls here */}
    </TalProvider>
  );
}
```

## How It Works

The panorama uses:
- **SunCalc** to calculate precise sunrise and sunset times for Wuppertal
- **React State** to animate the sun and moon positions along a defined SVG path
- **TalContext** (Time Acceleration Layer) to control simulation speed
- Automatic transitions between day/night with realistic dawn and dusk phases

### Time Calculations

- Day period: Sunrise to Sunset (variable based on season)
- Night period: Sunset to Sunrise (next day)
- Twilight transitions: Using astronomical dawn/dusk calculations
- Position calculation: Linear interpolation along SVG path based on time progress

## Dependencies

- React >= 18.0.0
- Next.js >= 14.0.0
- SunCalc ^1.9.0

## License

MIT

## Repository

[https://github.com/Samisdat/wtal-panorama](https://github.com/Samisdat/wtal-panorama)
npm package: @samislam/prettier-config
Description: A custom Prettier configuration for consistent code formatting across projects.
Author: Islam Yamor
Latest version: 2.0.1

# @samislam/prettier-config

A custom Prettier configuration for consistent code formatting across projects.

## Installation

To install `samislamPrettierConfig` as a dependency in your project, run:

```sh
$ npm install --save-dev --save-exact @samislam/prettier-config prettier@3.7.3 @homer0/prettier-plugin-jsdoc prettier-plugin-tailwindcss
```

Or if you're using Yarn:

```sh
$ yarn add --dev --exact @samislam/prettier-config prettier@3.7.3 @homer0/prettier-plugin-jsdoc prettier-plugin-tailwindcss
```

Or with pnpm:

```sh
$ pnpm add -D -E @samislam/prettier-config prettier@3.7.3 @homer0/prettier-plugin-jsdoc prettier-plugin-tailwindcss
```

Or with bun:

```sh
$ bun add -D -E @samislam/prettier-config prettier@3.7.3 @homer0/prettier-plugin-jsdoc prettier-plugin-tailwindcss
```

# Usage

To use this Prettier configuration, add the following line in your project's package.json:

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

Or, you can create a .prettierrc.js file in the root of your project with:

```js
module.exports = require('@samislam/prettier-config')
```

# Available configurations:

**default configuration**

- **Semi-colons:** Disabled (semi: false)
- **Tab Width:** 2 spaces (tabWidth: 2).
- **Print Width:** 100 characters (printWidth: 100).
- **Single Quotes:** Enabled (singleQuote: true).
- **Trailing Commas:** Enabled for ES5-compatible features (trailingComma: "es5").
- **JSdoc Plugin:** Integrates @homer0/prettier-plugin-jsdoc for formatting JSDoc comments.

**nextjs/react configuration**

- same as the default configurations.
- integrations with the `prettier-plugin-tailwindcss` plugin to automatically sort tailwindcss classes.

You can use this configuration by including it in your package.json as follows:

```json
{
  "prettier": "@samislam/prettier-config/next.js"
}
```

Or if you're using `.prettierrc.js` you can directly import it:

```js
module.exports = require('@samislam/prettier-config/next')
```

# License

MIT
npm package: @samjeffress/aws-lambda-brotli-unpacker
Description: Unpacks large Lambda binaries to /tmp
Author: Vlad Holubiev
Latest version: 1.0.0-beta

# aws-lambda-brotli-unpacker ![](https://img.shields.io/badge/code_style-prettier-ff69b4.svg)

> Unpacks large Lambda binaries to /tmp, such as Tesseract, LibreOffice, Google Chrome, etc

Inspired by [chrome-aws-lambda](https://github.com/alixaxel/chrome-aws-lambda)

Used in projects: [aws-lambda-tesseract](https://github.com/shelfio/aws-lambda-tesseract)

## Install

```
$ yarn add @shelf/aws-lambda-brotli-unpacker
```

## Usage

> Q: Why do I need this package?

A: It helps if you want to deploy pre-compiled software to use in Lambda. See list of projects where it is used above.

> Q: Why bother?

A: Lambda environment has limited software installed. This package helps ship large binaries compiled for Lambda
which unpack to `/tmp` folder when Lambda starts.

> Q: Why `/tmp`?

A: Lambda has [500 MB of storage](https://docs.aws.amazon.com/lambda/latest/dg/running-lambda-code.html) in `/tmp`

> Q: Why brotli?

A: This compression algorithm is known for great speed/size ration. Perfect for scarce Lambda resources.

## Example

```js
const {unpack} = require('@shelf/aws-lambda-brotli-unpacker');
const {execSync} = require('child_process');

const inputPath = path.join(__dirname, '..', 'bin', 'tt.tar.br'); // for example, tesseract
const outputPath = '/tmp/tesseract/tesseract';

module.exports.handler = async event => {
  await unpack({inputPath, outputPath});

  execSync(`${outputPath} -l eng image.png`);
};
```

## License

MIT © [Shelf](https://shelf.io)
npm package: @samjody/claude-auth
Description: Claude Auth Tool
Author: samjody
Latest version: 1.0.13

# Claude Auth - Claude Code 代理解决方案

即刻体验官方最新版 Claude Code，无需等待更新！透明代理技术让您始终使用最新功能。

## 核心优势

- 🚀 **即刻使用最新版**: 透明代理技术，自动适配官方 Claude Code 最新版本
- 🔄 **完全透明**: 原版客户端体验，无需任何修改或配置
- 🌐 **企业级代理**: 解决网络访问问题，稳定可靠的服务保障
- 🎫 **兑换券系统**: 灵活的计费方式，按需使用，成本可控
- 🔒 **安全沙盒**: macOS 沙盒模式，保护您的文件系统安全
- 📊 **使用统计**: 实时追踪使用情况，透明计费
- 🛡️ **零侵入设计**: 保持原版功能完整性，享受所有官方特性

## 快速开始

### 1. 获取兑换券

请联系我们的销售团队获取专属兑换券。兑换券包含：
- 客户端认证 Token
- 使用额度和有效期
- 专属技术支持

### 2. 安装客户端

```bash
# 安装官方客户端 (如已安装请跳过此步骤)
npm install -g @anthropic-ai/claude-code --registry=https://registry.npmmirror.com

# 安装我们的客户端
npm install -g @samjody/claude-auth --registry=https://registry.npmmirror.com
```

### 3. 使用启动

```bash
# 启动 Claude Code
claude-auth
```

### 查看帮助

```bash
claude-auth -h
```

### 沙盒模式

默认情况下，claude-auth 在 macOS 上会启用沙盒模式，限制程序只能访问当前工作目录：(在此模式下 会自动执行Bypassing授权 无需每次确认Claude Code操作)

```bash
# 默认启用沙盒模式
claude-auth

# 禁用沙盒模式
claude-auth --no-sandbox

# 或通过环境变量禁用
CLAUDE_NO_SANDBOX=1 claude-auth
```

**注意**：沙盒模式仅在 macOS 上可用，其他系统会自动跳过。

## 配置选项

### 命令行参数

- `--no-sandbox`: 禁用沙盒模式（默认启用）
- `--help`, `-h`: 显示帮助信息

### 环境变量

| 变量名                   | 说明                                    | 默认值                   |
| ------------------------ | --------------------------------------- | ----------------------- |
| `CLAUDE_CLIENT_TOKEN`    | 兑换券 Token（必需）                    | 无                      |
| `LOG_LEVEL`              | 日志级别：`error`/`warn`/`info`/`debug` | `warn`                  |
| `CLAUDE_EXECUTABLE`      | claude 可执行文件路径                   | `claude`                |
| `CLAUDE_NO_SANDBOX`      | 设置为 `1` 禁用沙盒模式                 | 无（默认启用）          |


## 兑换券说明

### 兑换券包含内容

- **使用额度**: 根据套餐不同，包含不同的使用额度
- **有效期**: 兑换券激活后的有效使用期限
- **技术支持**: 专属技术支持渠道

### 使用统计

- 实时查看剩余额度
- 详细的使用记录
- 成本分析报告

## 日志输出

根据日志级别设置，会输出不同详细程度的信息：

### 日志级别

- **error**: 只显示错误信息
- **warn**: 显示警告和错误（默认）
- **info**: 显示一般信息、警告和错误
- **debug**: 显示所有信息，包括详细调试信息

### 日志内容

- 🚀 启动信息和配置
- 🔑 令牌获取和刷新状态
- ⚠️ 鉴权错误和重试信息
- ✅ 操作成功状态
- ❌ 错误信息

## 故障排查

### 常见问题

1. **兑换券无效**
   - 确认兑换券 Token 输入正确
   - 检查兑换券是否在有效期内
   - 联系技术支持验证兑换券状态

2. **连接问题**
   - 检查网络连接状态
   - 确认防火墙设置允许访问
   - 尝试重启客户端

3. **使用问题**
   - 查看日志输出了解详细信息
   - 联系技术支持获取帮助