xw-devtool-cli 1.0.9 → 1.0.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +88 -76
- package/package.json +1 -1
- package/src/commands/placeholderImg.js +112 -12
- package/src/index.js +17 -10
package/README.md
CHANGED
|
@@ -61,43 +61,30 @@ xw-devtool
|
|
|
61
61
|
=================================
|
|
62
62
|
xw-devtool-cli Menu
|
|
63
63
|
=================================
|
|
64
|
-
1.
|
|
65
|
-
2.
|
|
66
|
-
3. Image
|
|
67
|
-
4.
|
|
68
|
-
5.
|
|
69
|
-
6.
|
|
70
|
-
7.
|
|
71
|
-
8.
|
|
72
|
-
9.
|
|
73
|
-
a.
|
|
74
|
-
b.
|
|
75
|
-
c.
|
|
76
|
-
d.
|
|
77
|
-
e.
|
|
78
|
-
f.
|
|
79
|
-
g.
|
|
64
|
+
1. Image <-> Base64
|
|
65
|
+
2. Image Format Convert
|
|
66
|
+
3. Placeholder Image Generator
|
|
67
|
+
4. QR Code Generator
|
|
68
|
+
5. URL Encode/Decode
|
|
69
|
+
6. String Encode/Decode (Base64)
|
|
70
|
+
7. HTML Entity Encode/Decode
|
|
71
|
+
8. Variable Format Converter
|
|
72
|
+
9. Chinese to Pinyin
|
|
73
|
+
a. Time Format / Timestamp
|
|
74
|
+
b. Color Converter (Hex <-> RGB)
|
|
75
|
+
c. Get UUID
|
|
76
|
+
d. Hash Calculator (MD5/SHA/SM3)
|
|
77
|
+
e. Mock Text
|
|
78
|
+
f. Special Characters (Symbols)
|
|
79
|
+
g. Emoji Picker
|
|
80
80
|
0. Exit
|
|
81
81
|
=================================
|
|
82
82
|
```
|
|
83
83
|
|
|
84
84
|
## 📖 详细使用指南
|
|
85
85
|
|
|
86
|
-
### 1.
|
|
86
|
+
### 1. 图片与 Base64 互转
|
|
87
87
|
- 选择 `1` 进入。
|
|
88
|
-
- 选择 `Encode` (编码) 或 `Decode` (解码)。
|
|
89
|
-
- 输入 URL 字符串,结果自动复制。
|
|
90
|
-
|
|
91
|
-
### 2. 字符串 Base64 转换
|
|
92
|
-
- 选择 `2` 进入。
|
|
93
|
-
- 支持三种输入源:
|
|
94
|
-
- **Clipboard**: 直接读取剪贴板内容(适合处理长文本)。
|
|
95
|
-
- **File**: 读取文本文件内容。
|
|
96
|
-
- **Manual input**: 手动粘贴或输入文本。
|
|
97
|
-
- 输出支持:直接复制、保存为文件、预览后复制。
|
|
98
|
-
|
|
99
|
-
### 3. 图片与 Base64 互转
|
|
100
|
-
- 选择 `3` 进入。
|
|
101
88
|
- **Image -> Base64**:
|
|
102
89
|
- 选择图片文件(支持对话框选择)。
|
|
103
90
|
- 输出 Base64 字符串(可保存为 `.txt` 文件防止控制台卡顿)。
|
|
@@ -105,80 +92,105 @@ g. Placeholder Image Generator
|
|
|
105
92
|
- 输入 Base64 字符串(支持从文件读取或剪贴板读取)。
|
|
106
93
|
- 自动识别图片格式并保存为文件。
|
|
107
94
|
|
|
108
|
-
###
|
|
109
|
-
- 选择 `
|
|
95
|
+
### 2. 图片格式转换
|
|
96
|
+
- 选择 `2` 进入。
|
|
110
97
|
- 选择源图片文件。
|
|
111
98
|
- 选择目标格式 (PNG / JPG / WebP)。
|
|
112
99
|
- 设置压缩参数(如 JPG 质量 1-100,PNG 压缩等级 0-9)。
|
|
113
100
|
- 生成的新图片将保存在源文件同级目录。
|
|
114
101
|
|
|
115
|
-
###
|
|
102
|
+
### 3. 占位图生成 (Placeholder Image)
|
|
103
|
+
- 选择 `3` 进入。
|
|
104
|
+
- **模式 1:本地图片文件 (Local Image File)**
|
|
105
|
+
- 自动生成图片文件到当前目录。
|
|
106
|
+
- 支持自定义:
|
|
107
|
+
- **尺寸**: 宽度和高度 (px)。
|
|
108
|
+
- **颜色**: 背景色和文字颜色(支持 Hex 或颜色名)。
|
|
109
|
+
- **内容**: 自定义图片中间的文字(默认显示尺寸)。
|
|
110
|
+
- **格式**: 输出 PNG, JPG, WebP, GIF。
|
|
111
|
+
- 文件名默认包含时间戳,避免覆盖。
|
|
112
|
+
- **模式 2:远程图片 URL (Remote Image URL)**
|
|
113
|
+
- 自动生成云端占位图链接并复制到剪贴板。
|
|
114
|
+
- 支持多个主流服务商:
|
|
115
|
+
- **Picsum Photos**: 随机风景图,支持灰度、模糊效果。
|
|
116
|
+
- **DummyImage**: 简单、经典。
|
|
117
|
+
- **Via Placeholder**: 标准占位图。
|
|
118
|
+
- **Placehold.jp**: 适合日文环境。
|
|
119
|
+
- **DevTool Tech**: 高度可定制。
|
|
120
|
+
- **FPO Img**: "For Placement Only" 风格。
|
|
121
|
+
- 支持自定义尺寸、颜色、文字等参数(视具体服务商而定)。
|
|
122
|
+
|
|
123
|
+
### 4. 二维码生成
|
|
124
|
+
- 选择 `4` 进入。
|
|
125
|
+
- 输入文本或 URL(支持直接回车读取剪贴板)。
|
|
126
|
+
- 终端直接显示二维码预览。
|
|
127
|
+
- 可选保存为 PNG 图片,默认文件名包含时间戳。
|
|
128
|
+
|
|
129
|
+
### 5. URL 编解码
|
|
116
130
|
- 选择 `5` 进入。
|
|
117
|
-
-
|
|
118
|
-
-
|
|
131
|
+
- 选择 `Encode` (编码) 或 `Decode` (解码)。
|
|
132
|
+
- 输入 URL 字符串,结果自动复制。
|
|
119
133
|
|
|
120
|
-
### 6.
|
|
134
|
+
### 6. 字符串 Base64 转换
|
|
121
135
|
- 选择 `6` 进入。
|
|
122
|
-
-
|
|
123
|
-
-
|
|
136
|
+
- 支持三种输入源:
|
|
137
|
+
- **Clipboard**: 直接读取剪贴板内容(适合处理长文本)。
|
|
138
|
+
- **File**: 读取文本文件内容。
|
|
139
|
+
- **Manual input**: 手动粘贴或输入文本。
|
|
140
|
+
- 输出支持:直接复制、保存为文件、预览后复制。
|
|
124
141
|
|
|
125
|
-
### 7.
|
|
142
|
+
### 7. HTML 实体编码/解码
|
|
126
143
|
- 选择 `7` 进入。
|
|
127
|
-
-
|
|
144
|
+
- 支持两种编码模式:
|
|
145
|
+
- **Standard**: 仅编码特殊字符(如 `<` `>` `&` 及非 ASCII 字符)。
|
|
146
|
+
- **Everything**: 编码所有字符(包括 ASCII 字母数字)。
|
|
147
|
+
- 支持直接回车读取剪贴板内容。
|
|
148
|
+
- 结果自动复制到剪贴板。
|
|
128
149
|
|
|
129
|
-
### 8.
|
|
150
|
+
### 8. 变量格式转换
|
|
130
151
|
- 选择 `8` 进入。
|
|
131
|
-
-
|
|
132
|
-
-
|
|
152
|
+
- 输入变量名(支持直接回车读取剪贴板)。
|
|
153
|
+
- 自动展示 CamelCase, PascalCase, SnakeCase, KebabCase, ConstantCase 五种格式。
|
|
154
|
+
- 选择一种格式自动复制。
|
|
133
155
|
|
|
134
|
-
### 9.
|
|
156
|
+
### 9. 中文转拼音
|
|
135
157
|
- 选择 `9` 进入。
|
|
136
|
-
-
|
|
137
|
-
-
|
|
158
|
+
- 输入中文字符串(支持直接回车读取剪贴板)。
|
|
159
|
+
- 输出对应的拼音(无声调)。
|
|
138
160
|
|
|
139
|
-
### 10.
|
|
161
|
+
### 10. 时间格式化 (Time Format)
|
|
140
162
|
- 选择 `a` 进入。
|
|
141
|
-
-
|
|
142
|
-
-
|
|
143
|
-
- 选择一种格式自动复制。
|
|
163
|
+
- 支持时间戳转日期字符串,或日期字符串转时间戳。
|
|
164
|
+
- 直接回车可获取当前时间戳。
|
|
144
165
|
|
|
145
|
-
### 11.
|
|
166
|
+
### 11. 颜色转换 (Hex <-> RGB)
|
|
146
167
|
- 选择 `b` 进入。
|
|
147
|
-
-
|
|
148
|
-
-
|
|
168
|
+
- 输入 Hex 颜色值 (如 #333) 或 RGB 值 (如 rgb(51,51,51))。
|
|
169
|
+
- 自动转换并显示对应格式。
|
|
149
170
|
|
|
150
|
-
### 12.
|
|
171
|
+
### 12. Get UUID
|
|
151
172
|
- 选择 `c` 进入。
|
|
152
|
-
-
|
|
153
|
-
- 终端直接显示二维码预览。
|
|
154
|
-
- 可选保存为 PNG 图片,默认文件名包含时间戳。
|
|
173
|
+
- 自动生成一个 UUID v4 并复制到剪贴板。
|
|
155
174
|
|
|
156
|
-
### 13.
|
|
175
|
+
### 13. 哈希计算 (Encryption)
|
|
157
176
|
- 选择 `d` 进入。
|
|
158
|
-
-
|
|
159
|
-
-
|
|
177
|
+
- 输入文本(支持直接回车读取剪贴板)。
|
|
178
|
+
- 同时计算并显示 MD5, SHA1, SHA256, SHA512, SM3 哈希值。
|
|
160
179
|
|
|
161
|
-
### 14.
|
|
180
|
+
### 14. Mock 数据生成
|
|
162
181
|
- 选择 `e` 进入。
|
|
163
|
-
-
|
|
164
|
-
-
|
|
182
|
+
- 提供多种数据类型:英文段落、中文字符、身份证号、邮箱、手机号等。
|
|
183
|
+
- 支持指定生成数量。
|
|
165
184
|
|
|
166
|
-
### 15.
|
|
185
|
+
### 15. 特殊符号大全
|
|
167
186
|
- 选择 `f` 进入。
|
|
168
|
-
-
|
|
169
|
-
|
|
170
|
-
- **Everything**: 编码所有字符(包括 ASCII 字母数字)。
|
|
171
|
-
- 支持直接回车读取剪贴板内容。
|
|
172
|
-
- 结果自动复制到剪贴板。
|
|
187
|
+
- 网格化展示常用特殊符号。
|
|
188
|
+
- 输入符号对应的编号即可一键复制。
|
|
173
189
|
|
|
174
|
-
### 16.
|
|
190
|
+
### 16. Emoji 输入
|
|
175
191
|
- 选择 `g` 进入。
|
|
176
|
-
-
|
|
177
|
-
|
|
178
|
-
- **颜色**: 背景色和文字颜色(支持 Hex 或颜色名)。
|
|
179
|
-
- **内容**: 自定义图片中间的文字(默认显示尺寸)。
|
|
180
|
-
- **格式**: 输出 PNG, JPG, WebP, GIF。
|
|
181
|
-
- 文件名默认包含时间戳,避免覆盖。
|
|
192
|
+
- 分类展示常用 Emoji (表情、手势、动物、食物等)。
|
|
193
|
+
- 输入编号选择并复制 Emoji 到剪贴板。
|
|
182
194
|
|
|
183
195
|
## 📄 License
|
|
184
196
|
|
package/package.json
CHANGED
|
@@ -1,30 +1,37 @@
|
|
|
1
1
|
import inquirer from 'inquirer';
|
|
2
2
|
import sharp from 'sharp';
|
|
3
3
|
import path from 'path';
|
|
4
|
+
import { copy } from '../utils/clipboard.js';
|
|
5
|
+
import { selectFromMenu } from '../utils/menu.js';
|
|
4
6
|
|
|
5
7
|
export async function placeholderImgHandler() {
|
|
6
|
-
|
|
8
|
+
const mode = await selectFromMenu('Generate Placeholder Image', [
|
|
9
|
+
{ name: 'Local Image File', value: 'local' },
|
|
10
|
+
{ name: 'Remote Image URL', value: 'remote' }
|
|
11
|
+
]);
|
|
12
|
+
|
|
13
|
+
if (mode === 'local') {
|
|
14
|
+
await generateLocalImage();
|
|
15
|
+
} else {
|
|
16
|
+
await generateRemoteUrl();
|
|
17
|
+
}
|
|
18
|
+
}
|
|
7
19
|
|
|
20
|
+
async function generateLocalImage() {
|
|
8
21
|
const answers = await inquirer.prompt([
|
|
9
22
|
{
|
|
10
23
|
type: 'input',
|
|
11
24
|
name: 'width',
|
|
12
25
|
message: 'Width (px):',
|
|
13
26
|
default: '300',
|
|
14
|
-
validate:
|
|
15
|
-
const val = parseInt(input);
|
|
16
|
-
return !isNaN(val) && val > 0 ? true : 'Please enter a valid positive number';
|
|
17
|
-
}
|
|
27
|
+
validate: validateNumber
|
|
18
28
|
},
|
|
19
29
|
{
|
|
20
30
|
type: 'input',
|
|
21
31
|
name: 'height',
|
|
22
32
|
message: 'Height (px):',
|
|
23
33
|
default: '200',
|
|
24
|
-
validate:
|
|
25
|
-
const val = parseInt(input);
|
|
26
|
-
return !isNaN(val) && val > 0 ? true : 'Please enter a valid positive number';
|
|
27
|
-
}
|
|
34
|
+
validate: validateNumber
|
|
28
35
|
},
|
|
29
36
|
{
|
|
30
37
|
type: 'input',
|
|
@@ -61,9 +68,8 @@ export async function placeholderImgHandler() {
|
|
|
61
68
|
const width = parseInt(answers.width);
|
|
62
69
|
const height = parseInt(answers.height);
|
|
63
70
|
const text = answers.text || `${width}x${height}`;
|
|
64
|
-
const fontSize = Math.floor(Math.min(width, height) / 5);
|
|
71
|
+
const fontSize = Math.floor(Math.min(width, height) / 5);
|
|
65
72
|
|
|
66
|
-
// Create SVG buffer
|
|
67
73
|
const svgImage = `
|
|
68
74
|
<svg width="${width}" height="${height}" version="1.1" xmlns="http://www.w3.org/2000/svg">
|
|
69
75
|
<rect width="100%" height="100%" fill="${answers.bgColor}" />
|
|
@@ -72,7 +78,6 @@ export async function placeholderImgHandler() {
|
|
|
72
78
|
`;
|
|
73
79
|
|
|
74
80
|
const buffer = Buffer.from(svgImage);
|
|
75
|
-
|
|
76
81
|
const outputFilename = `${answers.filename}.${answers.format}`;
|
|
77
82
|
const outputPath = path.resolve(process.cwd(), outputFilename);
|
|
78
83
|
|
|
@@ -86,3 +91,98 @@ export async function placeholderImgHandler() {
|
|
|
86
91
|
console.error(`\nFailed to generate image: ${error.message}`);
|
|
87
92
|
}
|
|
88
93
|
}
|
|
94
|
+
|
|
95
|
+
async function generateRemoteUrl() {
|
|
96
|
+
const provider = await selectFromMenu('Select Provider', [
|
|
97
|
+
{ name: 'Picsum Photos (Random photo)', value: 'picsum' },
|
|
98
|
+
{ name: 'DummyImage (Simple)', value: 'dummyimage' },
|
|
99
|
+
{ name: 'Via Placeholder (Standard)', value: 'placeholder' },
|
|
100
|
+
{ name: 'Placehold.jp (JP Style)', value: 'placeholdjp' },
|
|
101
|
+
{ name: 'DevTool Tech (Customizable)', value: 'devtool' },
|
|
102
|
+
{ name: 'FPO Img (For Placement Only)', value: 'fpoimg' }
|
|
103
|
+
]);
|
|
104
|
+
|
|
105
|
+
// Picsum is special (random photos)
|
|
106
|
+
if (provider === 'picsum') {
|
|
107
|
+
const answers = await inquirer.prompt([
|
|
108
|
+
{ type: 'input', name: 'width', message: 'Width:', default: '300', validate: validateNumber },
|
|
109
|
+
{ type: 'input', name: 'height', message: 'Height:', default: '300', validate: validateNumber },
|
|
110
|
+
{ type: 'confirm', name: 'random', message: 'Add random parameter?', default: true },
|
|
111
|
+
{ type: 'confirm', name: 'grayscale', message: 'Grayscale?', default: false },
|
|
112
|
+
{ type: 'input', name: 'blur', message: 'Blur level (1-10, leave empty for none):', validate: (val) => !val || (parseInt(val) >= 1 && parseInt(val) <= 10) ? true : '1-10' }
|
|
113
|
+
]);
|
|
114
|
+
|
|
115
|
+
let url = `https://picsum.photos/${answers.width}/${answers.height}`;
|
|
116
|
+
const params = [];
|
|
117
|
+
if (answers.grayscale) params.push('grayscale');
|
|
118
|
+
if (answers.blur) params.push(`blur=${answers.blur}`);
|
|
119
|
+
if (answers.random) params.push(`random=${Math.floor(Math.random() * 1000)}`);
|
|
120
|
+
|
|
121
|
+
if (params.length > 0) {
|
|
122
|
+
url += '?' + params.join('&');
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
await finishUrl(url);
|
|
126
|
+
return;
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
// Common prompts for others
|
|
130
|
+
const answers = await inquirer.prompt([
|
|
131
|
+
{ type: 'input', name: 'width', message: 'Width:', default: '300', validate: validateNumber },
|
|
132
|
+
{ type: 'input', name: 'height', message: 'Height:', default: '300', validate: validateNumber },
|
|
133
|
+
{ type: 'input', name: 'bgColor', message: 'Background Color (Hex without #):', default: 'cccccc' },
|
|
134
|
+
{ type: 'input', name: 'textColor', message: 'Text Color (Hex without #):', default: '969696' },
|
|
135
|
+
{ type: 'input', name: 'text', message: 'Text Content (leave empty for size):' },
|
|
136
|
+
{ type: 'list', name: 'format', message: 'Format:', choices: ['png', 'jpg', 'gif'], default: 'png' }
|
|
137
|
+
]);
|
|
138
|
+
|
|
139
|
+
let url = '';
|
|
140
|
+
const { width, height, bgColor, textColor, format } = answers;
|
|
141
|
+
const text = answers.text || `${width}x${height}`;
|
|
142
|
+
const cleanBg = bgColor.replace('#', '');
|
|
143
|
+
const cleanText = textColor.replace('#', '');
|
|
144
|
+
const encodedText = encodeURIComponent(text);
|
|
145
|
+
|
|
146
|
+
switch (provider) {
|
|
147
|
+
case 'dummyimage':
|
|
148
|
+
// https://dummyimage.com/300x300/999999/ff4400.png?text=EXAMPLE
|
|
149
|
+
url = `https://dummyimage.com/${width}x${height}/${cleanBg}/${cleanText}.${format}`;
|
|
150
|
+
if (text) url += `?text=${encodedText}`;
|
|
151
|
+
break;
|
|
152
|
+
|
|
153
|
+
case 'placeholder':
|
|
154
|
+
// https://via.placeholder.com/640x300/999999/ff4400.png?text=example
|
|
155
|
+
url = `https://via.placeholder.com/${width}x${height}/${cleanBg}/${cleanText}.${format}`;
|
|
156
|
+
if (text) url += `?text=${encodedText}`;
|
|
157
|
+
break;
|
|
158
|
+
|
|
159
|
+
case 'placeholdjp':
|
|
160
|
+
// https://placehold.jp/999999/ff4400/300x300.png?text=EXAMPLE
|
|
161
|
+
url = `https://placehold.jp/${cleanBg}/${cleanText}/${width}x${height}.${format}`;
|
|
162
|
+
if (text) url += `?text=${encodedText}`;
|
|
163
|
+
break;
|
|
164
|
+
|
|
165
|
+
case 'devtool':
|
|
166
|
+
// https://devtool.tech/api/placeholder/300/300?text=示例&color=#ffffff&bgColor=#333333
|
|
167
|
+
// Note: devtool.tech needs # for colors
|
|
168
|
+
url = `https://devtool.tech/api/placeholder/${width}/${height}?text=${encodedText}&color=%23${cleanText}&bgColor=%23${cleanBg}`;
|
|
169
|
+
break;
|
|
170
|
+
|
|
171
|
+
case 'fpoimg':
|
|
172
|
+
// https://fpoimg.com/300x300?text=example&bg_color=999999&text_color=ff4400
|
|
173
|
+
url = `https://fpoimg.com/${width}x${height}?text=${encodedText}&bg_color=${cleanBg}&text_color=${cleanText}`;
|
|
174
|
+
break;
|
|
175
|
+
}
|
|
176
|
+
|
|
177
|
+
await finishUrl(url);
|
|
178
|
+
}
|
|
179
|
+
|
|
180
|
+
async function finishUrl(url) {
|
|
181
|
+
console.log(`\nGenerated URL:\n${url}\n`);
|
|
182
|
+
await copy(url);
|
|
183
|
+
}
|
|
184
|
+
|
|
185
|
+
function validateNumber(input) {
|
|
186
|
+
const val = parseInt(input);
|
|
187
|
+
return !isNaN(val) && val > 0 ? true : 'Please enter a valid positive number';
|
|
188
|
+
}
|
package/src/index.js
CHANGED
|
@@ -33,22 +33,29 @@ process.on('unhandledRejection', (err) => {
|
|
|
33
33
|
});
|
|
34
34
|
|
|
35
35
|
const features = [
|
|
36
|
-
|
|
37
|
-
{ name: 'String Encode/Decode (Base64)', value: 'base64' },
|
|
36
|
+
// Image Tools
|
|
38
37
|
{ name: 'Image <-> Base64', value: 'imgBase64' },
|
|
39
38
|
{ name: 'Image Format Convert', value: 'imgConvert' },
|
|
40
|
-
{ name: '
|
|
41
|
-
{ name: '
|
|
42
|
-
|
|
39
|
+
{ name: 'Placeholder Image Generator', value: 'placeholderImg' },
|
|
40
|
+
{ name: 'QR Code Generator', value: 'qrcode' },
|
|
41
|
+
|
|
42
|
+
// Encode/Decode & Formatting
|
|
43
|
+
{ name: 'URL Encode/Decode', value: 'url' },
|
|
44
|
+
{ name: 'String Encode/Decode (Base64)', value: 'base64' },
|
|
45
|
+
{ name: 'HTML Entity Encode/Decode', value: 'htmlEntities' },
|
|
46
|
+
{ name: 'Variable Format Converter', value: 'variableFormat' },
|
|
43
47
|
{ name: 'Chinese to Pinyin', value: 'pinyin' },
|
|
48
|
+
|
|
49
|
+
// Utils (Time, Color, UUID, Hash)
|
|
50
|
+
{ name: 'Time Format / Timestamp', value: 'timeFormat' },
|
|
44
51
|
{ name: 'Color Converter (Hex <-> RGB)', value: 'color' },
|
|
45
|
-
{ name: '
|
|
52
|
+
{ name: 'Get UUID', value: 'uuid' },
|
|
46
53
|
{ name: 'Hash Calculator (MD5/SHA/SM3)', value: 'hashing' },
|
|
47
|
-
|
|
54
|
+
|
|
55
|
+
// Content/Mocking
|
|
56
|
+
{ name: 'Mock Text', value: 'mock' },
|
|
48
57
|
{ name: 'Special Characters (Symbols)', value: 'specialChars' },
|
|
49
|
-
{ name: 'Emoji Picker', value: 'emoji' }
|
|
50
|
-
{ name: 'HTML Entity Encode/Decode', value: 'htmlEntities' },
|
|
51
|
-
{ name: 'Placeholder Image Generator', value: 'placeholderImg' }
|
|
58
|
+
{ name: 'Emoji Picker', value: 'emoji' }
|
|
52
59
|
];
|
|
53
60
|
|
|
54
61
|
async function main() {
|