1.0.1 • Published 5 months ago

imb-encode v1.0.1

Weekly downloads
-
License
MIT
Repository
-
Last release
5 months ago

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
1.0.1

5 months ago

1.0.0

5 months ago