JSPM

itspoma-avatars-female-sprites

2.0.0-6
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 1
  • Score
    100M100P100Q31722F
  • License MIT

Pixel art female sprite collection for DiceBear Avatars

Package Exports

  • itspoma-avatars-female-sprites

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 (itspoma-avatars-female-sprites) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

Female sprite collection for DiceBear Avatars

ORIGINAL: https://github.com/DiceBear/avatars-female-sprites Made changes, left only happy faces.

license npm

Usage

Our free HTTP-API is the easiest way to use this sprite collection. Just use the following URL as image source.

https://avatars.dicebear.com/v3/female/:seed.svg

The value of :seed can be anything you like - but don't use any sensitive or personal data here! The GET parameter option can be used to pass options.

Examples

preview url
https://avatars.dicebear.com/v3/female/example.svg
https://avatars.dicebear.com/v3/female/example.svg?option['mood'][]=happy
https://avatars.dicebear.com/v3/female/example.svg?option['mood'][]=sad

NPM

Install the Avatars and this sprite collection with the following command.

npm install --save @dicebear/avatars @dicebear/avatars-female-sprites

Now you are ready to create your first Avatar.

import Avatars from '@dicebear/avatars';
import sprites from '@dicebear/avatars-female-sprites';

let options = {};
let avatars = new Avatars(sprites(options));
let svg = avatars.create('custom-seed');

Options

name type default description
mood array of strings ['happy', 'sad', 'surprised'] Possible values: sad, happy, surprised

Further informations

You can find the DiceBear Avatars documentation at avatars.dicebear.com


Inspired by 8biticon (Copyright 2012 Plastic Jam - MIT Licensed)