1.0.1 • Published 5 months ago
imb-encode v1.0.1
imb-encode
A Node.js port of the USPS Intelligent Mail Barcode (IMB) encoder, replicating much of the logic from the original usps4cb.c code.
Exports a function encodeIMB(trackingString, routingString) that returns a 65-character string containing 'A', 'D', 'F', 'T' representing the full IMB (4-state) barcode.
Installation
npm install imb-encode