QR Code Styling CLI

npm license npm scope

Effortlessly generate customised QR codes from the command line

Validation

By default, each generated QR code is validated to check whether it can be easily detected by QR code readers. Each entry in the console output contains a "isValid" property, which tells you whether the code can be easily recognised by a QR code reader or not. However, keep in mind that mobile devices use much more advanced QR code detection algorithms than simple embedded readers and can usually recognise even QR codes with "isValid": false.

The default validation behaviour (info) is to check generated QR codes and report validation status, but keep the generated codes. Set validation to error to skip generating potentially unrecognisable QR codes, or off to skip validation entirely.