imb-encode
Version:
Encode Intelligent Mail Barcodes (IMB) for USPS
13 lines (9 loc) • 364 B
Markdown
# 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
```bash
npm install imb-encode