Skip to content

anzerr/ident.icon

Repository files navigation

Intro

GitHub Actions status | linter GitHub Actions status | publish GitHub Actions status | test

generate github styled identicon in svg format for a given hash.

Install

npm install --save git+https://git@github.com/anzerr/ident.icon.git
npm install --save @anzerr/ident.icon

Example

An online can be found here

const Identicon = require('ident.icon'),
	fs = require('fs');

fs.writeFileSync('example.svg', new Identicon('e3d7bb56cd6a33ed').toString(true));