bit-face
TypeScript icon, indicating that this package has built-in type declarations

1.0.6 • Public • Published

bit-face

Pseudorandom pixel art avatar generator.

avatars examples

Installation

npm i bit-face --save

Usage

import getAvatar form "bit-face";

await getAvatar('seed_1337', 1);
// return data:image/png;base64 ...

The second argument is gender.
1 - male
2 - female

img {
  image-rendering: pixelated;
}

License

This project is licensed under the MIT License - see the LICENSE.md file for details

Package Sidebar

Install

npm i bit-face

Weekly Downloads

0

Version

1.0.6

License

MIT

Unpacked Size

212 kB

Total Files

54

Last publish

Collaborators

  • nemethe