open-index/open-npm huggingface dataset:
npm package: @iconpark-miniprogram-sht/cli
Description: icon-park miniProgram code generator
Author: yangger6
Latest version: 0.0.4

# IconPark Mini Program Cli

---

icon-park 小程序组件构建

[![oclif](https://img.shields.io/badge/cli-oclif-brightgreen.svg)](https://oclif.io)
[![Version](https://img.shields.io/npm/v/@iconpark-miniprogram-sht/cli.svg)](https://npmjs.org/package/@iconpark-miniprogram-sht/cli)
[![Downloads/week](https://img.shields.io/npm/dw/@iconpark-miniprogram-sht/cli.svg)](https://npmjs.org/package/@iconpark-miniprogram-sht/cli)
[![License](https://img.shields.io/npm/l/@iconpark-miniprogram/cli.svg)](https://github.com/yangger6/iconpark-miniprogram/blob/master/packages/cli/package.json)
## 声明 
### 这里只是修改了一下bug，使其可以支持更多的Icon


## 特性

* 自动检测分析项目根目录的 `iconpark-miniprogram.json`
* 支持构建微信小程序的组件

## 使用方法
<!-- usage -->
```sh-session
$ npm install -g @iconpark-miniprogram-sht/cli
$ iconpark-miniprogram-sht COMMAND
running command...
$ iconpark-miniprogram-sht --help [COMMAND]
USAGE
  $ iconpark-miniprogram-sht COMMAND
...

```

## 示例

> ⚠️ 如何获取iconpark的链接和数量 ⬇️

![图片示例](https://github.com/yangger6/iconpark-miniprogram/blob/master/packages/cli/example.png)

### 1. 在小程序项目根目录创建 `iconpark-miniprogram.json`

```
  {
    "link": "https://lf1-cdn-tos.bytegoofy.com/obj/iconpark/svg_4748_4.6e9e78e1ff1d1089dd55d318b7c8e76f.js", // iconpark svg 文件
    "total": 4, // 图标总数
    "path": "./components/iconParks/", // 组件保存路径
    "runtime": "weapp" // 运行平台 weapp ｜ alipay
  }
```

### 2. 构建`微信小程序`或`支付宝小程序`组件.

使用配置文件`iconpark-miniprogram.json`构建组件

```shell
$ iconpark-miniprogram-sht // Automatic `iconpark-miniprogram.json` parsing 
// or
$ iconpark-miniprogram-sht -c ./iconpark-miniprogram.example.json
```

### 3. 或者使用命令构建

```shell
$ iconpark-miniprogram-sht --link https://lf1-cdn-tos.bytegoofy.com/obj/iconpark/svg_4748_4.6e9e78e1ff1d1089dd55d318b7c8e76f.js --total 4 --path ./components/iconParks --runtime weapp
```
npm package: @iconpark-miniprogram-sht/core
Description: code gen icon-park
Author: yangger
Latest version: 0.0.4

# IconPark Mini Program Taro

---

[![Version](https://img.shields.io/npm/v/@iconpark-miniprogram/core.svg)](https://npmjs.org/package/@iconpark-miniprogram/core)
[![Downloads/week](https://img.shields.io/npm/dw/@iconpark-miniprogram/core.svg)](https://npmjs.org/package/@iconpark-miniprogram/core)
[![License](https://img.shields.io/npm/l/@iconpark-miniprogram/core.svg)](https://github.com/yangger6/iconpark-miniprogram/blob/master/packages/core/package.json)

> convert svg -> base64Data

> ⚠️ This package is intended for internal use only.
npm package: @iconpark-miniprogram-sht/taro
Description: icon-park with taro
Author: yangger
Latest version: 0.0.4

# IconPark Mini Program Taro

---

[![Version](https://img.shields.io/npm/v/@iconpark-miniprogram/taro.svg)](https://npmjs.org/package/@iconpark-miniprogram/taro)
[![Downloads/week](https://img.shields.io/npm/dw/@iconpark-miniprogram/taro.svg)](https://npmjs.org/package/@iconpark-miniprogram/taro)
[![License](https://img.shields.io/npm/l/@iconpark-miniprogram/taro.svg)](https://github.com/yangger6/iconpark-miniprogram/blob/master/packages/taro/package.json)

> use in taro 3.x

## Installing

Using npm

`$ npm install @iconpark-miniprogram/taro`

Using yarn

`$ yarn add @iconpark-miniprogram/taro`

## Example

```
import {User} from '@iconpark-miniprogram/taro'

export default function Index() {
    return (<View>
        <User fill='#000' color='#fff' />
    </View>)
}

```
npm package: @iconpark-miniprogram/cli
Description: icon-park miniProgram code generator
Author: yangger6
Latest version: 0.0.26

# IconPark Mini Program Cli

---

icon-park 小程序组件构建

[![oclif](https://img.shields.io/badge/cli-oclif-brightgreen.svg)](https://oclif.io)
[![Version](https://img.shields.io/npm/v/@iconpark-miniprogram/cli.svg)](https://npmjs.org/package/@iconpark-miniprogram/cli)
[![Downloads/week](https://img.shields.io/npm/dw/@iconpark-miniprogram/cli.svg)](https://npmjs.org/package/@iconpark-miniprogram/cli)
[![License](https://img.shields.io/npm/l/@iconpark-miniprogram/cli.svg)](https://github.com/yangger6/iconpark-miniprogram/blob/master/packages/cli/package.json)

## 特性

* 自动检测分析项目根目录的 `iconpark-miniprogram.json`
* 支持构建微信小程序的组件

## 使用方法
<!-- usage -->
```sh-session
$ npm install -g @iconpark-miniprogram/cli
$ iconpark-miniprogram COMMAND
running command...
$ iconpark-miniprogram --help [COMMAND]
USAGE
  $ iconpark-miniprogram COMMAND
...

```

## 示例

> ⚠️ 如何获取iconpark的链接和数量 ⬇️

![图片示例](https://github.com/yangger6/iconpark-miniprogram/blob/master/packages/cli/example.png)

### 1. 在小程序项目根目录创建 `iconpark-miniprogram.json`

```
  {
    "link": "https://lf1-cdn-tos.bytegoofy.com/obj/iconpark/svg_4748_4.6e9e78e1ff1d1089dd55d318b7c8e76f.js", // iconpark svg 文件
    "total": 4, // 图标总数
    "path": "./components/iconParks/", // 组件保存路径
    "runtime": "weapp" // 运行平台 weapp ｜ alipay
  }
```

### 2. 构建`微信小程序`或`支付宝小程序`组件.

使用配置文件`iconpark-miniprogram.json`构建组件

```shell
$ iconpark-miniprogram // Automatic `iconpark-miniprogram.json` parsing 
// or
$ iconpark-miniprogram -c ./iconpark-miniprogram.example.json
```

### 3. 或者使用命令构建

```shell
$ iconpark-miniprogram --link https://lf1-cdn-tos.bytegoofy.com/obj/iconpark/svg_4748_4.6e9e78e1ff1d1089dd55d318b7c8e76f.js --total 4 --path ./components/iconParks --runtime weapp
```
npm package: @iconpark-miniprogram/core
Description: code gen icon-park
Author: yangger
Latest version: 0.0.26

# IconPark Mini Program Taro

---

[![Version](https://img.shields.io/npm/v/@iconpark-miniprogram/core.svg)](https://npmjs.org/package/@iconpark-miniprogram/core)
[![Downloads/week](https://img.shields.io/npm/dw/@iconpark-miniprogram/core.svg)](https://npmjs.org/package/@iconpark-miniprogram/core)
[![License](https://img.shields.io/npm/l/@iconpark-miniprogram/core.svg)](https://github.com/yangger6/iconpark-miniprogram/blob/master/packages/core/package.json)

> convert svg -> base64Data

> ⚠️ This package is intended for internal use only.
npm package: @iconpark-miniprogram/taro
Description: icon-park with taro
Author: yangger
Latest version: 0.0.26

# IconPark Mini Program Taro

---

[![Version](https://img.shields.io/npm/v/@iconpark-miniprogram/taro.svg)](https://npmjs.org/package/@iconpark-miniprogram/taro)
[![Downloads/week](https://img.shields.io/npm/dw/@iconpark-miniprogram/taro.svg)](https://npmjs.org/package/@iconpark-miniprogram/taro)
[![License](https://img.shields.io/npm/l/@iconpark-miniprogram/taro.svg)](https://github.com/yangger6/iconpark-miniprogram/blob/master/packages/taro/package.json)

> use in taro 3.x

## Installing

Using npm

`$ npm install @iconpark-miniprogram/taro`

Using yarn

`$ yarn add @iconpark-miniprogram/taro`

## Example

```
import {User} from '@iconpark-miniprogram/taro'

export default function Index() {
    return (<View>
        <User fill='#000' color='#fff' />
    </View>)
}

```