svelte-barcode is available on npm. It can be installed with the following command: width number? 2 The width option is the width of a single bar. height number? 100 The height of the barcode.
This library is part of @point-of-sale, a collection of libraries for interfacing browsers and Node with Point of Sale devices such as receipt printers, barcode scanners and customer facing displays.