Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/buildbreakdo/giticon

GitHub style SVG identicons / user avatars
https://github.com/buildbreakdo/giticon

avatar identicon identicon-generator user-avatar

Last synced: 22 days ago
JSON representation

GitHub style SVG identicons / user avatars

Awesome Lists containing this project

README

        

# TwitchPoker user avatar identiconGiticon

Github style SVG identicons / user-avatars. Want to see a live example? See Giticon on [pholder.com/imaginary-interiors](https://pholder.com/imaginary-interiors).

[](https://www.npmjs.org/package/giticon) [](https://github.com/buildbreakdo/giticon/pulse) [](https://travis-ci.org/buildbreakdo/giticon/) [![Coverage Status](https://coveralls.io/repos/github/buildbreakdo/giticon/badge.svg?branch=master)](https://coveralls.io/github/buildbreakdo/giticon?branch=master)

## Installation
```
npm install giticon --save
```
[![NPM Stats](https://nodei.co/npm/giticon.png?downloads=true)](https://npmjs.org/package/giticon)

## Usage
```
const giticon = require('giticon');

const optionalOverrides = {
background: [240, 240, 240, 255],
margin: 0.2,
size: 40,
saturation: 0.7,
brightness: 0.5
};

const svgIdenticon = giticon('TwitchPoker', optionalOverrides);

console.log(svgIdenticon);

//
//
//
```

### Credit
Giticon is a simplified loose fork of https://github.com/stewartlord/identicon.js/tree/master
that only supports SVG.

#### License
MIT.