myetherwallet-blockies

0.1.1 • Public • Published

Blockies

A tiny library for generating blocky identicons.

Sample blockies image

Demo page

Use

import {toDataUrl} from 'blockies';
 
const img = new Image() ;
img.src = blockies.toDataUrl('0x7cB57B5A97eAbe94205C07890BE4c1aD31E486A8');
 
document.body.appendChild(img);

Goals

No DOM dependencies, same rendering result as MEW v3.

Non Goals

Speed. Size.

License

WTFPL

Dependencies (0)

    Dev Dependencies (1)

    Package Sidebar

    Install

    npm i myetherwallet-blockies

    Weekly Downloads

    53

    Version

    0.1.1

    License

    WTFPL

    Unpacked Size

    75 kB

    Total Files

    11

    Last publish

    Collaborators

    • papers_ch