open-index/open-npm huggingface dataset:
npm package: @moeui/git-cli
Description: cli脚手架工具
Author: wey
Latest version: 0.0.2

# git-cli
通过node执行命令行git clone的脚手架

## Install
``` js
yarn add @moeui/git-cli -g  

// or 

npm i @moeui/git-cli -g
```

## use
``` js
git-cli create [project name]
```


## directory structure
    /
    ├── bin
    |   ├── alterFile             // 修改模板的项目名
    |   ├── cli                   // 可执行文件
    |   ├── constants.js          // 常量
    |   ├── create.js             // 创建文件咨询
    |   └── Generator.js          // 模板选项及下载
    ├── package.json
    └── README.md

## attention

1. 私有库需要本地配置ssh私钥
npm package: @moeui/number-format
Description: yarn add @moeui/number-format
Author: zkeyword
Latest version: 0.1.9

### Install

    yarn add @moeui/number-format  

    // or 

    npm i @moeui/number-format
    
### Use

    import { formatMoney, formatDecimal } from '@moeui/number-format'

    formatMoney('1111.987654321', 4) // 1,111.9876
    formatMoney('-1111.987654321', 4) // -1,111.9876
    formatMoney('-abcd', 4) // 0.0000
    
    formatDecimal(1111.987654321, 4) // 1111.9876
    formatDecimal(-1111.987654321, 4) // -1111.9876
npm package: @moeui/react-auto-size-input
Description: [![release](https://github.com/moeui/react-auto-size-input/actions/workflows/release.yml/badge.svg)](https://github.com/moeui/react-auto-size-input/actions/workflows/release.yml)
Author: zkeyword
Latest version: 0.0.10

[![release](https://github.com/moeui/react-auto-size-input/actions/workflows/release.yml/badge.svg)](https://github.com/moeui/react-auto-size-input/actions/workflows/release.yml)

# react-auto-size-input

Adjust the width according to the text, and can reach a certain length to reduce the font size.

## Install

    yarn add @moeui/react-auto-size-input // or npm i @moeui/react-auto-size-input -S

## Use

    import Input from '@moeui/react-auto-size-input'

     <Input value={value} onChange={val => setValue(val)} />

## Props

| Name           | Description                                         | Type                                 | Default    |
| -------------- | --------------------------------------------------- | ------------------------------------ | ---------- |
| value          | input value                                         | `string`                             | `'0'`      |
| onChange       | Triggered when the input content is changed         | `(value: string) => void`            | -          |
| onKeyDown      | Triggered when the input content is onKeyDowned     | `(e: KeyboardEvent) => void`         | -          |
| className      | Input class name                                    | `string`                             | -          |
| prefix         | The prefix icon for the Input                       | `() => React.ReactElement \| string` | -          |
| suffix         | The suffix dom for the Input	                       | `() => React.ReactElement \| string` | -          |
| maxLength      | The maximum number of characters the user can enter | `number`                             | 20         |
| shrink         | Text shrinks the length limit                       | `number`                             | 12         |
| shrinkFontSize | Text shrinks font size                              | `number`                             | 26         |
| fontSize 	     | Text font size                                      | `number`                             | 36         |
| defaultValue   | input value is empty displayed value                | `string`                             | `'0'`      |

## Ref

| Name          | Description                  | Type                         |
| ------------- | ---------------------------- | ---------------------------- |
| blur          | Let the input box lose focus | `() => void`                 |
| clear         | Clear the input content      | `() => void`                 |
| focus         | Let the input box get focus  | `() => void`                 |

### CSS Variables

| Name                | Description             | Default                  |
| ------------------- | ----------------------- | ------------------------ |
| --color             | Text color.             | #000                     | 
| --background        | The input background    | #fff                     |
npm package: @moeui/react-simple-pagination
Description: yarn add @moeui/react-simple-pagination // or npm i @moeui/react-simple-pagination -S
Author: zkeyword
Latest version: 0.1.6

## Install

    yarn add @moeui/react-simple-pagination // or npm i @moeui/react-simple-pagination -S

## Use

    import Pagination from '@moeui/react-simple-pagination'

    let visible = false

    <Pagination 
        pageSize={2} 
        total={10} 
        onChange={val =>{}} 
        text={(page, allPage)=>`${page}/${allPage}`} // optional 
        className="examplePagination"                // optional
        visible={visible}                            // optional
    />
npm package: @moeui/storage
Description: yarn add @moeui/storage
Author: zkeyword
Latest version: 0.1.2

### Install

    yarn add @moeui/storage

    // or 

    npm i @moeui/storage
### Use

    import storage from '@moeui/storage'

    storage.set('language', 'zh_CN')

    storage.get('language')