open-index/open-npm huggingface dataset:
npm package: @sepveneto/eslint-config
Description: ESLint config
Author: SepVeneto
Latest version: 0.9.2

# @sepveneto/eslint-config

## 使用

### 安装

```bash
npm i -D @sepveneto/eslint-config
yarn add -D @sepveneto/eslint-config
pnpm i -D @sepveneto/eslint-config
```

### 配置`.eslintrc`

```json
{
  "extends": "@sepveneto"
}
```

### 在vscode中配置自动修复

```json
{
  "prettier.enable": false,
  "editor.formatOnSave": false,
  "editor.codeActionsOnSave": {
    "source.fixAll.eslint": true
  }
}
```
npm package: @sepveneto/mpd-core
Description: ## 安装 ```cmd pnpm i @sepveneto/mpd-core npm i @sepveneto/mpd-core yarn add @sepveneto/mpd-core ```
Author: sepveneto
Latest version: 0.9.6

# 快速开始

## 安装
```cmd
pnpm i @sepveneto/mpd-core
npm i @sepveneto/mpd-core
yarn add @sepveneto/mpd-core
```

## 使用
```js
import { useDesign } from '@sepveneto/mpd-core'

const [getData, setData] = await useDesign('#mpd-container', {
  name: 'mpd-editor',
  url: '//localhost:9999/miniprogram/editor'
})
```
npm package: @sepveneto/plugin-mp-router-view
Description: Register global imports on demand for Vite and Webpack
Latest version: 0.5.0

# @sepveneto/mp-plugin-router-view

在小程序端实现`vue-router`的基本功能

## 限制
只能写在`App.vue`中，有且只能有一个`<router-view />`。

与常规`vue2`的写法类似，`App.vue`中只允许存在一个根节点。

## 快速开始

### 安装
```bash
npm i @sepveneto/plugin-mp-router-view
yarn add @sepveneto/plugin-mp-router-view
pnpm i @sepveneto/plugin-mp-router-view
```

### 使用

<details>
<summary>UniApp v2</summary><br>

```js
module.exports = {
  chainWebpack: config => {
    config.module
      .rule('vue')
      .use('@sepveneto/plugin-mp-router-view/loader')
      .loader('@sepveneto/plugin-mp-router-view/loader')
      .options({ /* options */ })
      .end()
  }
}
```
#### 为什么
虽然uniapp的v2版本是依赖`webpack4/5`进行构建，但是通过`plugins`注入的代码无法影响到uniapp的编译结果。因此参考[uniapp-router-view-loader](https://github.com/2460392754/uniapp-router-view-loader)使用loader来实现vue2版本的代码注入。
<br></details>

<details>
<summary>Vite</summary><br>

```ts
// vite.config.ts
import PluginRouterView from '@sepveneto/plugin-mp-router-view/vite'

export default defineConfig({
  plugins: [
    PluginRouterView ({ /* options */ }),
  ],
})
```

Example: [`playground/`](./playground/)

<br></details>


<details>
<summary>Webpack</summary><br>

```ts
// webpack.config.js
module.exports = {
  /* ... */
  plugins: [
    require('@sepveneto/plugin-mp-router-view/webpack')({ /* options */ })
  ]
}
```

<br></details>

<details>
<summary>Vue CLI</summary><br>

```ts
// vue.config.js
module.exports = {
  configureWebpack: {
    plugins: [
      require('@sepveneto/plugin-mp-router-view/webpack')({ /* options */ }),
    ],
  },
}
```

<br></details>

<details>
<summary>esbuild</summary><br>

```ts
// esbuild.config.js
import { build } from 'esbuild'
import Starter from 'unplugin-starter/esbuild'

build({
  plugins: [Starter()],
})
```

<br></details>


## 开发

```bash
pnpm i

pnpm play # 测试插件效果
```
npm package: @sepveneto/plugin-uni-dispatch-comp
Description: Register global imports on demand for Vite and Webpack
Latest version: 0.1.1

# @sepveneto/plugin-uni-dispatch-comp

基于[uni-plugin-light](https://github.com/novlan1/uni-plugin-light)中的vue组件分发进行的二次开发

主要用于解决`uview-ui`等UI库在分包中使用，但是构建后会被统一提升到主包，导致随着项目迭代，超过小程序2MB限制的问题。

## 快速开始

### 安装
```bash
npm i @sepveneto/plugin-uni-dispatch-comp
yarn add @sepveneto/plugin-uni-dispatch-comp
pnpm i @sepveneto/plugin-uni-dispatch-comp
```

### 使用

<details>
<summary>UniApp v2</summary><br>

```js
module.exports = {
  configurePlugin: {
    plugins: [
      require('@sepveneto/plugin-uni-dispatch-comp')(),
    ]
  }
}
```
<br></details>

### 参数
| 名称 | 类型 | 必填 | 默认值 | 说明 |
| :--- | :-- | :--- | :---- | :--- |
| copyDir | RegExp | ❌ | \/node_modules\|uni_modules\/ | 移动整个目录到相关的分包中 |

#### 说明
大部分vue文件在经过uniapp编译后会输出与原文件同名的`js`,`json`,`wxss`,`wxml`四个文件，但是uview部分组件依赖了`wxs`，而这个文件不会被移动，因此需要按目录来移动。

## 开发

```bash
pnpm i

```
npm package: @sepveneto/uniapp-qrcode
Description: 微信小程序，支付宝小程序条码、二维码生成模块
Author: SepVeneto
Latest version: 1.0.3

# wxcode

  微信小程序生成条码和二维码模块。

  [![NPM Version][npm-image]][npm-url]
  [![NPM Downloads][downloads-image]][downloads-url]

## 安装

```bash
$ npm install uniapp-qrcode
```

## 使用方法

```js
import wxcode from 'uniapp-qrcode'

wxcode.barcode('barcode', '1234567890123456789', 680, 200);
wxcode.qrcode('qrcode', '1234567890123456789', 420, 420);
```

### 条形码

函数名：barcode

函数原型：barcode(id, code, width, height)

参数：

- id: wxml文件中的 Canvas ID
- code: 用于生成条形码的字符串
- width: 生成的条形码宽度，单位 rpx
- height: 生成的条形码高度，单位 rpx

### 二维码

函数名：qrcode

函数原型：qrcode(id, code, width, height)

参数：

- id: wxml文件中的 Canvas ID
- code: 用于生成二维码的字符串
- width: 生成的二维码宽度，单位 rpx
- height: 生成的二维码高度，单位 rpx

## 例子

请参考`demo`文件夹下代码。

## License

  [MIT](LICENSE)

[npm-image]: https://badge.fury.io/js/wxbarcode.svg
[npm-url]: https://npmjs.org/package/wxbarcode
[downloads-image]: https://img.shields.io/npm/dm/wxbarcode.svg
[downloads-url]: https://npmjs.org/package/wxbarcode
npm package: @sepveneto/update-check
Description: 定时查询版本更新
Latest version: 0.3.1

# @sepveneto/update-check

定时查询版本更新

## 兼容性
| [<img src="https://raw.githubusercontent.com/alrra/browser-logos/master/src/edge/edge_48x48.png" alt="Edge" width="24px" height="24px" />](http://godban.github.io/browsers-support-badges/)<br>Edge | [<img src="https://raw.githubusercontent.com/alrra/browser-logos/master/src/firefox/firefox_48x48.png" alt="Firefox" width="24px" height="24px" />](http://godban.github.io/browsers-support-badges/)<br>Firefox | [<img src="https://raw.githubusercontent.com/alrra/browser-logos/master/src/chrome/chrome_48x48.png" alt="Chrome" width="24px" height="24px" />](http://godban.github.io/browsers-support-badges/)<br>Chrome | [<img src="https://raw.githubusercontent.com/alrra/browser-logos/master/src/safari/safari_48x48.png" alt="Safari" width="24px" height="24px" />](http://godban.github.io/browsers-support-badges/)<br>Safari |
| --- | --- | --- | --- |
| >= 15 | >= 52 | >= 55 | >= 11 |

## 使用

```cmd
pnpm i @sepveneto/update-check
```


<details>
<summary>Vite</summary><br>

```ts
// vite.config.ts
import Starter from '@sepveneto/update-check/vite'

export default defineConfig({
  plugins: [
    Starter({ /* options */ }),
  ],
})
```

Example: [`playground/`](./playground/)

<br></details>

<details>
<summary>Webpack</summary><br>

```ts
// webpack.config.js
module.exports = {
  /* ... */
  plugins: [
    require('@sepveneto/update-check/webpack')({ /* options */ })
  ]
}
```

<br></details>

<details>
<summary>Vue CLI</summary><br>

```ts
// vue.config.js
module.exports = {
  configureWebpack: {
    plugins: [
      require('@sepveneto/update-check/webpack').default({ /* options */ }),
    ],
  },
}
```

<br></details>

<details>
<summary>esbuild</summary><br>

```ts
// esbuild.config.js
import { build } from 'esbuild'
import Starter from '@sepveneto/update-check/esbuild'

build({
  plugins: [Starter()],
})
```

<br></details>

```js
// main.ts/main.js
import { onUpdate } from '@sepveneto/update-check'
onUpdate(() => {
  /**
   * 询问用户是否需要刷新页面
   */
})
```

## 选项

| 名称 | 类型 | 默认值 | 说明 |
| :--- | :--- | :---- | :--- |
| timer | number | 60 * 1000 | 检查的间隔，单位毫秒 |
| base | string | '' | 版本文件的访问位置 |
| cache | no-cache, storage | storage | 文件的缓存策略，默认是强缓存stroag，如果设置为no-cache，则不会携带时间戳 |
| once | boolean | false | 是否只在应用打开时检查版本号 |
| immediate | boolean | false | 是否在定时器创建时立即执行一次查询 |

关于`base`:
一般保持与vite中的`base`或是webpack/vue-cli中的`publicPath`一致即可，但是当其配置为`./`或`auto`需要设置为具体的地址

## 方法

| 名称 | 参数 | 说明 |
| :--- | :--- | :-- |
| onUpdate | function | 当版本发生变动时执行 |
| check | - | 手动向worker下发版本查询任务，如果有更新会触发`onUpdate` |

## 原理

1. 项目构建时在公共目录生成版本文件
2. 依赖worker创建定时器，向服务器请求版本并比较，当版本变动时通知主线程

### 注意
1. 仅通知一次
2. 一旦版本文件请求失败，会立即销毁线程
npm package: @seqflow/components
Description: A collection of reusable components for building SeqFlow apps.
Latest version: 1.0.0-alpha.1

# SeqFlow Component Library

A collection of reusable components for building SeqFlow apps.

## Installation

```bash
pnpm install @seqflow/components
```

## Local Development

To run the storybook locally, run the following command:

```bash
pnpm run build
pnpm run storybook
```

This is a work in progress. More components will be added soon.
npm package: @seqflow/seqflow
Description: SeqFlow: A lightweight, domain-driven front-end framework designed to simplify web application development, reduce complexity, and enhance user experience with an event-driven architecture.
Author: Tommaso Allevi
Latest version: 1.0.0-rc.1

# SeqFlow JS

This framework is a lightweight, domain-driven front-end framework designed to simplify web application development, reduce complexity, and enhance user experience with an event-driven architecture.

See the [documentation](https://seqflow.dev) for more information.

## Installation

```bash
pnpm install @seqflow/seqflow
```

## Usage

```tsx
import { Contexts } from "@seqflow/seqflow";

interface Quote {
	author: string;
	content: string;
}

async function getRandomQuote(): Promise<Quote> {
	const res = await fetch("https://quotes.seqflow.dev/api/quotes/random")
	return await res.json();
}

export async function Main({}, { component }: Contexts) {
	// Render loading message
	component.renderSync(
		<p>Loading...</p>
	);

	// Perform an async operation
	const quote = await getRandomQuote();

	// Replace loading message with quote
	component.renderSync(
		<div>
			<div>{quote.content}</div>
			<div>{quote.author}</div>
		</div>
	);
}

start(document.getElementById("root"), Main, {}, {});
```

## License

SeqFlow JS is licensed under the MIT License.
npm package: @seqquery/design-kit
Description: My awesome component
Author: Markus Rickert
Latest version: 0.7.36

# Vue 3 + TypeScript + Vite

This template should help get you started developing with Vue 3 and TypeScript in Vite. The template uses Vue 3 `<script setup>` SFCs, check out the [script setup docs](https://v3.vuejs.org/api/sfc-script-setup.html#sfc-script-setup) to learn more.

## Recommended Setup

- [VS Code](https://code.visualstudio.com/) + [Vue - Official](https://marketplace.visualstudio.com/items?itemName=Vue.volar) (previously Volar) and disable Vetur

- Use [vue-tsc](https://github.com/vuejs/language-tools/tree/master/packages/tsc) for performing the same type checking from the command line, or for generating d.ts files for SFCs.


[How to create a custom Vue Component Library with robust testing via Storybook and Vitest](https://jhale.dev/posts/vue-component-library-storybook-vitest/#add-vitest-for-unit-testing-for-utility-functions)

[How to use Quasar in a custom Vue Component Library with Storybook](https://jhale.dev/posts/quasar-component-library-storybook/#add-a-custom-component-based-on-quasar)


> npm config set registry http://verdaccio/npm/

# then create and update local .npmrc file:
> npm config set _authToken=%YOUR_ACCES_TOKEN%

# and publish pointing to your registry
> npm publish --registry http://verdaccio/npm/
>
> (base) MOBA-MBP001:ui.lib mri20$ npm config set registry https://registry.npmjs.org/
(base) MOBA-MBP001:ui.lib mri20$ npm config set registry https://registry.npmjs.org/
(base) MOBA-MBP001:ui.lib mri20$ npm config set _authToken=nXXX
(base) MOBA-MBP001:ui.lib mri20$ npm publish --registry https://regitry.npmjs.org
npm package: @sequa-ai/tiptap-markdown
Description: Edit markdown content in tiptap v3 editor.
Author: Antoine Guingand
Latest version: 0.8.12


> This is a fork from [tiptap-markdown](https://github.com/aguingand/tiptap-markdown). The peer dependencies have been updated to support Tiptap v3.

# Tiptap markdown

The markdown extension for [Tiptap editor](https://www.tiptap.dev/).

## Installation

```bash
npm install tiptap-markdown
```

### Requirements
Supports all frameworks handled by Tiptap (Vue 2, Vue 3, React, [see full list](https://www.tiptap.dev/installation#integration-guides)...)

## Usage
Basic example:

```js
import { Editor } from '@tiptap/core';
import StarterKit from '@tiptap/starter-kit';
import { Markdown } from 'tiptap-markdown';

const editor = new Editor({
    content: "# Title",
    extensions: [
        StarterKit,
        Markdown,
    ],
});
const markdownOutput = editor.storage.markdown.getMarkdown();
```

## API

### Options
Default options:
```js
Markdown.configure({
  html: true,                  // Allow HTML input/output
  tightLists: true,            // No <p> inside <li> in markdown output
  tightListClass: 'tight',     // Add class to <ul> allowing you to remove <p> margins when tight
  bulletListMarker: '-',       // <li> prefix in markdown output
  linkify: false,              // Create links from "https://..." text
  breaks: false,               // New lines (\n) in markdown input are converted to <br>
  transformPastedText: false,  // Allow to paste markdown text in the editor
  transformCopiedText: false,  // Copied text is transformed to markdown
})
```

### Methods
```js
editor.commands.setContent('**test**') // setContent supports markdown format
editor.storage.markdown.getMarkdown(); // get current content as markdown
```

### Custom extensions
See [examples](https://github.com/aguingand/tiptap-markdown/tree/main/example/src/extensions).  
Check out prosemirror-markdown [default serializer](https://github.com/ProseMirror/prosemirror-markdown/blob/master/src/to_markdown.ts#L66) for examples of serialize config. Check out markdown-it [plugins](https://github.com/markdown-it/markdown-it#syntax-extensions) for parsing.

## Contributing
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

## License
The MIT License (MIT). Please see [License File](LICENSE) for more information.
npm package: @sequelize-orm/core
Description: Sequelize is a promise-based Node.js ORM tool for Postgres, MySQL, MariaDB, SQLite, Microsoft SQL Server, Amazon Redshift, Snowflake’s Data Cloud, Db2, Oracle, and IBM i. It features solid transaction support, relations, eager and lazy loading, read repli
Latest version: 7.0.0-alpha.50

<p align="center"><img src="https://raw.githubusercontent.com/sequelize/sequelize/ec80c6252ac500df9342816b7f49957f3974e882/logo.svg" width="100" alt="Sequelize logo" /></p>
<h1 align="center" style="margin-top: 0;"><a href="https://sequelize.org">Sequelize</a></h1>

This library contains the core functionality of Sequelize. Head to [sequelize.org](https://sequelize.org) to learn how to use Sequelize.

## Installation

Using npm:

```sh
npm install @sequelize-orm/core
```

Or using yarn:

```sh
yarn add @sequelize-orm/core
```
npm package: @sequelizejs/next
Description: For those, who needs two different versions of Sequelize installed in one project (eg. for tests).
Latest version: 5.0.0-beta.16

# @sequelizejs/next

[![npm version](https://img.shields.io/npm/v/@sequelizejs/next.svg)](https://npmjs.com/@sequelizejs/next)
[![Build Status](https://img.shields.io/travis/honzahommer/sequelizejs.svg?branch=master)](https://travis-ci.org/honzahommer/sequelizejs)
[![npm downloads](https://img.shields.io/npm/dm/@sequelizejs/next.svg)](https://npmjs.com/@sequelizejs/next)
[![License](https://img.shields.io/npm/l/@sequelizejs/next.svg)](https://github.com/honzahommer/sequelizejs/blob/master/packages/next/LICENSE)

> For those, who needs two different versions of Sequelize installed in one project (eg. for tests).

```
npm install @sequelizejs/next sequelize
...
const sequelizeNext = require('@sequelizejs/next');
const sequelize = require('sequelize');
```
npm package: @sequelizejs/prev
Description: For those, who needs two different versions of Sequelize installed in one project (eg. for tests).
Latest version: 3.34.0

# @sequelizejs/prev

[![npm version](https://img.shields.io/npm/v/@sequelizejs/prev.svg)](https://npmjs.com/@sequelizejs/prev)
[![Build Status](https://img.shields.io/travis/honzahommer/sequelizejs.svg?branch=master)](https://travis-ci.org/honzahommer/sequelizejs)
[![npm downloads](https://img.shields.io/npm/dm/@sequelizejs/prev.svg)](https://npmjs.com/@sequelizejs/prev)
[![License](https://img.shields.io/npm/l/@sequelizejs/prev.svg)](https://github.com/honzahommer/sequelizejs/blob/master/packages/prev/LICENSE)

> For those, who needs two different versions of Sequelize installed in one project (eg. for tests).

```
npm install @sequelizejs/prev sequelize
...
const sequelizePrev = require('@sequelizejs/prev');
const sequelize = require('sequelize');
```
npm package: @sequelizejs/sequelize
Description: Sequelize on steroids
Latest version: 0.0.2

# @sequelizejs/sequelize

[![npm version](https://img.shields.io/npm/v/@sequelizejs/sequelize.svg)](https://npmjs.com/@sequelizejs/sequelize)
[![Build Status](https://img.shields.io/travis/honzahommer/sequelizejs.svg?branch=master)](https://travis-ci.org/honzahommer/sequelizejs)
[![npm downloads](https://img.shields.io/npm/dm/@sequelizejs/sequelize.svg)](https://npmjs.com/@sequelizejs/sequelize)
[![License](https://img.shields.io/npm/l/@sequelizejs/sequelize.svg)](https://github.com/honzahommer/sequelizejs/blob/master/packages/sequelize/LICENSE)

> Sequelize on steroids

```
npm install @sequelizejs/sequelize
...
const Sequelize = require('@sequelizejs/sequelize');
const sequelize = new Sequelize(...);
```

## Features

* Set operatorsAliases to false (v4) or remove operatorsAliases option (v5) to hide [warning](https://github.com/sequelize/sequelize/blob/v4/lib/sequelize.js#L242).
* Use [mycnf](https://npmjs.com/mycnf) package to setup MySQL connection.