open-index/open-npm huggingface dataset:
npm package: @miaolin1993/testcli
Description: [![npm](https://img.shields.io/badge/npm-1.0.4-brightgreen)](https://github.com/snowdreams1006)
Author: lx
Latest version: 1.0.4

# @miaolin1993/testcli

[![npm](https://img.shields.io/badge/npm-1.0.4-brightgreen)](https://github.com/snowdreams1006)

### About this project
This is a test project, study publish npm and create a easy CLI tools.

### How to use?
The npm command is mlcli.
Use this command to create a React + Typescript + Mobx project.

### For example

```
mlcli init
```
npm package: @miaolin777/react-zw-twelve
Description: A React component for Twelve Palaces calculation
Author: 林学风
Latest version: 1.1.10

# @miaolin777/react-zw-twelve

用于展示紫微斗数十二基础盘的 React 组件

- 可通过紫微星所在位置不同，了解其基础布局
- 可锁定紫微星位置，来查看命宫在不同地支宫位时，其他宫位主星分布
- 可以看到不同主星在十二地支宫位的亮度情况

## 安装

```bash
npm install @miaolin777/react-zw-twelve
# 或
yarn add @miaolin777/react-zw-twelve
# 或
pnpm add @miaolin777/react-zw-twelve
```

## 使用方法

```tsx
import { Twelve } from 'react-zw-twelve';

function App() {
  return (
    <Twelve />
  );
}
```

```bash
pnpm install

pnpm run dev

pnpm build
```

## 许可证
MIT License
npm package: @miaolin777/vue-zw-twelve
Description: 用于展示紫微斗数十二基础盘的 Vue 组件
Author: 林学风
Latest version: 0.0.6

# @miaolin777/vue-zw-twelve

用于展示紫微斗数十二基础盘的 Vue 组件

- 可通过紫微星所在位置不同，了解其基础布局
- 可锁定紫微星位置，来查看命宫在不同地支宫位时，其他宫位主星分布
- 可以看到不同主星在十二地支宫位的亮度情况

## 安装

```bash
npm install @miaolin777/vue-zw-twelve
# 或
yarn add @miaolin777/vue-zw-twelve
# 或
pnpm add @miaolin777/vue-zw-twelve
```

## 使用方法

```tsx
import { Twelve } from '@miaolin777/vue-zw-twelve';

function App() {
  return (
    <Twelve />
  );
}
```

```bash
pnpm install

pnpm run dev

pnpm build
```

## 许可证
MIT License
npm package: @miaooo/class-transformer-split
Description: A class transformer helper that splits the string into multiple string.
Author: Val.istar.Guo
Latest version: 1.0.1
Deprecated: Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.

# @miaooo/class-transformer-split

[![version](https://img.shields.io/npm/v/@miaooo/class-transformer-split.svg?style=flat-square)](https://www.npmjs.com/package/@miaooo/class-transformer-split)
[![downloads](https://img.shields.io/npm/dm/@miaooo/class-transformer-split.svg?style=flat-square)](https://www.npmjs.com/package/@miaooo/class-transformer-split)
[![license](https://img.shields.io/npm/l/@miaooo/class-transformer-split.svg?style=flat-square)](https://www.npmjs.com/package/@miaooo/class-transformer-split)
[![dependencies](https://img.shields.io/david/Val-istar-Guo/class-transformer-split.svg?style=flat-square)](https://www.npmjs.com/package/@miaooo/class-transformer-split)
[![coveralls](https://img.shields.io/coveralls/github/Val-istar-Guo/class-transformer-split.svg?style=flat-square)](https://coveralls.io/github/Val-istar-Guo/class-transformer-split)

> **DEPRECATED**
>
> **This package has been deprecated. Please use** [**@buka/class-transformer-extra**](https://www.npmjs.com/package/@buka/class-transformer-extra) **instead**.

<!-- description -->

A class transformer helper that splits the string into multiple string.

<!-- description -->

## Usage

<!-- usage -->

```typescript
// my-query.dto.ts
export MyQueryDTO {
  @ApiProperty({ type: 'string' })
  @Split(',')
  types: string[];
}
```

```typescript
// my.controller.ts
@Controller()
export class MyController {
  @Get("/")
  async get(@Query() filter: MyQueryDTO) {
    // query.types will be splited by ',' automated
    return query;
  }
}
```

<!-- usage -->

<!-- addition --><!-- addition -->

## Contributing & Development

If there is any doubt, it is very welcome to discuss the issue together.
Please read [Contributor Covenant Code of Conduct](.github/CODE_OF_CONDUCT.md) and [CONTRIBUTING](.github/CONTRIBUTING.md).
npm package: @miaooo/class-transformer-trim
Description: A class transformer helper that trim the string
Author: Val.istar.Guo
Latest version: 1.0.1
Deprecated: Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.

# @miaooo/class-transformer-trim

[![version](https://img.shields.io/npm/v/@miaooo/class-transformer-trim.svg?style=flat-square)](https://www.npmjs.com/package/@miaooo/class-transformer-trim)
[![downloads](https://img.shields.io/npm/dm/@miaooo/class-transformer-trim.svg?style=flat-square)](https://www.npmjs.com/package/@miaooo/class-transformer-trim)
[![license](https://img.shields.io/npm/l/@miaooo/class-transformer-trim.svg?style=flat-square)](https://www.npmjs.com/package/@miaooo/class-transformer-trim)
[![dependencies](https://img.shields.io/david/Val-istar-Guo/class-transformer-trim.svg?style=flat-square)](https://www.npmjs.com/package/@miaooo/class-transformer-trim)
[![coveralls](https://img.shields.io/coveralls/github/Val-istar-Guo/class-transformer-trim.svg?style=flat-square)](https://coveralls.io/github/Val-istar-Guo/class-transformer-trim)

> **DEPRECATED**
>
> **This package has been deprecated. Please use** [**@buka/class-transformer-extra**](https://www.npmjs.com/package/@buka/class-transformer-extra) **instead**.

<!-- description -->

A class transformer helper that trim the string.

<!-- description -->

## Usage

<!-- usage -->

```typescript
import { Trim } from '@miaooo/class-transformer-trim';

// my.dto.ts
export MyDTO {
  @ApiProperty({ type: 'string' })
  @Trim()
  name: string;
}
```

<!-- usage -->

<!-- addition -->
<!-- addition -->

## Contributing & Development

If there is any doubt, it is very welcome to discuss the issue together.
Please read [Contributor Covenant Code of Conduct](.github/CODE_OF_CONDUCT.md) and [CONTRIBUTING](.github/CONTRIBUTING.md).
npm package: @miaooo/nestjs-take-type
Description: NestJS helper function that combined PartialType and PickType
Author: Val.istar.Guo
Latest version: 1.2.0

# @miaooo/nestjs-take-type

[![version](https://img.shields.io/npm/v/@miaooo/nestjs-take-type.svg?style=flat-square)](https://www.npmjs.com/package/@miaooo/nestjs-take-type)
[![downloads](https://img.shields.io/npm/dm/@miaooo/nestjs-take-type.svg?style=flat-square)](https://www.npmjs.com/package/@miaooo/nestjs-take-type)
[![license](https://img.shields.io/npm/l/@miaooo/nestjs-take-type.svg?style=flat-square)](https://www.npmjs.com/package/@miaooo/nestjs-take-type)
[![dependencies](https://img.shields.io/librariesio/github/Val-istar-Guo/nestjs-take-type.svg?style=flat-square)](https://www.npmjs.com/package/@miaooo/nestjs-take-type)
[![coveralls](https://img.shields.io/coveralls/github/Val-istar-Guo/nestjs-take-type.svg?style=flat-square)](https://coveralls.io/github/Val-istar-Guo/nestjs-take-type)



<!-- description -->
NestJS helper function that combined PartialType and PickType,
reduce duplicate definitions of parameters in dto.<!-- description -->

## Usage

<!-- usage -->
```typescript
// my-entity.entity.ts
import { Entity, Column, PriamryGeneratedColumn } from 'typeorm'
import { IsString, IsNumber } from 'class-transformer'

@Entity()
export class MyEntity {
  @PrimaryGeneratedColumn()
  id: number;

  @IsString()
  @Column()
  type: string;

  @IsNumber()
  @Column()
  age: number;
}
```

```typescript
// my-entity.filter.dto.ts
import { TakeType } from '@miaooo/nestjs-take-type'
import { IsString, IsNumber } from 'class-transformer'

export class MyEntityFilerDTO extends TakeType(
  MyEntity,
  // required params
  ['type'],
  // optional params
  ['age'],
)  {}

// this is equal to
export class MyEntityFilerDTO {
  @IsString()
  type!: string;

  @IsOptional()
  @IsNumber()
  age?: number;
}
```
<!-- usage -->

<!-- addition --><!-- addition -->


## Contributing & Development

If there is any doubt, it is very welcome to discuss the issue together.
Please read [Contributor Covenant Code of Conduct](.github/CODE_OF_CONDUCT.md) and [CONTRIBUTING](.github/CONTRIBUTING.md).
npm package: @miaou/railway-pipeline
Description: Double railway pipeline
Author: Thibaut Mottet
Latest version: 1.1.0

# `@miaou/railway-pipeline` Double railway pipeline 

## Install

```bash
yarn add --exact @miaou/railway-pipeline
```

## Get started

```typescript
import { pipe } from '@miaou/railway-pipeline'

const result = await pipe(1)
    .next(value => value + 1)
    .next(value => Promise.resolve(value + 10))
    .end()

console.log(result) // { tag: 'success', success: 12 }
```

---

## Development

### How to use

```
yarn install
```

### Test

You can use `yarn link` to debug the module

### Release commit semantic

The release is automated by release-semantic plugin. When merge to master:

- Generate tag version
- Automate library versioning based on commit history
- Generate changelog based on commit history

```text
<type>(<scope>): <short summary>
  │       │             │
  │       │             └─⫸ Summary in present tense. Not capitalized. No period at the end.
  │       │
  │       └─⫸ Commit Scope: animations|bazel|benchpress|common|compiler|compiler-cli|core|ect.
  │
  └─⫸ Commit Type: build|ci|docs|feat|fix|perf|refactor|test
```

###### Usage

```text
fix: testing patch releases
```

```text
feat: testing minor releases
```

```text
feat: testing major releases

BREAKING CHANGE: This is a breaking change.
```
npm package: @miaowuu/catools
Description: A react library developed with dumi
Latest version: 0.0.2

# CATools

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

A react library developed with dumi

## Usage

TODO

## Options

TODO

## Development

```bash
# install dependencies
$ npm install

# develop library by docs demo
$ npm start

# build library source code
$ npm run build

# build library source code in watch mode
$ npm run build:watch

# build docs
$ npm run docs:build

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

## LICENSE

MIT
npm package: @miaoxing/dev
Description: Miaoxing Coding Standards
Author: twinh
Latest version: 9.3.1

# Miaoxing Dev

[![GitHub Workflow Status](https://img.shields.io/github/actions/workflow/status/miaoxing/dev/build.yml?style=flat-square)](https://github.com/miaoxing/dev/actions)
[![Coverage Status](https://img.shields.io/coveralls/miaoxing/dev.svg?style=flat-square)](https://coveralls.io/r/miaoxing/dev)
[![License](http://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat-square)](http://www.opensource.org/licenses/MIT)

## PHPCS 使用方法

1. 取出到本地

  ```sh
  git clone https://github.com/miaoxing/dev.git path/to/coding-standards
  ```

2. 加入phpcs的安装目录

  ```sh
  phpcs --config-set installed_paths path/to/coding-standards
  ```

3. 检查安装结果

  ```sh
  phpcs -i

  # 输出包含 "Miaoxing"
  'The installed coding standards are MySource, PEAR, PHPCS, PSR1, PSR2, Squiz, Zend and Miaoxing'
  ```
npm package: @miaoxing/docker
Description: [![License](http://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat-square)](http://www.opensource.org/licenses/MIT)
Latest version: 0.1.5

# Miaoxing Docker

[![License](http://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat-square)](http://www.opensource.org/licenses/MIT)
npm package: @miaoying-ai/miaoying-cli
Description: 秒应 CLI 工具 - 创建统计、投票、预约、考试、查查并导出数据
Author: 积致科技（北京）有限公司
Latest version: 1.0.0

# miaoying CLI

秒应（Miaoying）开放接口命令行工具

## 安装

```bash
npm install -g miaoying
```

## 使用方法

### 设置 API Key

方式一：环境变量

```bash
export MIAOYING_API_KEY="your_api_key_here"
```

方式二：命令行参数

```bash
miaoying create --title "测试统计" --api-key "your_api_key_here"
```

### 创建统计

```bash
miaoying create --title "每日打卡" --desc "请完成每日打卡" --qrcode
```

### 创建投票

```bash
miaoying vote --title "选择班干部" --single --qrcode
```

### 创建预约

```bash
miaoying book --title "医生咨询预约" --slots 1 --count 20 --qrcode
```

### 创建考试

```bash
miaoying exam --title "期中考试" --duration 90 --qrcode
```

### 导出数据

```bash
miaoying export <activity-id> --type tongji
```

支持的类型：tongji, booking, toupiao, chacha

### 获取帮助

```bash
miaoying help
```

## API Key 申请

访问 https://miaoying.hui51.cn/apikey 创建 API 密钥
npm package: @miaozo/bitnumber
Description: bits to number
Author: mattf
Latest version: 1.0.2

#bitnumber

```javascript

const {BitNumber, BitDescriptor} = require('@miaozo/bitnumber')

let a = new BitNumber(16, [
    new BitDescriptor(0, 0, 1, 'a1'),
    new BitDescriptor(1, 2, 2, 'a2'),
    new BitDescriptor(3, 3, 1, 'a3'),
    new BitDescriptor(8, 15, 89, 'a4'),
]);

console.assert(a.value.toString(2) === '101100100001101', 'abc');

let b = new BitNumber(16, a.cloneDescriptors(), 1);

console.assert(a.value === b.value, 'abc');
console.assert(a.get('a1') === b.get('a1'), JSON.stringify([a.get('a1'), b.get('a1')]));
console.assert(a.get('a2') === b.get('a2'), JSON.stringify([a.get('a2'), b.get('a2')]));
console.assert(a.get('a3') === b.get('a3'), JSON.stringify([a.get('a3'), b.get('a3')]));
console.assert(a.get('a4') === b.get('a4'), JSON.stringify([a.get('a4'), b.get('a4')]));

```
npm package: @miaozo/sync-response
Description: async response to sync
Author: mattf
Latest version: 1.0.1

```javascript
const cfg = require('config');
let request_channel = Date.now().toString() + '_req';
let response_channel = Date.now().toString() + '_resp';
let client = new SyncResponseClient(request_channel,
    response_channel,
    cfg.get('sync_response_client.redis'),
    async (channel, message) => {
        let reqMsg = RequestMessage.fromMessageString(message);
        await client.publish(response_channel, 
            new ResponseMessage(reqMsg.requestId, 
            JSON.stringify({code: 0, message: Date.now().toString(16)})).toMessageString());
    });
client.resp(
    new RequestMessage('861111111000001' + Date.now().toString(),
        JSON.stringify({
            a: 1,
            b: Buffer.from('hello').toString('hex')})), 1000)
    .then((respMsg) => {
        console.log(respMsg);
    });
```