open-index/open-npm huggingface dataset:
npm package: @neynar/eslint-plugin
Description: ESLint plugin with opinionated rules and configurations for Neynar's development standards
Author: Neynar Inc.
Latest version: 0.0.3

# @neynar/eslint-plugin

A comprehensive ESLint plugin providing opinionated rules and configurations for Neynar's development standards, specifically tailored for React and Next.js applications.

## Installation

```bash
npm install @neynar/eslint-plugin
# or
yarn add @neynar/eslint-plugin
```

## Usage

### Recommended Configuration

For the most comprehensive setup, use the recommended configuration:

```js
// eslint.config.js
import neynar from '@neynar/eslint-plugin';

export default [
  neynar.configs.recommended,
  // your other configs...
];
```

### Framework-Specific Configurations

#### React Projects

```js
// eslint.config.js
import neynar from '@neynar/eslint-plugin';

export default [
  neynar.configs.react,
  // your other configs...
];
```

#### Next.js Projects

```js
// eslint.config.js
import neynar from '@neynar/eslint-plugin';

export default [
  neynar.configs.next,
  // your other configs...
];
```

## Available Rules

### `@neynar/no-process-env`

Prevents direct usage of `process.env` variables, encouraging the use of environment variable validation and configuration patterns.

```js
// ❌ Bad
const apiKey = process.env.API_KEY;

// ✅ Good
import { env } from './config/env';
const apiKey = env.API_KEY;
```

### `@neynar/next-prefer-named-exports`

Enforces the use of named exports over default exports in Next.js applications for better tree-shaking and refactoring support.

```js
// ❌ Bad
export default function HomePage() {
  return <div>Home</div>;
}

// ✅ Good
export function HomePage() {
  return <div>Home</div>;
}
```

## Configurations

### `recommended`

The recommended configuration includes:
- TypeScript support
- React best practices
- Import/export rules
- Code quality rules
- Neynar-specific patterns

### `react`

Optimized for React applications with:
- React hooks rules
- JSX best practices
- Component patterns
- Performance optimizations

### `next`

Tailored for Next.js applications including:
- Next.js specific rules
- App Router patterns
- Performance optimizations
- SEO best practices

## License

Copyright (c) 2025 Neynar Inc. All rights reserved.

This software is proprietary and confidential. See LICENSE file for details.
npm package: @neynar/nodejs-sdk
Description: SDK to interact with Neynar APIs (https://docs.neynar.com/reference/quickstart)
Author: Neynar
Latest version: 3.137.2

# @neynar/nodejs-sdk

@neynar/nodejs-sdk typescript-based, easy-to-use SDK built to interact with [Neynar API's](https://docs.neynar.com/).

## Usage

Please refer to our [Getting Started Tutorial](https://docs.neynar.com/docs/getting-started-with-neynar#set-up-neynar-sdk)

<!-- TODO: Add migration guide link here-->

Checkout [examples](https://github.com/neynarxyz/farcaster-examples) using this SDK

## Contribution Guidelines

SDK is auto generated.
To make contributions to this SDK please update the [OAS](https://github.com/neynarxyz/oas)

## License

This project is licensed under the MIT License. This license permits free use, modification, and distribution of the software, with the requirement that the original copyright and license notice are included in any substantial portion of the work. - see the [LICENSE](https://github.com/neynarxyz/nodejs-sdk/blob/main/LICENSE) file for details.
npm package: @neynar/react-native-signin
Description: ## Description
Author: Neynar
Latest version: 1.3.0

# @neynar/react-native-signin

## Description

This package provides components and utilities for implementing "Sign in with Neynar" functionality in React Native apps.

## Installation

Before installing `@neynar/react-native-signin`, make sure you have installed `react-native-svg` and `react-native-webview` as dependencies in your project. You can install them using the following commands:

- For npm

  ```bash
  npm install react-native-svg react-native-webview
  ```

- For yarn

  ```bash
  yarn add react-native-svg react-native-webview
  ```

Then, install @neynar/react-native-signin:

- For npm

  ```bash
  npm install @neynar/react-native-signin
  ```

- For yarn

  ```bash
  yarn add @neynar/react-native-signin
  ```

## Example app

Check out our [example app](https://github.com/neynarxyz/farcaster-examples/tree/main/wownar-react-native) for a demonstration of how to use @neynar/react-native-signin.
npm package: @neynar/tsconfig
Description: Shared TypeScript configurations for Neynar projects
Author: Neynar Inc.
Latest version: 0.0.2

# @neynar/tsconfig

Shared TypeScript configurations for Neynar projects, providing consistent compiler settings across applications and libraries.

## Installation

```bash
npm install @neynar/tsconfig
# or
yarn add @neynar/tsconfig
```

## Usage

### Application Configurations

#### Next.js App Router (DOM)
For Next.js applications using the App Router:

```json
{
  "extends": "@neynar/tsconfig/tsconfig.nextjs.app.json"
}
```

#### Standard App (DOM)
For standard web applications:

```json
{
  "extends": "@neynar/tsconfig/tsconfig.app.dom.json"
}
```

#### Standard App (Node.js)
For Node.js applications:

```json
{
  "extends": "@neynar/tsconfig/tsconfig.app.json"
}
```

### Library Configurations

#### Library (DOM)
For libraries targeting DOM environments:

```json
{
  "extends": "@neynar/tsconfig/tsconfig.library.dom.json"
}
```

#### Library (Node.js)
For libraries targeting Node.js environments:

```json
{
  "extends": "@neynar/tsconfig/tsconfig.library.json"
}
```

### Development Configurations

#### Development App (DOM)
For development builds with DOM:

```json
{
  "extends": "@neynar/tsconfig/dev/tsconfig.app.dom.json"
}
```

#### Development App (Node.js)
For development builds:

```json
{
  "extends": "@neynar/tsconfig/dev/tsconfig.app.json"
}
```

#### Development Library (DOM)
For development library builds with DOM:

```json
{
  "extends": "@neynar/tsconfig/dev/tsconfig.library.dom.json"
}
```

#### Development Library (Node.js)
For development library builds:

```json
{
  "extends": "@neynar/tsconfig/dev/tsconfig.library.json"
}
```

### Debug Configurations

#### Debug App (DOM)
For debugging applications with DOM:

```json
{
  "extends": "@neynar/tsconfig/debug/tsconfig.app.dom.json"
}
```

#### Debug App (Node.js)
For debugging applications:

```json
{
  "extends": "@neynar/tsconfig/debug/tsconfig.app.json"
}
```

#### Debug Library (DOM)
For debugging libraries with DOM:

```json
{
  "extends": "@neynar/tsconfig/debug/tsconfig.library.dom.json"
}
```

#### Debug Library (Node.js)
For debugging libraries:

```json
{
  "extends": "@neynar/tsconfig/debug/tsconfig.library.json"
}
```

## Features

- **Strict TypeScript settings** for better code quality
- **Modern ES module support** with proper resolution
- **Optimized for monorepos** with path mapping support
- **Environment-specific configurations** (DOM vs Node.js)
- **Development and debug variants** with source maps
- **Next.js App Router support** with proper JSX settings

## Configuration Hierarchy

All configurations extend from `tsconfig.base.json` which provides:
- Strict type checking
- Modern target and module settings
- Consistent compiler options
- Optimized for performance

## License

Copyright (c) 2025 Neynar Inc. All rights reserved.

This software is proprietary and confidential. See LICENSE file for details.
npm package: @neyric_w/wechat-sdk
Description: 微信服务号 OAuth SDK - 提供完整的网页授权功能
Author: Neyric
Latest version: 1.0.3

# @neyric_w/wechat-sdk

[![npm version](https://img.shields.io/npm/v/@neyric_w/wechat-sdk.svg)](https://www.npmjs.com/package/@neyric_w/wechat-sdk)
[![license](https://img.shields.io/npm/l/@neyric_w/wechat-sdk.svg)](https://github.com/neyric/wechat-sdk/blob/main/LICENSE)

一个简单易用的微信服务号 OAuth SDK，提供完整的网页授权功能，使用 TypeScript 编写，支持 ESM 和 CommonJS。

## 特性

- 🚀 **简单易用** - 清晰的 API 设计，开箱即用
- 📦 **双格式支持** - 同时支持 ESM 和 CommonJS
- 🔒 **类型安全** - 完整的 TypeScript 类型定义
- ⚡ **轻量级** - 无外部依赖，体积小巧
- 🛠️ **模块化** - 按功能模块组织，按需使用
- ✅ **测试覆盖** - 完整的单元测试

## 安装

```bash
npm install @neyric_w/wechat-sdk
# 或
yarn add @neyric_w/wechat-sdk
# 或
pnpm add @neyric_w/wechat-sdk
# 或
bun add @neyric_w/wechat-sdk
```

## 快速开始

```typescript
import { WechatSDK, WeChatScope } from '@neyric_w/wechat-sdk';

// 初始化 SDK
const wxsdk = new WechatSDK('your_app_id', 'your_app_secret');

// 生成授权链接
const authUrl = wxsdk.auth.getAuthURL({
  redirectUri: 'https://your-domain.com/callback',
  scope: WeChatScope.USERINFO,
  state: 'custom_state'
});

// 处理回调
const params = wxsdk.utils.parseCallback(callbackUrl);
if (params.code) {
  // 获取 access_token
  const tokenData = await wxsdk.auth.code2Session(params.code);
  
  // 获取用户信息
  const userInfo = await wxsdk.user.getUserInfo(
    tokenData.access_token,
    tokenData.openid
  );
}
```

## API 文档

### 授权模块 (auth)
- `getAuthURL(params)` - 生成授权链接
- `code2Session(code)` - code 换取 access_token
- `refreshToken(refreshToken)` - 刷新访问令牌
- `validateToken(token, openid)` - 验证令牌有效性

### 用户模块 (user)
- `getUserInfo(token, openid)` - 获取用户信息

### 工具模块 (utils)
- `parseCallback(url)` - 解析回调参数
- `isWeChatBrowser()` - 检测微信浏览器
- `generateRandomString(length)` - 生成随机字符串
- `isValidOpenId(openid)` - 验证 OpenID 格式
- `formatAvatarUrl(url, size)` - 格式化头像 URL

## 完整示例

查看 [GitHub 仓库](https://github.com/neyric/wechat-sdk) 获取更多示例和详细文档。

## License

MIT
npm package: @neysf/qiyu-web-sdk
Description: 七鱼 Web SDK
Author: ysfed
Latest version: 1.1.6

# @neysf/qiyu-web-sdk

> qiyu-web-sdk

## 一、功能简介

七鱼访客端 sdk 支持 npm 包接入

> 注：sdk 依赖 Promise，如果浏览器不支持 Promise，需要接入方自行引入 Promise polyfill（import 'core-js/modules/es.promise';）


## 二、使用示例

### 2.1 安装

```sh
$ npm install @neysf/qiyu-web-sdk --save
```
### 2.2 使用说明(示例)

```js
import YSF from '@neysf/qiyu-web-sdk';

/**
 * 第一个参数是 企业 appkey
 * 第二个参数是 配置参数
 * 第三个参数 环境配置 默认普通企业，传入overseas为海外企业
*/
YSF.init('f13509f5e8b8e1fbb388b3ddbee238c2', {
    sdkTemplateId: 123, // 自定义访客端样式模版
    templateId: 123, // 自定义配置多个会话邀请模板，包括底图、接入会话触发动作等（如需会话邀请模板关联某个对话框样式模板，请使用会话邀请模板的高级自定义功能，将“接受邀请”的操作设置指向某个对话框模板）
    shuntId: 123, // 多入口分流支持配置多套模版，代码指定模版id
    hidden: 1 // 是否隐藏访客端默认入口，0: 不隐藏，1: 隐藏
  }).then(ysf => {
    ysf('open');
  }).catch(error => {
    console.log('sdk加载失败---', error);
  });
```

参数说明请参考 [官网文档](https://b.163.com/knowledge/public/WXjbs9n3GC/knowdetail?docId=X8GdiEY0Wm&pid=162306)

| 字段名 | 类型 | 说明 | 是否必须 | 默认值 |
|---|---|---| ---| ---|
| 第一个参数(appkey) | string | 企业 appkey | 是 | -- |
| 第二个参数(配置) | object | sdk 入口配置 | 否 | -- |
| 第三个参数(配置) | string | 普通企业不需要传，海外版本企业：'overseas' | 否 | -- |
npm package: @nezbednik/mtv-prefixes
Description: Common prefixes of pluto.tv MTV URL names
Author: nezbednik
Latest version: 1.2.2

# @nezbednik/mtv-prefixes
Common prefixes of pluto.tv MTV URL names

## Usage
```
const mtvPrefixes = require("@nezbednik/mtv-prefixes");

// mtvPrefixes = [ ... ];
```
npm package: @nezbednik/xmltv-date
Description: JS date -> XMLTV date format
Author: nezbednik
Latest version: 1.0.1

# @nezbednik/xmltv-date
JS date -> XMLTV date format

## Usage
```
const xmltvDate = require("@nezbednik/xmltv-date");

/*
xmltvDate(date, makeUTC = false)
makeUTC -> output date as UTC (without timezone offset)
*/

var date = new Date();
console.log(xmltvDate(date));       // eg. 20230409112214 +0200
console.log(xmltvDate(date, true)); // eg. 20230409092214
```

Also available for the browser, see `dist/xmltv-date.min.js`.