@types/blockies
TypeScript icon, indicating that this package has built-in type declarations

0.0.4 • Public • Published

Installation

npm install --save @types/blockies

Summary

This package contains type definitions for blockies (https://github.com/goldylucks/blockies-npm).

Details

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/blockies.

index.d.ts

declare function blockies(config?: blockies.BlockiesConfig): HTMLCanvasElement;
export = blockies;

declare namespace blockies {
    interface BlockiesConfig {
        size?: number | undefined;
        scale?: number | undefined;
        seed?: string | undefined;
        color?: string | undefined;
        bgcolor?: string | undefined;
        spotcolor?: string | undefined;
    }
}

Additional Details

  • Last updated: Mon, 06 Nov 2023 22:41:04 GMT
  • Dependencies: none

Credits

These definitions were written by Leonid Logvinov.

Readme

Keywords

none

Package Sidebar

Install

npm i @types/blockies

Weekly Downloads

208

Version

0.0.4

License

MIT

Unpacked Size

3.32 kB

Total Files

5

Last publish

Collaborators

  • types