JSPM

@eezyquote/gradient-avatar

1.0.2
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 10
  • Score
    100M100P100Q28864F
  • License MIT

Beautiful gradient avatars

Package Exports

  • @eezyquote/gradient-avatar

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@eezyquote/gradient-avatar) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

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