multiavatar / Multiavatar

Multicultural Avatar Generator in JavaScript

Home Page:https://multiavatar.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Typescript support

itpropro opened this issue · comments

Hi,
Any plans to provide types and to rewrite the library in typescript?

Hi, no plans yet, but if this becomes a common request, then maybe I or someone else will do a rewrite in the future.

Added types via DefinitelyTyped/DefinitelyTyped#56106.
@giekaton If you prefer, I can close that PR and instead create one for this repo, so it wouldn't require users to install two packages (@multiavatar/multiavatar + @types/multiavatar__multiavatar (as a dev dependency)).

Hi @bengry. Thank you for the contribution!

As I see, your code doesn't install any packages, which is good, as the philosophy of Multiavatar design is to keep everything as simple as possible and dependency-free.

Please create a PR for this repo. It would be great to have it very minimalistic. Don't close the one on DefinitelyTyped yet.