This package has been deprecated

Author message:

wrong package name

avatar-hash

0.0.1 • Public • Published

Avatar Hash

🎭 Generate unique avatars from any text: https://luciorubeens.github.io/avatar-hash/

Avatar

(More shapes and themes soon)

Installation

<script src='https://unpkg.com/avatar-hash@latest/dist/avatar-hash.js'></script>
 
<div class="avatar"></div>

Usage

<script>
new AvatarHash('my text').render(document.querySelector('.avatar'))
</script>

Contributing

The "api" is totally customizable, so you can contribute with a design pack for what you want, people, monsters, animals, houses..

  • Create folders with the shapes name. Eg: hair, mouth, ...
  • Name the file with the folder name and include a version number. Eg: hair-01
  • Edit the config file and add your new theme. (Set the name, colors and shapes order)

Author

Similar Tools

This project was based on nimiq/robohash.

License

MIT © Lúcio RUbens

Package Sidebar

Install

npm i avatar-hash

Weekly Downloads

0

Version

0.0.1

License

MIT

Unpacked Size

232 kB

Total Files

47

Last publish

Collaborators

  • npm