open-index/open-npm huggingface dataset:
npm package: @naiheyoung/open-cli
Description: find local files and open them.
Author: Naihe
Latest version: 1.0.2

**查找并打开指定文件或目录(Windows)**

<br>

**USAGE**

```bash
npm install @naiheyoung/open-cli -g
open -h
```

**COMMAND**

```bash
open <folder>           # 打开指定目录
     -e                 # 在资源管理器中打开目标目录
open config list        # 显示配置文件信息
open config get <key>   # 获取配置
open config set <k> <v> # 设置配置

# 默认以vscode打开目录
# 也可以直接在%username%/.breeze-open-cli.json文件中修改配置
```

**❗❗❗**

> 该命令依赖于 Everything 文件服务, 因此使用前需要在`.breeze-open-cli.json`中配置服务认证信息

<samp>code is licensed under <a href='./LICENSE'>MIT</a>,<br> words and images are licensed under <a href='https://creativecommons.org/licenses/by-nc-sa/4.0/'>CC BY-NC-SA 4.0</a></samp>.
npm package: @naiheyoung/pkg-lite
Description: A TypeScript library template with CJS + ESM + CLI support
Author: Naihe
Latest version: 1.0.0

**the typescript build template**

<br>

<samp>code is licensed under <a href='./LICENSE'>MIT</a>,<br> words and images are licensed under <a href='https://creativecommons.org/licenses/by-nc-sa/4.0/'>CC BY-NC-SA 4.0</a></samp>.

```bash
hello <name> # hello people
hello --help
```

> If you want to package static resources, please put them in the `public` folder.
npm package: @naiheyoung/prettier
Description: personal prettier configuration.
Author: Naihe
Latest version: 0.0.6

## Personal Prettier Configuration.

> [!NOTE]
> This configuration includes two built-in plugins: one for sorting HTML attributes and another for organizing TypeScript import statements.<br>
> I believe formatting tools should assist good coding practices rather than compensate for careless ones.<br>
> Plugins serve only as auxiliary tools!

### USED

```sh
pnpm add -D @naiheyoung/prettier
```

#### `.prettierrc`

```plain
"@naiheyoung/prettier"
```

#### `.prettierrc.mjs`

```ts
import n from '@naiheyoung/prettier'

export default n
```

### Command Syntax Supported

> Inspired by [`eslint-plugin-command`](https://eslint-plugin-command.antfu.me)

- [x] toarrow / tofun

### Example Output

```vue
<template>
  <div a b c @click>something.</div>
</template>

<script setup lang="ts">
import type xxx from 'xxx'
import xxxx from 'xxx'
import { a, b, c, _ } from 'xxx'
</script>
```

see more [`plugin.test.ts`](https://github.com/naiheyoung/prettier-config/blob/main/__tests__/plugin.test.ts)

### Default Rules

```ts
{
  html: {
    lang: 0
  },
  meta: {
    charset: 0,
    name: 1,
    content: 2
  },
  link: {
    rel: 0,
    href: 1,
    type: 2
  },
  script: {
    type: 0,
    setup: 0,
    src: 1,
    lang: 1
  },
  svg: {
    xmlns: 0,
    width: 1,
    height: 2
  },
  other: {
    id: 0,
    ':id': 0,
    ref: 1,
    ':ref': 1,
    style: 2,
    ':style': 2,
    class: 3,
    ':class': 3,
    ':': 4
  }
}
```

> Ideally, the configuration would accept a custom object.<br>
> However, Prettier plugins don't currently support parameters of type `object` or `function`, so this is the current limitation.<br>
> Perhaps this will change in the future :man_shrugging:.
npm package: @naiheyoung/tsbuild-lite
Description: A TypeScript library template with CJS + ESM + CLI support
Author: Naihe
Latest version: 1.0.1
Deprecated: Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.

**the typescript build template**

<br>

<samp>code is licensed under <a href='./LICENSE'>MIT</a>,<br> words and images are licensed under <a href='https://creativecommons.org/licenses/by-nc-sa/4.0/'>CC BY-NC-SA 4.0</a></samp>.

```bash
hello <name> # hello people
hello --help
```