Big News: Socket raises $60M Series C at a $1B valuation to secure software supply chains for AI-driven development.Announcement
Sign In

@lenml/char-card-writer

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@lenml/char-card-writer

SCharacter card writer. support v1/v2/v3. suport png/jpeg/webp/charx.

latest
npmnpm
Version
1.1.0
Version published
Maintainers
1
Created
Source

char-card-writer

Character card writer. support v1/v2/v3. suport png/jpeg/webp/charx.

This library does not depend on @lenML/char-card-reader, but it is generally used in conjunction with it to interact with the JSON results it outputs.

Usage

import { PngBundler } from "@lenml/char-card-writer";
import { readFile, writeFile } from "fs/promises";
const input_data = await readFile("./input.png");
const card = {
  /* card data */
};
const output_data = await new PngBundler().bundle(input_data, card);
await writeFile(`./output.png`, Buffer.from(output_data));

Keywords

character

FAQs

Package last updated on 08 Jan 2026

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts