open-index/open-npm huggingface dataset:
npm package: @shopnex/paypal-plugin
Description: PayPal plugin for Payload
Author: Payload
Latest version: 1.0.2

# Payload Stripe Plugin

A plugin for [Payload](https://github.com/payloadcms/payload) to connect [Stripe](https://stripe.com) and Payload.

- [Source code](https://github.com/payloadcms/payload/tree/main/packages/plugin-stripe)
- [Documentation](https://payloadcms.com/docs/plugins/stripe)
- [Documentation source](https://github.com/payloadcms/payload/tree/main/docs/plugins/stripe.mdx)
npm package: @shopnex/puck-editor-plugin
Description: Analytics plugin for ShopNext
Author: ShopNex.ai Arseniy
Latest version: 0.0.5

# Puck Editor Plugin

## Supported Blocks

- Header
- Logo
- NavBar
- Footer Copyright
- Hero
- Product Grid
- Floating Cart
- Card Body checkout form
- Summary Block
- Product main image
- Product Details
- Breadcrumbs

## Supported Components

- Button
- Container
- Heading
npm package: @shopnex/richtext-tiptap
Description: The officially supported Slate richtext adapter for Payload
Author: Payload
Latest version: 3.50.0

# Payload Slate Rich Text Editor

Slate Rich Text Editor for [Payload](https://payloadcms.com).

- [Main Repository](https://github.com/payloadcms/payload)
- [Payload Docs](https://payloadcms.com/docs)

## Installation

```bash
npm install @shopnex/richtext-tiptap
```

## Usage

```ts
import { buildConfig } from "payload";
import { slateEditor } from "@shopnex/richtext-tiptap";

export default buildConfig({
    editor: slateEditor({}),
    // ...rest of config
});
```

More detailed usage can be found in the [Payload Docs](https://payloadcms.com/docs/configuration/overview).
npm package: @shopnex/stripe-plugin
Description: Stripe plugin for Payload
Author: Payload
Latest version: 3.31.10

# Payload Stripe Plugin

A plugin for [Payload](https://github.com/payloadcms/payload) to connect [Stripe](https://stripe.com) and Payload.

- [Source code](https://github.com/payloadcms/payload/tree/main/packages/plugin-stripe)
- [Documentation](https://payloadcms.com/docs/plugins/stripe)
- [Documentation source](https://github.com/payloadcms/payload/tree/main/docs/plugins/stripe.mdx)
npm package: @shoppedance/cb-design
Description: creatorbonus business component
Latest version: 0.0.34

# @shoppedance/passport

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

passport component

## Usage

TODO

## Options

TODO

## 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

# Locally preview the production build.
$ yarn run docs:preview

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

## LICENSE

MIT
npm package: @shoppedance/openapi
Description: 根据 [OpenApi3](https://swagger.io/blog/news/whats-new-in-openapi-3-0/) 文档生成 request 请求代码。
Latest version: 1.0.11

## 介绍

根据 [OpenApi3](https://swagger.io/blog/news/whats-new-in-openapi-3-0/) 文档生成 request 请求代码。

## 使用
```node
npm i --save-dev @shoppedance/openapi
```
在项目根目录新建 ```openapi.config.ts```
```ts
const { generateService } = require('@shoppedance/openapi')

generateService({
  schemaPath: 'http://petstore.swagger.io/v2/swagger.json',
  serversPath: './servers',
})

```
在 ```package.json``` 的 ```script``` 中添加 api: ```"openapi": "ts-node openapi.config.ts",```

生成api
```node
npm run openapi
```
## 参数
|  属性   | 必填  | 备注 | 类型 | 默认值 |
|  ----  | ----  |  ----  |  ----  | - |
| requestLibPath  | 否 | 自定义请求方法路径 | string | - |
| requestOptionsType  | 否 | 自定义请求方法 options 参数类型 | string | {[key: string]: any} |
| requestImportStatement  | 否 | 自定义请求方法表达式 | string | - |
| apiPrefix  | 否 | api 的前缀 | string | - |
| serversPath  | 否 | 生成的文件夹的路径 | string | - |
| schemaPath  | 否 | Swagger 2.0 或 OpenAPI 3.0 的地址 | string | - |
| projectName  | 否 | 项目名称 | string | - |
| namespace  | 否 | 命名空间名称 | string | API |
| mockFolder  | 否 | mock目录 | string | - |
| enumStyle  | 否 | 枚举样式 | string-literal \| enum | string-literal |
| nullable | 否 | 使用null代替可选 | boolean | false |
| dataFields | 否 | response中数据字段 | string[] | - |
| isCamelCase | 否 | 小驼峰命名文件和请求函数 | boolean | true |
| hook | 否 | 自定义 hook | [Custom Hook](#Custom-Hook) | - |

## Custom Hook

| 属性           | 类型 | 说明               |
| -------------- | ---- | ------------------ |
| afterOpenApiDataInited | (openAPIData: OpenAPIObject) => OpenAPIObject  | - |
| customFunctionName | (data: OperationObject) => string   | 自定义请求方法路径 |
| customTypeName | (data: OperationObject) => string | 自定义函数名称 |
| customClassName | (tagName: string) => string  | 自定义类型名称 |
| customType | (<br>schemaObject: SchemaObject \| undefined,<br>namespace: string,<br>originGetType:(schemaObject: SchemaObject \| undefined, namespace: string) => string,<br>) => string  | 自定义获取类型 <br> *返回非字符串将使用默认方法获取type* |
| customFileNames |  (<br>operationObject: OperationObject,<br>apiPath: string,<br>_apiMethod: string,<br>) => string[]   | 自定义生成文件名，可返回多个，表示生成多个文件. <br> *返回为空，则使用默认的获取方法获取* |
npm package: @shoppedance/passport
Description: passport component
Latest version: 0.0.52

# @shoppedance/passport

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

passport component

## Usage

TODO

## Options

TODO

## 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

# Locally preview the production build.
$ yarn run docs:preview

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

## LICENSE

MIT
npm package: @shoppedance/player
Description: react-native aliplayer 
Author: Brad Shao
Latest version: 1.0.11

# react-native-ali-video

react-native aliplayer 

## Installation

```sh
npm install react-native-ali-video
```

## Usage

```js
import { AliVideoView } from "react-native-ali-video";

// ...

<AliVideoView color="tomato" />
```

## Contributing

See the [contributing guide](CONTRIBUTING.md) to learn how to contribute to the repository and the development workflow.

## License

MIT
npm package: @shoppedance/site-common
Description: shoppedance项目基础通用包
Latest version: 0.0.2

# site-common

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

## Install

```bash
$ pnpm install
```

```bash
$ npm run dev
$ npm run build
```

## Options

TODO

## LICENSE

MIT