Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/buildbreakdo/giticon
- Owner: buildbreakdo
- License: mit
- Created: 2018-12-21T11:29:20.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2022-12-08T23:11:32.000Z (about 2 years ago)
- Last Synced: 2024-12-21T04:36:14.707Z (28 days ago)
- Topics: avatar, identicon, identicon-generator, user-avatar
- Language: JavaScript
- Homepage:
- Size: 1.54 MB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 17
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Giticon
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.