JSPM

blockies-ts

1.0.0
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 787
  • Score
    100M100P100Q114033F
  • License MIT

Typescript version of Ethereum blockies

Package Exports

  • blockies-ts

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (blockies-ts) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

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