npm i
npm run dev
> cclg@1.0.2 dev
> vite
VITE v4.2.1 ready in 143 ms
➜ Local: http://localhost:5173/
➜ Network: use --host to expose
➜ press h to show help
npm i -D cclg
import { cclg } from 'cclg'
cclg({ label: 'any label' })
cclg({ label: 'color', color: '#ff1493' })
cclg({ label: 'color bgColor', color: '#ffffff', bgColor: '#39c093' })
cclg({ label: 'color bgColor value', color: '#ffffff', bgColor: '#39c093', value: '123456789' })
cclg({ label: 'cStyle', cStyle: 'color: #ffffff; background: #ff8c00; padding: 4px 12px;' })
cclg({ label: 'type log', type: 'log' })
cclg({ label: 'type info', type: 'info' })
cclg({ label: 'type warn', type: 'warn' })
cclg({ label: 'type error', type: 'error' })