avatarize

1.0.0 • Public • Published

What is this?

This package will avatarize any element

Installation

npm install avatarize --save

Usage

import {avatarize} from avatarize;

avatarize({
    shape: 'round',
    color: 'red',
    shadow: true
})

Options

Avatarize supports following options:

  • shape - round | square (Defaults to square)
  • color - color value (#fff000 or yellow)
  • shadow - boolean (Defaults to false)

Package Sidebar

Install

npm i avatarize

Weekly Downloads

0

Version

1.0.0

License

ISC

Unpacked Size

1.63 kB

Total Files

3

Last publish

Collaborators

  • sarimz