open-index/open-npm huggingface dataset:
npm package: @lycm/text-avatar
Description: 文字头像组件
Latest version: 1.0.0

# 文字头像组件

## 安装
```bash
npm i @lycm/text-avatar --save
```

## 使用
```jsx
import React from 'react';
import { message } from 'antd';
import TextAvatar from '@lycm/text-avatar';

export default props => {
	const user = {
	    id: 10,
		account: 'xiaoming',
		empStatus: 1,
		nickname: '王小明'	 
	};

	const cardConfig = [
		{
			label: '部门',
			value: '企业技术部-PaaS-UED'
		},
		{
			label: '邮箱',
			value: 'xiaoming@qq.com'
		}
	];

	return (
		<TextAvatar
			{...user}
			cardConfig={cardConfig}
			onClick={() => {
				message.info('跳转链接');
			}}
		/>
	);
};
```

## API

### 组件API
|参数		    		 |数据类型			  |是否必填			|默认值			|备注						 |
|  ---- 	   			|  ----  			| ----  		|  ----  		| ----						|
| nickname	   			| String 			| 是 			| - 			| 用户昵称 					  |
| account 	   			| String 			| 是 			| -				| 用户账号，用来判断使用颜色 	 |
| empStatus    			| number 		    | 否 			| 1 		    | 用户状态，1是正常状态，2则为灰色 	  |
| showPopover  			| boolean 		    | 否			| true			| 是否显示popover浮层 	       |
| size   	   			| number 			| 否 			| 32 			| 头像大小（宽高） 	    	   |
| linearGradient   		| boolean 			| 否 			| false 		| 是否渐变 	            	  |
| randomColor  			| boolean 		    | 否 			| true			| 是否随机颜色，如果不随机，则为固定蓝色	|
| onClick 	   			| function 		    | 否 			| -				| 卡片内的头像点击			 	|
| theme 	   			| String 		    | 否 			| default		| 卡片内的主题，default、plant	|
| sameAsChildren 	    | boolean 		    | 否 			| true			| 卡片内的头像是否和children一样	|

### 浮层相关API
|参数		  |数据类型			  |是否必填			|默认值			|备注						 |
|  ---- 	 |  ----  			| ----  		|  ----  		| ----						|
| trigger	 | String 			| 否 			| hover 		| 浮层详情显示方式，同Popover   |
| placement 	| String 	    | 否 			| rightTop   	| 浮层详情显示位置，同Popover 	 |
| cardConfig  | Array 			| 是 			| []			| 卡片内的详情配置 				|
| onClick 	 | function 		| 否 			| -				| 卡片内的头像点击			 	|
npm package: @lycolia/kill-node-inspector
Description: Kill node inspector process
Author: Lycolia
Latest version: 0.0.7-2

# kill-node-inspector

- Kill node inspector process
- Required Node.js 12+

## Usage

- `npx kill-node-inspector [inspect-port]` or `npx kill-node-inspector`

## History

- 0.0.7-2
  - Windows resupported
- 0.0.7-1
  - fix typo for readme
- 0.0.7
  - add integration test (testing for inspector killed)
  - update `.eslintrc`
- 0.0.6
  - add unit test
- 0.0.5
  - without nodemon
  - allow option-less for execute
  - rename package name
- 0.0.4
  - bugfix
- 0.0.3
  - Windows supported
- 0.0.2
  - no change
- 0.0.1
  - create

## Roadmap

- Create CI
  - GitHub Actions
- Support Windows

## package.json

### scripts

- start
  - Execute node
- dev
  - Execute node cli inspector
- test
  - `concurrently`
    - Following commands parallel execution
      - `npx http-server -p 9229`
      - `jest`
    - `-s last`
      - That for ignore mock crashes
      - Return exit code of zero or one based on the success or failure of the "last" child to terminate
    - ` -p \"[{name}]\"`
      - Format to command alias names
    - `-n \"InspectorMock,Jest\"`
      - Command alias names
    - `-c \"yellow.bold,cyan.bold\"`
      - Color of command alias names

### dependencies

- chalk
  - Coloring log

### devDependencies

- concurrently
  - Create mock for node inspector process
- http-server
  - Mock for node inspector process
- jest
  - Test framework
npm package: @lycolia/mermaid2plantuml-md
Description: Convert markdown in mermaid to plantuml
Author: Lycolia
Latest version: 0.1.0-beta-1

# mermaid2plantuml

- Convert markdown in mermaid sequence to plantuml sequence
- This conversion is not perfect

## Required

- Node.js 14+

## Usage

**Caution! execution this commmand the file will be overwritten**

- `m2pseqmd <mermaid-contains-markdown.md>`
npm package: @lycolia/ts-boilerplate-generator-cli
Description: ts-server-boilerplate project Generator CLI
Author: Lycolia
Latest version: 0.31.0

# TypeScript project Generator CLI

[![MIT License](http://img.shields.io/badge/license-MIT-blue.svg?style=flat)](LICENSE) [![Node.js v24 later](https://img.shields.io/badge/node.js-v24_later-green)](LICENSE) [![npm v11 later](https://img.shields.io/badge/npm-v11_later-green)](LICENSE)

This is generator for TypeScript project boilerplate

## Support projects

| Target      | [SWC](https://swc.rs/) | [Jest](https://jestjs.io/) | [Biome](https://biomejs.dev/) | [Prettier](https://prettier.io/) (Markdownのみ) | [Storybook](https://storybook.js.org/) |
| ----------- | ---------------------- | -------------------------- | ----------------------------- | ----------------------------------------------- | -------------------------------------- |
| Node CLI    | ✅                     | ✅                         | ✅                            | ✅                                              | ❌                                     |
| Next.js v14 | ✅                     | ✅                         | ✅                            | ✅                                              | ✅                                     |

## Install

- `npm i -g @lycolia/ts-boilerplate-generator-cli`

## 動作要件

- コミットユーザー設定済みのGit
- Node.js 24+
- npm 11+

## 使い方

Can setup for README.md and package.json and workspace directory by configure CLI options
When no option then launch yeoman style generator

- Basics
  - `tsg` or `tsg [options]`
- CLI Options (All optional)
  - `-a`, `--author` <author> project author (default: `unknown`)
  - `-d`, `--description` <description> project description (default: `no description`)
  - `-l`, `--license` <license> project license (default: `MIT`)
  - `-p`, `--project-name` <projectName> project name (default: `@unknown/no-name-project`)
  - `-t`, `--type` <type> project type (choices: `ts-cli`, `ts-next` default: `ts-cli`)
    - `ts-cli`
      - create from [blank boilerplate for CLI app](https://github.com/Lycolia/ts-cli-boilerplate)
    - `ts-next`
      - create from [React v18 included SSG boilerplate for Next.js v14](https://github.com/Lycolia/ts-next-boilerplate)
  - `-V`, `--version` output the version number
  - `-h`, `--help` display help for command
- Example
  - `tsg -a your-own-name -d YourProjectDescription -l AGPL-3.0-or-later -p @your-own-name/your-project-name -t ts-cli`