Text Avatar(one or twe word) Generation Web Server. (NodeJS)
- cli, library and web server support
- one or twe word
- Uppercase conversion
- In case of error, return empty image
- cache support
- 20 patterns of predictable background color
- 100% Pure Javascript
npm install textavatar -g
textavatar -h
Usage: textavatar [options]
Text Avatar(one or twe word) Generation
Options:
-V, --version output the version number
-t --text <text> one or twe word. ex) fk (default: )
-o --out <out> Write file path (default: output.png)
-h, --help output usage information
node ./cli.js
cd {project_dir}
npm install
npm start # production
npm run debug # development(nodemon)
pattern) https://localhost:3000/{one or twe word}?size={image size}
https://localhost:3000/[email protected]
# default size = 200https://localhost:3000/[email protected]?size=250
# output word =KE
and size = 250