PDF417.js
TypeScript implementation of PDF417 barcode generator.
日本語版ドキュメントはこちら
Features
- 🚀 Pure TypeScript implementation - no external dependencies
- 🌐 Web standards compliant - works in any modern browser and workers ... maybe
- 📦 Standalone library - easy to integrate into any project
- 🔧 Fully customizable barcode generation
- 📱 Responsive and scalable output
Installation
npm install pdf417js
Usage
import { PDF417 } from "pdf417js";
const pdf417 = new PDF417();
const barcode = pdf417.generate("Hello, World!");
console.log(pdf417.toString());
Options
You can customize the barcode generation with the following options:
const pdf417 = new PDF417({
rowHeight: 4,
quietH: 2,
quietV: 2,
});
Development
npm install
npm test
npm run build
License
ISC