@anzerr/ident.icon

github style identicon util

Usage no npm install needed!

<script type="module">
  import anzerrIdentIcon from 'https://cdn.skypack.dev/@anzerr/ident.icon';
</script>

README

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));