identicon-generator
TypeScript icon, indicating that this package has built-in type declarations

0.0.5 • Public • Published

identicon-generator

Installation

$ npm i identicon-generator

Usage

import fs from "fs";
import { generate } from "identicon-generator";

const data = { name: "John Doe", email: "john@example.com" };
const size = 200;

const identiconBuffer = generate(data, size);

fs.writeFileSync("identicon.png", identiconBuffer);

/identicon-generator/

    Package Sidebar

    Install

    npm i identicon-generator

    Weekly Downloads

    1

    Version

    0.0.5

    License

    ISC

    Unpacked Size

    12.6 kB

    Total Files

    11

    Last publish

    Collaborators

    • seiwonpark