identicon-generator
v0.0.5
Published
Simple identicon generator
Downloads
12
Readme
identicon-generator
Installation
$ npm i identicon-generator
Usage
import fs from "fs";
import { generate } from "identicon-generator";
const data = { name: "John Doe", email: "[email protected]" };
const size = 200;
const identiconBuffer = generate(data, size);
fs.writeFileSync("identicon.png", identiconBuffer);