QR Code Styling CLI
Effortlessly generate customised QR codes from the command line
Plugins
Plugin objects in a JSON config file should have a "plugin" property defining the plugin source; they can have other properties to define plugin configuration.
Example ./custom-plugin.js:
export default class CustomPlugin {
constructor(options = { text: '', position: 'top' }) {
const { text, position } = options
}
}Example qr-config.json:
{
"plugins": [
{
"plugin": "./custom-plugin.js",
"text": "some text",
"position": "top center"
}
]
}