twemoji-avatar
v0.1.2
Published
Generate Avatar Image using Twemoji
Readme
Twemoji Avatar
Generate Avatar Image using Twemoji.
How To Use
$ pnpm twemoji-avatar "cow-face" -c "#3b82f6" -o avatar.png
# twemoji => "cow-face"
# background color => "#3b82f6"
# output file path => avatar.pngYou can use any name from the icones(Twitter Emoji).
Tailwind Colors
You can use Tailwind Colors by prefixing tw:.
pnpm dlx twemoji-avatar "bear" -c "tw:red-200" -o avatar.pngOther Options
USAGE twemoji-avatar [OPTIONS] <EMOJI>
ARGUMENTS
EMOJI Twemoji(ex. bear, cow-face)
OPTIONS
-c, --color background color(ex. hex=#FF0000 or tailwind=tw:red-200)
--image-size="600" image size(ex. 600=> 600px square image)
--emoji-size="360" emoji size(ex. 360=> 360px emoji image)
-o, --output="./avatar.png" Output file path
-f, --overwrite force overwrite if file exist 