-
URL Parameters:
i=[string]
(optional) - Initials to generate the avatar. If not provided, it will be derived from thename
parameter.name=[string]
(optional) - Name to generate initials for the avatar.clr=[string]
(optional) - Background color of the avatar in hexadecimal format (default:595959
).
example usage
<img src="{URL}/?name=John+Doe&clr=854BFF" />
To install dependencies:
bun install
To run:
bun run index.ts
This project was created using bun init
in bun v1.1.0. Bun is a fast all-in-one JavaScript runtime.