open-index/open-npm huggingface dataset:
npm package: @modyfi/vite-plugin-yaml
Description: Import YAML files as JS objects 🔌
Author: Tony Ketcham
Latest version: 1.1.1

[![Pipeline](https://github.com/Modyfi/vite-plugin-yaml/actions/workflows/pipeline.yml/badge.svg)](https://github.com/Modyfi/vite-plugin-yaml/actions/workflows/pipeline.yml)

# 🧹 vite-plugin-yaml

Transforms a YAML file into a JS object.

## 🚀 Install

```
npm install -D @modyfi/vite-plugin-yaml
# or
# yarn add -D @modyfi/vite-plugin-yaml
# or
# pnpm i -D @modyfi/vite-plugin-yaml
```

## 🦄 Usage

Add `ViteYAML` to `vite.config.js / vite.config.ts`:

```ts
// vite.config.js / vite.config.ts
import ViteYaml from '@modyfi/vite-plugin-yaml';

export default {
  plugins: [
    ViteYaml(), // you may configure the plugin by passing in an object with the options listed below
  ],
};
```

Then you can simply import yaml files like you would any other file:

```ts
import YamlContent from './your.yaml';

console.log(YamlContent.example);
```

Do note that you may have to include the file type in your import.

### 🔦 TypeScript support

The recommended way to add type definitions for `.yaml` or `.yml` modules is via a `tsconfig.json` file.

```ts
// tsconfig.json
{
  "compilerOptions": {
    ...
    "types": [
      ...
      "@modyfi/vite-plugin-yaml/modules"
      ],
  }
}
```

You may also add type definitions without `tsconfig`:

```ts
// vite-env.d.ts
/// <reference types="@modyfi/vite-plugin-yaml/modules" />
```

## 🐛 Options

```ts
/**
 * A minimatch pattern, or array of patterns, which specifies the files in the build the plugin should operate on.
 *
 * By default all files are targeted.
 */
include?: FilterPattern;
/**
 * A minimatch pattern, or array of patterns, which specifies the files in the build the plugin should ignore.
 *
 * By default no files are ignored.
 */
exclude?: FilterPattern;
/**
 * Schema used to parse yaml files.
 *
 * @see https://github.com/nodeca/js-yaml/blob/49baadd52af887d2991e2c39a6639baa56d6c71b/README.md#load-string---options-
 */
schema?: Schema;
/**
 * A boolean to determine if JSON object should be serialized.
 *
 * @see https://www.npmjs.com/package/tosource for the motivation behind serialization of JSON.
 */
raw?: boolean;
/**
 * A function that will be called for error reporting.
 *
 * Defaults to `console.warn()`.
 */
onWarning?: (warning: YAMLException) => void;
```
npm package: @modyo/utilities
Description: Modyo utilities components and directives for Vuejs
Author: Jorge Saud
Latest version: 1.3.6
Deprecated: this package has been deprecated

# Introduction

A "naked" component library for Vue.js focused on being:

- Accessible
- Semantic
- Light weight
- Extensible

Links:

<!-- - [Docs](https://utilities.stegosource.com/)
- [GitHub](https://github.com/Stegosource/utilities)
- [NPM](https://www.npmjs.com/package/utilities) -->

## Naked Components

Vuetensil's components are designed to be starting points for some of the most common UI features. They bring all the functionality you would expect from a UI library, but only the bare minimum styles to avoid adding any extra bloat. You can work on the branding, and you don't have to worry about the accessibility.

Import just the features you need (like a WCAG-friendly modal that traps focus and prevents scrolling), and apply your custom design. No overhead from unused styles!

## Inspiration

If I want my projects to follow best practices for semantic markup and accessibility, what are my options:

#### I could write my own library 😱

- ✅ My styles would be exactly how I want them.
- ✅ My bundle size will be very small because I'll only use what I need.
- ❌ It's going to take a lot of time.
- ❌ I'll have to create every component from scratch.
- ❌ I probably won't follow all the best practices right.

#### I could rely on a third party library 😵

- ✅ It will save me a LOT of time.
- ✅ I will have many component options to choose from.
- ❌ I'll still have to confirm they follow best practices.
- ❌ I will either have to use their styles, or end up overwriting them.
- ❌ There may be a lot of unused code that could bloat the bundle size.

#### I could use utilities 😍

- ✅ The only styles added are the ones I write.
- ✅ I only include the components I'm actually going to use.
- ✅ My components will be accessible and semantic.
- ✅ The bundle size will stay as small as possible.

## Getting Started

#### 1. Install the library

`npm install utilities`

#### 2. Register just the components you need

Globally:

```js
// main.js
import Vue from "vue"
import { MAlert } from "utilities"

Vue.component("MAlert", MAlert)
```

Locally:

```vue
<script>
// SomeComponent.vue
import { MAlert } from "utilities"

export default {
  components: {
    MAlert,
  },
  // ...
}
</script>
```

#### 3. Use the components in your template

```vue
<template>
  <div class="some-component">
    <MAlert>Hey, I'm an alert!</MAlert>
  </div>
</template>
```

#### 4. Bring your own styles

```css
/* Some CSS file */
.modyo-alert {
  border: 1px solid currentColor;
  border-radius: 4px;
  padding: 0 10px;
  color: #900;
  background: #fdd;
}
```
npm package: @modyo/vue-cli-plugin-connector
Description: a Plugin base for integrate with the modyo platform
Author: Giorgiosaud
Latest version: 1.4.6

# Plugin de ©Modyo para vue-cli

Este plugin permite que los desarrolladores de Modyo puedan previsualizar en local sus widgets para revisar compatibilidad con los assets principales del site.

## Archivos Auto-generados

Los archivos auto-generados al momento de utilizar este plugin nos servirán para levantar de manera local los widgets con los assets de la plataforma y también definir variables de entorno en un archivo .env que permitirán la subida de los mismos a la plataforma Modyo 9.

## Features Adicionales que se agregan

- Comando `modyo-serve`: que levantara un browser con los assets del sitio seleccionado en la configuracion

## Archivo .env

En el caso de hacer pull de un widget creado con este plugin se debera generar un archivo .env con almenos la siguiente configuracion

```yml
MODYO_ACCOUNT_URL=[ACCOUNT_URL]
MODYO_VERSION=MODYO_VERSION[8|9]
MODYO_TOKEN=[TOKEN_DE_SITIO_MODYO]
MODYO_SITE_ID=[ID_SITIO] # you can use de vue ui to select the site
MODYO_WIDGET_NAME=[NOMBRE_DEL_WIDGET]
```
npm package: @modyqyw/create
Description: Opinionated starter templates, with CLI support.
Author: ModyQyW
Latest version: 0.0.1
Deprecated: Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.

# @modyqyw/create

带有 CLI 支持的开箱即用模板。

```shell
pnpm create @modyqyw@latest
```
npm package: @modyqyw/css-styles
Description: Custom css styles.
Author: ModyQyW
Latest version: 0.3.0
Deprecated: This package is deprecated. Use tailwindcss, windicss or @modyqyw/mp-scss instead. :D

# css-styles

我在不同项目中使用的 css 样式集合，包括 react-native，小程序（taro / uni-app）和网页（react / vue）

[English](README.md) | 简体中文

## 起步

这些说明将让你得到能在本地启动、运行的项目副本以进行开发和测试。

### 准备

- 推荐使用 nvm，长期支持版 lts node，长期支持版 npm 和 yarn。
  - 参照以下链接，首先安装 nvm
    - [nvm for Mac/Linux](https://github.com/nvm-sh/nvm)
    - [nvm-windows](https://github.com/coreybutler/nvm-windows)
    - 使用 [Homebrew](https://brew.sh/) 在 Mac 安装 nvm 是**不**推荐的
  - 接着在终端/命令行安装长期支持版 node

    ```sh
    # for now, lts version is 10.16.3
    # last updated：2019.09.17
    nvm install 10.16.3
    ```

  - 全局升级 npm 到长期支持版，安装 yarn

    ```sh
    npm i -g npm@lts
    npm i -g yarn
    ```

  - 如果你是国人，或许你应该设置镜像
- Git 也是需要的
  - [git for Windows/Linux](https://git-scm.com/downloads)
  - 使用 [Homebrew](https://brew.sh/) 在 Mac 安装 git 是推荐的

### 安装

```sh
yarn add @modyqyw/css-styles
# or
npm i @modyqyw/css-styles
```

### 使用

- taro / uni-app

使用绝对引入来引入`miniprogram/global.scss`作为全局样式。

```js
// projectName/src/app.tsx
// projectName/src/app.js
// projectName/src/main.ts
// projectName/src/main.js
import '@modyqyw/css-styles/miniprogram/global.scss'
```

使用相对引入来引入`miniprogram/vars.scss`来使用预设颜色。

```scss
// projectName/src/vars.scss
@import "../node_modules/@modyqyw/css-styles/miniprogram/vars.scss";
```

- react / vue

引入`web/global.scss`作为全局样式。

```js
import '@modyqyw/css-styles/web/global.scss'
```

引入`web/vars.scss`来使用预设颜色。

```scss
@import "~@modyqyw/css-styles/web/vars.scss";
```

- react native

引入`react-native/global`来使用预设颜色，排版和布局。

```js
import { colors, typography, layouts } from '@modyqyw/css-styles/react-native/global'
// or
// import gStyles from '@modyqyw/css-styles/react-native/global'
```

## 测试

目前没有测试。欢迎 PR。

## 特性

- 预设布局
- 预设排版
- 两种风格的预设颜色：Material Design 和 Ant Design
- 使用`class`来添加几乎所有的样式
- 高扩展性

## 贡献

请阅读 [CONTRIBUTING.md](./CONTRIBUTING.md) 了解行为准则以及提交拉取请求的流程的详细信息。

## 版本命名

使用 [SemVer](http://semver.org/) 进行版本控制。有关可用版本，请参阅此仓库的 [releases](https://github.com/ModyQyW/css-styles/releases)。

## 作者

- **Rui Wu** - *最初工作* - [ModyQyW](https://github.com/ModyQyW)

另请参阅参与此项目的 [contributors](https://github.com/ModyQyW/css-styles/contributors) 列表。

## 协议

[MIT](./LICENSE)

Copyright (c) 2019-present ModyQyW

## 致谢

- [Material Design](https://material.io/)
- [Ant Design](https://ant.design/)
- [ElementUI](https://element.eleme.io/)
- [ColorUI](https://www.color-ui.com/)
- [ReactNativeElements](https://react-native-training.github.io/react-native-elements/)
- [NativeBase](https://nativebase.io/)
- [TaroUI](https://taro-ui.aotu.io/#/)
npm package: @modyqyw/dsa
Description: Data structures and algorithms written in TypeScript. Unstable yet!
Author: ModyQyW
Latest version: 0.0.5
Deprecated: Deprecated! Now it is recommended to use dsa-ts.

# 数据结构与算法

English | [简体中文](./README.zh-Hans.md)

Data structures and algorithms written in TypeScript, mainly aiming at education but also can be used in daily development. **Progressing. Unstable. Do not use in production.**

## Installation

### NPM

```shell
npm i @modyqyw/dsa
# yarn add @modyqyw/dsa
```

### CDN

```html
<script src="https://cdn.jsdelivr.net/npm/@modyqyw/dsa/dist/index.iife.min.js"></script>
<!-- or unpkg if you prefer -->
<!-- <script src="https://unpkg.com/@modyqyw/dsa/dist/index.iife.min.js"></script> -->
```

Then use `window.DSA` directly.

## Usage

```javascript
// esm
import {
  // data structure
  Stack,
  PriorityQueue,
  DoublyLinkedList,
  // algorithms
  bubbleSort,
  mergeSort,
  quickSort,
  selectionSort,
  shakerSort,
} from '@modyqyw/dsa';
// cjs
const {
  // data structure
  Stack,
  PriorityQueue,
  DoublyLinkedList,
  // algorithms
  bubbleSort,
  mergeSort,
  quickSort,
  selectionSort,
  shakerSort,
} = require('@modyqyw/dsa');

// do something with them
const stack = new Stack();
const queue = new PriorityQueue();
const list = new DoublyLinkedList();

```

## Data Structures

数组 Array 和字符串 String 内置，映射 Map、集合 Set 已包含在 ES6+ 标准中。

- Linear Structure
  - [x] [Stack](./src/stack/index.ts)
  - [x] [Priority Queue](./src/priority-queue/index.ts)
  - [x] [Doubly Linked List](./src/doubly-linked-list/index.ts)
- Nonlinear Structure
  - [ ] 无序树/自由树
  - [ ] 有序树
  - [ ] 二叉树
  - [ ] 满二叉树
  - [ ] 完全二叉树
  - [ ] 二叉搜索树/二叉查找树/二叉排序树
  - [ ] 哈夫曼树/最优二叉树
  - [ ] 平衡树/平衡二叉树
  - [ ] B 树/多路平衡搜索树
  - [ ] B+ 树
  - [ ] AVL 树/二叉平衡搜索树
  - [ ] 红黑树
  - [ ] 堆
  - [ ] 二叉最大堆
  - [ ] 二叉最小堆
  - [ ] 无向图
  - [ ] 有向图
  - [ ] 哈希表/散列表

## Algorithms

- 评估 - 时间复杂度，空间复杂度，正确性，可读性，健壮性
- 思想 - 递推法，递归法，穷举法，贪心算法，分治法，动态规划，迭代法，分支界限法，回溯法
- 分类 - 基本算法，数据结构算法，数论与代数算法，几何算法，图论算法，动态规划，数值分析，加密算法，排序算法，检索算法，随机化算法，并行算法，启发式算法

## Acknowledge

- [jeffzh4ng - iruka](https://github.com/jeffzh4ng/iruka)
npm package: @modyqyw/eslint-config-react
Description: An ESLint shareable config for react. Also support next, taro and react-native.
Author: ModyQyW
Latest version: 1.5.9
Deprecated: This package is deprecated. Use @modyqyw/fabric instead. :D

# @modyqyw/eslint-config-react

An ESLint shareable config for react. Also support taro and react-native.

## Usage

- Install the config.

```sh
# for javascript
npm i -D eslint@~7.10.0 @modyqyw/eslint-config-react@~1.5.0
# for typescript
npm i -D eslint@~7.10.0 @modyqyw/eslint-config-react@~1.5.0 typescript@~4.0.0
```

For yarn, run scripts below.

```sh
# for javascript
yarn add -D eslint@~7.10.0 @modyqyw/eslint-config-react@~1.5.0
# for typescript
yarn add -D eslint@~7.10.0 @modyqyw/eslint-config-react@~1.5.0 typescript@~4.0.0
```

- Add `tsconfig.json` into the project root if you use typescript. Check [Intro to the TSConfig Reference](https://www.typescriptlang.org/tsconfig).

- Set up.

```js
// .eslintrc.js
module.exports = {
  extends: ["@modyqyw/react"],
};
```

## Attention

- You need to import React or Taro manually cause eslint won't check this.
- Not support mobx yet.

## VSCode

- Install plugins.
  - [ESLint](https://marketplace.visualstudio.com/items?itemName=dbaeumer.vscode-eslint)
  - [Prettier](https://marketplace.visualstudio.com/items?itemName=esbenp.prettier-vscode)
  - [Vetur](https://marketplace.visualstudio.com/items?itemName=octref.vetur)
- Set up `Settings.json`. Then `F1 => Format Document` => `F1 => File: Save`.

```json
{
  "editor.codeActionsOnSave": {
    "source.fixAll": true
  },
  "editor.defaultFormatter": "esbenp.prettier-vscode",
  "emmet.includeLanguages": {
    "javascript": "javascriptreact",
    "typescript": "typescriptreact",
    "json": "jsonc",
    "vue-html": "html"
  },
  "eslint.validate": [
    "javascript",
    "javascriptreact",
    "typescript",
    "typescriptreact",
    "html",
    "vue",
    "vue-html"
  ],
  "files.eol": "\n",
  "files.associations": {
    "*.js": "javascriptreact",
    "*.ts": "typescriptreact",
    "*.wxml": "html",
    "*.wxs": "javascriptreact",
    "*.wxss": "css",
    "*.axml": "html",
    "*.sjs": "javascriptreact",
    "*.acss": "css",
    "*.swan": "html",
    "*.ttml": "html",
    "*.ttss": "css",
    "*.jxml": "html",
    "*.jxss": "css",
    "*.wpy": "vue",
    "*.json": "jsonc",
    "*.nvue": "vue",
    "*.ux": "vue"
  },
  "[vue]": {
    "editor.defaultFormatter": "octref.vetur"
  }
}
```

## More Config

- [@modyqyw/eslint-config](https://github.com/MillCloud/eslint-config)
- [@modyqyw/eslint-config-vue](https://github.com/MillCloud/eslint-config-vue)
- [@modyqyw/eslint-config-vue-ts](https://github.com/MillCloud/eslint-config-vue-ts)

## License

[MIT](./LICENSE)

Copyright (c) 2020-present MillCloud
npm package: @modyqyw/eslint-config-ts
Description: An ESLint shareable config for typescript.
Author: ModyQyW
Latest version: 1.0.0
Deprecated: This package is deprecated. Use @modyqyw/fabric instead. :D

# @modyqyw/eslint-config-ts

An ESLint shareable config.

## Usage

- Install the config.

```sh
npm i eslint@~6.8.0 typescript@～3.8.0 @modyqyw/eslint-config-ts@~1.0.0 -D
```

For yarn, run scripts below.

```sh
yarn add eslint@~6.8.0 typescript@～3.8.0 @modyqyw/eslint-config-ts@~1.0.0 -D
```

- Set up.

```js
// .eslintrc.js
module.exports = {
  extends: ['@modyqyw/ts']
}

```

- For VSCode
  - Install plugins.
    - [ESLint](https://marketplace.visualstudio.com/items?itemName=dbaeumer.vscode-eslint)
    - [Prettier](https://marketplace.visualstudio.com/items?itemName=esbenp.prettier-vscode)
    - [Vetur](https://marketplace.visualstudio.com/items?itemName=octref.vetur)
  - Set up `Settings.json`. Then `F1` => `Format Document`(call vetur for `*.vue` files and prettier for other files) => Save File(call ESLint).

```json
{
  "editor.codeActionsOnSave": {
    "source.fixAll": true
  },
  "editor.defaultFormatter": "esbenp.prettier-vscode",
  "emmet.includeLanguages": {
    "javascript": "javascriptreact",
    "typescript": "typescriptreact",
    "json": "jsonc"
  },
  "eslint.validate": [
    "javascript",
    "javascriptreact",
    "typescript",
    "typescriptreact",
    "html",
    "vue",
    "vue-html"
  ],
  "files.eol": "\n",
  "files.associations": {
    "*.js": "javascriptreact",
    "*.ts": "typescriptreact",
    "*.wxml": "html",
    "*.wxs": "javascript",
    "*.wxss": "css",
    "*.axml": "html",
    "*.sjs": "javascript",
    "*.acss": "css",
    "*.wpy": "html",
    "*.json": "jsonc",
    "*.nvue": "vue"
  },
  "vetur.format.defaultFormatterOptions": {
    "prettyhtml": {
      "wrapAttributes": true
    }
  },
  "[vue]": {
    "editor.defaultFormatter": "octref.vetur"
  }
}
```

- For WebStorm
  - TODO

## More Config

- [@modyqyw/eslint-config-vue](https://github.com/Millcloud/eslint-config-vue)
- [@modyqyw/eslint-config-vue-ts](https://github.com/Millcloud/eslint-config-vue-ts)
- [@modyqyw/eslint-config-react](https://github.com/Millcloud/eslint-config-react)
- [@modyqyw/eslint-config-react-ts](https://github.com/Millcloud/eslint-config-react-ts)
- [@modyqyw/eslint-config](https://github.com/Millcloud/eslint-config)

## License

[MIT](./LICENSE)

Copyright (c) 2020-present Millcloud
npm package: @modyqyw/eslint-config-vue
Description: An ESLint shareable config for vue with javascript. Also support uni-app and weex.
Author: ModyQyW
Latest version: 1.10.1
Deprecated: This package is deprecated. Use @modyqyw/fabric instead. :D

**DEPRECATED! Check [@modyqyw/eslint-config](https://github.com/MillCloud/eslint-config).**

# @modyqyw/eslint-config-vue

An ESLint shareable config for vue. Also support uni-app and weex.

## Usage

- If you use JavaScript, install the config for JavaScript.

```sh
npm i vue@~2.6.0
npm i -D eslint@~7.10.0 @modyqyw/eslint-config-vue@~1.8.0
```

For yarn, run scripts below.

```sh
yarn add vue@~2.6.0
yarn add -D eslint@~7.10.0 @modyqyw/eslint-config-vue@~1.8.0
```

- If you use TypeScript, install the config for TypeScript.

```sh
npm i vue@~2.6.0 vue-property-decorator@~9.0.0
npm i -D eslint@~7.10.0 typescript@~4.0.0 @modyqyw/eslint-config-vue@~1.8.0
```

For yarn, run scripts below.

```sh
yarn add vue@~2.6.0 vue-property-decorator@~9.0.0
yarn add -D eslint@~7.10.0 typescript@~4.0.0 @modyqyw/eslint-config-vue@~1.8.0
```

- Set up.

```js
// .eslintrc.js
module.exports = {
  extends: ["@modyqyw/vue"], // for js
  // extends: ["@modyqyw/vue/typescript], // for ts
};
```

## VSCode

- Install plugins.
  - [ESLint](https://marketplace.visualstudio.com/items?itemName=dbaeumer.vscode-eslint)
  - [Prettier](https://marketplace.visualstudio.com/items?itemName=esbenp.prettier-vscode)
  - [Vetur](https://marketplace.visualstudio.com/items?itemName=octref.vetur)
- Set up `Settings.json`. Then `F1 => Format Document` => `F1 => File: Save`.

```json
{
  "editor.codeActionsOnSave": {
    "source.fixAll": true
  },
  "editor.defaultFormatter": "esbenp.prettier-vscode",
  "emmet.includeLanguages": {
    "javascript": "javascriptreact",
    "typescript": "typescriptreact",
    "json": "jsonc",
    "vue-html": "html"
  },
  "eslint.validate": [
    "javascript",
    "javascriptreact",
    "typescript",
    "typescriptreact",
    "html",
    "vue",
    "vue-html"
  ],
  "files.eol": "\n",
  "files.associations": {
    "*.js": "javascriptreact",
    "*.ts": "typescriptreact",
    "*.wxml": "html",
    "*.wxs": "javascriptreact",
    "*.wxss": "css",
    "*.axml": "html",
    "*.sjs": "javascriptreact",
    "*.acss": "css",
    "*.swan": "html",
    "*.ttml": "html",
    "*.ttss": "css",
    "*.jxml": "html",
    "*.jxss": "css",
    "*.wpy": "vue",
    "*.json": "jsonc",
    "*.nvue": "vue",
    "*.ux": "vue"
  },
  "[vue]": {
    "editor.defaultFormatter": "octref.vetur"
  }
}
```

## More Config

- [@modyqyw/eslint-config](https://github.com/MillCloud/eslint-config)
- [@modyqyw/eslint-config-react](https://github.com/MillCloud/eslint-config-react)

## License

[MIT](./LICENSE)

Copyright (c) 2020-present MillCloud
npm package: @modyqyw/eslint-config-vue-ts
Description: An ESLint shareable config for vue with typescript. Also support uni-app and weex.
Author: ModyQyW
Latest version: 1.8.0
Deprecated: This package is deprecated. Use @modyqyw/fabric instead. :D

# @modyqyw/eslint-config-vue-ts

An ESLint shareable config for vue with typescript. Also support uni-app and weex.

## Usage

- Install the config.

```sh
npm i vue@~2.6.0 vue-property-decorator@~9.0.0
npm i -D eslint@~7.10.0 typescript@~4.0.0 @modyqyw/eslint-config-vue-ts@~1.8.0
```

For yarn, run scripts below.

```sh
yarn add vue@~2.6.0 vue-property-decorator@~9.0.0
yarn add -D eslint@~7.10.0 typescript@~4.0.0 @modyqyw/eslint-config-vue-ts@~1.8.0
```

- Add `tsconfig.json` into the project root if you use typescript. Check [Intro to the TSConfig Reference](https://www.typescriptlang.org/tsconfig).

- Set up.

```js
// .eslintrc.js
module.exports = {
  extends: ["@modyqyw/vue-ts"],
};
```

## VSCode

- Install plugins.
  - [ESLint](https://marketplace.visualstudio.com/items?itemName=dbaeumer.vscode-eslint)
  - [Prettier](https://marketplace.visualstudio.com/items?itemName=esbenp.prettier-vscode)
  - [Vetur](https://marketplace.visualstudio.com/items?itemName=octref.vetur)
- Set up `Settings.json`. Then `F1 => Format Document` => `F1 => File: Save`.

```json
{
  "editor.codeActionsOnSave": {
    "source.fixAll": true
  },
  "editor.defaultFormatter": "esbenp.prettier-vscode",
  "emmet.includeLanguages": {
    "javascript": "javascriptreact",
    "typescript": "typescriptreact",
    "json": "jsonc",
    "vue-html": "html"
  },
  "eslint.validate": [
    "javascript",
    "javascriptreact",
    "typescript",
    "typescriptreact",
    "html",
    "vue",
    "vue-html"
  ],
  "files.eol": "\n",
  "files.associations": {
    "*.js": "javascriptreact",
    "*.ts": "typescriptreact",
    "*.wxml": "html",
    "*.wxs": "javascriptreact",
    "*.wxss": "css",
    "*.axml": "html",
    "*.sjs": "javascriptreact",
    "*.acss": "css",
    "*.swan": "html",
    "*.ttml": "html",
    "*.ttss": "css",
    "*.jxml": "html",
    "*.jxss": "css",
    "*.wpy": "vue",
    "*.json": "jsonc",
    "*.nvue": "vue",
    "*.ux": "vue"
  },
  "[vue]": {
    "editor.defaultFormatter": "octref.vetur"
  }
}
```

## More Config

- [@modyqyw/eslint-config](https://github.com/MillCloud/eslint-config)
- [@modyqyw/eslint-config-vue](https://github.com/MillCloud/eslint-config-vue)
- [@modyqyw/eslint-config-react](https://github.com/MillCloud/eslint-config-react)

## License

[MIT](./LICENSE)

Copyright (c) 2020-present MillCloud
npm package: @modyqyw/fabric
Description: Opinionated shareable specifications for git-based JavaScript/TypeScript projects.
Author: ModyQyW
Latest version: 11.8.1

# @modyqyw/fabric

[![npm](https://img.shields.io/npm/v/@modyqyw/fabric)](https://www.npmjs.com/package/@modyqyw/fabric)
[![GitHub license](https://img.shields.io/github/license/ModyQyW/fabric)](https://github.com/ModyQyW/fabric/blob/main/LICENSE)

[English](./README.md) | 简体中文

开箱即用的共享规范，适用于不同的基于 Git 的 JavaScript / TypeScript 项目。

在线文档请查看 [这里](https://fabric.modyqyw.top/zh-Hans)。

## [赞助者们](https://github.com/ModyQyW/sponsors)

<p align="center">
  <a href="https://cdn.jsdelivr.net/gh/ModyQyW/sponsors/sponsorkit/sponsors.svg">
    <img alt="sponsors" src="https://cdn.jsdelivr.net/gh/ModyQyW/sponsors/sponsorkit/sponsors.svg"/>
  </a>
</p>
npm package: @modyqyw/mp-scss
Description: A flexbox-based miniprogram SCSS lib for quickly building custom designs.
Author: ModyQyW
Latest version: 2.5.5
Deprecated: Deprecated! Now it is recommended to use TailwindCSS@1. Specific components can be considered to use UViewUI, ThorUI, UniUI, Vant, NutUI, AntDesignMobile etc.

# @modyqyw/mp-scss

**⚠️ Deprecated! Now it is recommended to use WindiCSS + DaisyUI. Specific components can be considered to use UViewUI, ThorUI, UniUI, Vant, NutUI, AntDesignMobile etc.**

**⚠️ 已废弃！现在推荐使用 WindiCSS + DaisyUI。特定组件可考虑使用 UViewUI、ThorUI、UniUI、VantUI、NutUI、AntDesignMobile 等。**

A flexbox-based miniprogram SCSS lib for quickly building custom designs.

Chinese docs are provided only since miniprograms are used almost only in China.

一个基于 Flexbox 的小程序 SCSS 库，用于快速实现自定义设计。

这个库帮助你在小程序里使用功能类优先的 CSS 框架（比如 Tailwindcss 和 Windicss）。由于小程序的限制，很难直接应用它们，所以这个库诞生了。

[计划](https://github.com/ModyQyW/mp-scss/issues/8)

[Github](https://github.com/ModyQyW/mp-scss#readme) | [Gitee](https://gitee.com/ModyQyW/mp-scss#readme)

完整文档见 [Github Page](https://modyqyw.github.io/mp-scss/) 或 [Gitee Page](https://modyqyw.gitee.io/mp-scss/)。

## 贡献

请阅读 [CONTRIBUTING.md](./CONTRIBUTING.md) 了解行为准则以及提交拉取请求的流程的详细信息。

## 作者

- **Rui Wu** - *最初工作* - [ModyQyW](https://github.com/ModyQyW)

另请参阅参与此项目的 [contributors](https://github.com/ModyQyW/mp-scss/contributors) 列表。

## 协议

[MIT](./LICENSE)

Copyright (c) 2019-present ModyQyW

## 致谢

下面按字母表顺序排列。

- [Ant Design](https://ant.design/)
- [aqua.css](https://aquacss.netlify.app/)
- [Bootstrap](https://getbootstrap.com/)
- [Bulma](https://bulma.io/)
- [Material Design](https://material.io/)
- [Primer Design](https://primer.style/)
- [ress.css](https://ress-css.surge.sh/)
- [Tailwindcss](https://tailwindcss.com/)
- [Vant](https://vant-contrib.gitee.io/vant/)
- [Vuetify](https://vuetifyjs.com/)
- [Windicss](https://windicss.org/)
- [Zan Design](https://design.youzan.com/)
npm package: @modyqyw/prettier-config
Description: A prettier shareable config for JavaScript/TypeScript/CSS/LESS/SCSS.
Author: ModyQyW
Latest version: 1.1.9
Deprecated: This package is deprecated. Use @modyqyw/fabric instead. :D

**DEPRECATED. Check [@modyqyw/fabric](https://github.com/MillCloud/fabric).**

# @modyqyw/prettier-config

A prettier shareable config for JavaScript/TypeScript/CSS/LESS/SCSS.

## Usage

```sh
npm i -D prettier@~2.1.2 @modyqyw/prettier-config@~1.1.9
# or
#yarn add -D prettier@~2.1.2 @modyqyw/prettier-config@~1.1.9
```

Set `prettier` field in `${PROJECT_DIR}/package.json`.

```json
{
  ...,
  "prettier": "@modyqyw/prettier-config",
  ...
}
```

Or use `${PROJECT_DIR}/prettier.config.js` if you want to overwrite.

```js
// ${PROJECT_DIR}/prettier.config.js
const config = require("@modyqyw/prettier-config");

module.exports = {
  ...config,
  // write your own rules here
  printWidth: 100,
};
```

## VSCode

- Install plugins.
  - [Prettier](https://marketplace.visualstudio.com/items?itemName=esbenp.prettier-vscode)
  - [Vetur](https://marketplace.visualstudio.com/items?itemName=octref.vetur)
- Set up `Settings.json`. Then `F1 => Format Document` => `F1 => File: Save`.

```json
{
  "editor.defaultFormatter": "esbenp.prettier-vscode",
  "files.eol": "\n",
  "files.associations": {
    "*.wxml": "html",
    "*.wxs": "javascript",
    "*.wxss": "css",
    "*.axml": "html",
    "*.sjs": "javascript",
    "*.acss": "css",
    "*.swan": "html",
    "*.ttml": "html",
    "*.ttss": "css",
    "*.jxml": "html",
    "*.jxss": "css",
    "*.wpy": "vue",
    "*.nvue": "vue",
    "*.ux": "vue"
  },
  "[vue]": {
    "editor.defaultFormatter": "octref.vetur"
  }
}
```

For auto formatting, use `"editor.formatOnSave": true`.

## More Configs

- `@modyqyw/prettier-config` - [Github](https://github.com/MillCloud/prettier-config#readme) [Gitee](https://gitee.com/millcloud/prettier-config#readme)
- `@modyqyw/eslint-config` - [Github](https://github.com/MillCloud/eslint-config#readme) [Gitee](https://gitee.com/millcloud/eslint-config#readme)
- `@modyqyw/stylelint-config` - [Github](https://github.com/MillCloud/stylelint-config#readme) [Gitee](https://gitee.com/millcloud/stylelint-config#readme)

`@modyqyw/eslint-config` and `@modyqyw/stylelint-config` do not use any `Prettier` config and plugin, while `@modyqyw/fabric` does.

## License

[MIT](./LICENSE)

Copyright (c) 2020-present MillCloud
npm package: @modyqyw/stylelint-config
Description: A Stylelint shareable config for CSS/LESS/SCSS. Supports miniprogram.
Author: ModyQyW
Latest version: 1.0.5
Deprecated: This package is deprecated. Use @modyqyw/fabric instead. :D

**DEPRECATED. Check [@modyqyw/fabric](https://github.com/MillCloud/fabric).**

# @modyqyw/stylelint-config

A Stylelint shareable config for CSS/LESS/SCSS. Supports miniprogram.

## Usage

```sh
npm i -D stylelint@~13.8.0 @modyqyw/stylelint-config@~1.0.5
# or
# yarn add -D stylelint@~13.8.0 @modyqyw/stylelint-config@~1.0.5
```

```js
// ${PROJECT_DIR}/stylelint.config.js
module.exports = {
  extends: ["@modyqyw/stylelint-config/css"], // for css
  // extends: ["@modyqyw/stylelint-config/less"], // for less
  // extends: ["@modyqyw/stylelint-config/scss"], // for scss
};
```

## VSCode

- Install plugins.
  - [Stylelint](https://marketplace.visualstudio.com/items?itemName=stylelint.vscode-stylelint)
  - [Vetur](https://marketplace.visualstudio.com/items?itemName=octref.vetur)
- Set up `Settings.json`. Then `F1 => File: Save`.

```json
{
  "css.validate": false,
  "editor.codeActionsOnSave": {
    "source.fixAll.stylelint": true
  },
  "files.associations": {
    "*.wxml": "html",
    "*.wxs": "javascript",
    "*.wxss": "css",
    "*.axml": "html",
    "*.sjs": "javascript",
    "*.acss": "css",
    "*.swan": "html",
    "*.ttml": "html",
    "*.ttss": "css",
    "*.jxml": "html",
    "*.jxss": "css",
    "*.wpy": "vue",
    "*.nvue": "vue",
    "*.ux": "vue"
  },
  "less.validate": false,
  "scss.validate": false,
  "[vue]": {
    "editor.defaultFormatter": "octref.vetur"
  }
}
```

## More Config

- `@modyqyw/prettier-config` - [Github](https://github.com/MillCloud/prettier-config#readme) [Gitee](https://gitee.com/millcloud/prettier-config#readme)
- `@modyqyw/eslint-config` - [Github](https://github.com/MillCloud/eslint-config#readme) [Gitee](https://gitee.com/millcloud/eslint-config#readme)
- `@modyqyw/stylelint-config` - [Github](https://github.com/MillCloud/stylelint-config#readme) [Gitee](https://gitee.com/millcloud/stylelint-config#readme)

`@modyqyw/eslint-config` and `@modyqyw/stylelint-config` do not use any `Prettier` config and plugin, while `@modyqyw/fabric` does.

## License

[MIT](./LICENSE)

Copyright (c) 2020-present MillCloud
npm package: @modyqyw/stylelint-config-css
Description: A Stylelint shareable config for css. Also support miniprograms.
Author: ModyQyW
Latest version: 1.1.0
Deprecated: This package is deprecated. Use @modyqyw/fabric instead. :D

# @modyqyw/stylelint-config-css

A Stylelint shareable config for css. Also support miniprograms.

## Usage

- Install the config.

```sh
npm i stylelint@~13.7.0 @modyqyw/stylelint-config-css@~1.1.0 -D
```

For yarn, run scripts below.

```sh
yarn add stylelint@~13.7.0 @modyqyw/stylelint-config-css@~1.1.0 -D
```

- Set up.

```js
// stylelint.config.js
module.exports = {
  extends: ["@modyqyw/stylelint-config-css"],
};
```

## VSCode

- Install plugins.
  - [Stylelint](https://marketplace.visualstudio.com/items?itemName=stylelint.vscode-stylelint)
- Set up `Settings.json`. Then `F1 => File: Save`.

```json
{
  "css.validate": false,
  "less.validate": false,
  "scss.validate": false,
  "editor.codeActionsOnSave": {
    "source.fixAll": true
  },
  "files.associations": {
    "*.wxml": "html",
    "*.wxs": "javascript",
    "*.wxss": "css",
    "*.axml": "html",
    "*.sjs": "javascript",
    "*.acss": "css",
    "*.swan": "html",
    "*.ttml": "html",
    "*.ttss": "css",
    "*.jxml": "html",
    "*.jxss": "css",
    "*.wpy": "vue",
    "*.nvue": "vue",
    "*.ux": "vue"
  }
}
```

## More Config

- [@modyqyw/stylelint-config-less](https://github.com/MillCloud/stylelint-config-less)
- [@modyqyw/stylelint-config-scss](https://github.com/MillCloud/stylelint-config-scss)

## License

[MIT](./LICENSE)

Copyright (c) 2020-present MillCloud
npm package: @modyqyw/stylelint-config-less
Description: A Stylelint shareable config for less. Also support miniprograms.
Author: ModyQyW
Latest version: 1.1.0
Deprecated: This package is deprecated. Use @modyqyw/fabric instead. :D

# @modyqyw/stylelint-config-less

A Stylelint shareable config for less. Also support miniprograms.

## Usage

- Install the config.

```sh
npm i stylelint@~13.7.0 @modyqyw/stylelint-config-less@~1.1.0 -D
```

For yarn, run scripts below.

```sh
yarn add stylelint@~13.7.0 @modyqyw/stylelint-config-less@~1.1.0 -D
```

- Set up.

```js
// stylelint.config.js
module.exports = {
  extends: ["@modyqyw/stylelint-config-less"],
};
```

## VSCode

- Install plugins.
  - [Stylelint](https://marketplace.visualstudio.com/items?itemName=stylelint.vscode-stylelint)
- Set up `Settings.json`. Then `F1 => File: Save`.

```json
{
  "css.validate": false,
  "less.validate": false,
  "scss.validate": false,
  "editor.codeActionsOnSave": {
    "source.fixAll": true
  },
  "files.associations": {
    "*.wxml": "html",
    "*.wxs": "javascript",
    "*.wxss": "css",
    "*.axml": "html",
    "*.sjs": "javascript",
    "*.acss": "css",
    "*.swan": "html",
    "*.ttml": "html",
    "*.ttss": "css",
    "*.jxml": "html",
    "*.jxss": "css",
    "*.wpy": "vue",
    "*.nvue": "vue",
    "*.ux": "vue"
  }
}
```

## More Config

- [@modyqyw/stylelint-config-css](https://github.com/MillCloud/stylelint-config-css)
- [@modyqyw/stylelint-config-scss](https://github.com/MillCloud/stylelint-config-scss)

## License

[MIT](./LICENSE)

Copyright (c) 2020-present MillCloud
npm package: @modyqyw/stylelint-config-scss
Description: A Stylelint shareable config for scss. Also support miniprograms.
Author: ModyQyW
Latest version: 1.1.0
Deprecated: This package is deprecated. Use @modyqyw/fabric instead. :D

# @modyqyw/stylelint-config-scss

A Stylelint shareable config for scss. Also support miniprograms.

## Usage

- Install the config.

```sh
npm i stylelint@~13.7.0 @modyqyw/stylelint-config-scss@~1.1.0 -D
```

For yarn, run scripts below.

```sh
yarn add stylelint@~13.7.0 @modyqyw/stylelint-config-scss@~1.1.0 -D
```

- Set up.

```js
// stylelint.config.js
module.exports = {
  extends: ["@modyqyw/stylelint-config-scss"],
};
```

## VSCode

- Install plugins.
  - [Stylelint](https://marketplace.visualstudio.com/items?itemName=stylelint.vscode-stylelint)
- Set up `Settings.json`. Then `F1 => File: Save`.

```json
{
  "css.validate": false,
  "less.validate": false,
  "scss.validate": false,
  "editor.codeActionsOnSave": {
    "source.fixAll": true
  },
  "files.associations": {
    "*.wxml": "html",
    "*.wxs": "javascript",
    "*.wxss": "css",
    "*.axml": "html",
    "*.sjs": "javascript",
    "*.acss": "css",
    "*.swan": "html",
    "*.ttml": "html",
    "*.ttss": "css",
    "*.jxml": "html",
    "*.jxss": "css",
    "*.wpy": "vue",
    "*.nvue": "vue",
    "*.ux": "vue"
  }
}
```

## More Config

- [@modyqyw/stylelint-config-css](https://github.com/MillCloud/stylelint-config-css)
- [@modyqyw/stylelint-config-less](https://github.com/MillCloud/stylelint-config-less)

## License

[MIT](./LICENSE)

Copyright (c) 2020-present MillCloud
npm package: @moe-cryo/utils
Description: [![jsr package](https://jsr.io/badges/@moe-cryo/utils)](https://jsr.io/@moe-cryo/utils) ![jsr score](https://jsr.io/badges/@moe-cryo/utils/score) [![MIT License](https://img.shields.io/npm/l/@moe-cryo/utils)](https://github.com/moe-cryo/utils/blob/main/LI
Author: moe-cryo
Latest version: 1.0.0

# @moe-cryo/utils

[![jsr package](https://jsr.io/badges/@moe-cryo/utils)](https://jsr.io/@moe-cryo/utils)
![jsr score](https://jsr.io/badges/@moe-cryo/utils/score)
[![MIT License](https://img.shields.io/npm/l/@moe-cryo/utils)](https://github.com/moe-cryo/utils/blob/main/LICENSE)
![npm package](https://img.shields.io/npm/dm/@moe-cryo/utils)
[![codecov](https://codecov.io/gh/moe-cryo/utils/graph/badge.svg?token=LKZGX743RW)](https://codecov.io/gh/moe-cryo/utils)

一个常用的工具类库, 无依赖， 任何运行时。

A common JavaScript utility library, zero dependencies, any runtime.

## Install

```sh
# pnpm
pnpm add @moe-cryo/utils
# yarn
yarn add @moe-cryo/utils
#npm
npm install @moe-cryo/utils
```

## Usage

See [Document](https://jsr.io/@moe-cryo/utils)