node-blockies-ts
TypeScript icon, indicating that this package has built-in type declarations

1.0.1 • Public • Published

blockies-ts

Typescript version of Ethereum blockies by alexvansande

Usage

import * as blockies from 'blockies-ts';

const address = '0x8B7B2b4F7A391b6f14A81221AE0920a9735B67Fc';
const imgSrc = blockies.create({ seed: address }).toDataURL();

// assign imgSrc to an img tag

/node-blockies-ts/

    Package Sidebar

    Install

    npm i node-blockies-ts

    Weekly Downloads

    3

    Version

    1.0.1

    License

    MIT

    Unpacked Size

    126 kB

    Total Files

    25

    Last publish

    Collaborators

    • yxdh4620