Generate Barcodes in Deno
import { TextToAnything } from "@texttoanything/deno";
const TTA = new TextToAnything(/*API token here*/);
const barcodeFile = await TTA.generateBarcode("barcode.png", {
content: "Test-12345",
type: "code128",
includeText: true,
});
Output
The SDK will return a Blob as result.