Wondering what’s next for npm?Check out our public roadmap! »

    @eezyquote/gradient-avatar
    TypeScript icon, indicating that this package has built-in type declarations

    1.0.2 • Public • Published

    Gradient Avatar

    🌈 Beautiful default avatars.

    Build Status

    About

    Generate beautiful and unique avatars for your users. gradient-avatar was inspired by Zeit.

    gradient-avatar is also available as a microservice.

    Install

    $ npm install gradient-avatar
    

    Usage

    const avatar = require('gradient-avatar');
    
    avatar('uid');
    // => the avatar svg

    API

    avatar(seed[, size])

    seed

    Type: string

    The seed for the generated avatar.

    size

    Type: number

    The generated svg's size.

    Returns

    Type: string

    The generated avatar svg.

    License

    MIT © Tobias Herber


    Install

    npm i @eezyquote/gradient-avatar

    DownloadsWeekly Downloads

    15

    Version

    1.0.2

    License

    MIT

    Unpacked Size

    174 kB

    Total Files

    12

    Last publish

    Collaborators

    • avatar