init
This commit is contained in:
9
node_modules/qrcode/lib/renderer/terminal.js
generated
vendored
Normal file
9
node_modules/qrcode/lib/renderer/terminal.js
generated
vendored
Normal file
@@ -0,0 +1,9 @@
|
||||
const big = require('./terminal/terminal')
|
||||
const small = require('./terminal/terminal-small')
|
||||
|
||||
exports.render = function (qrData, options, cb) {
|
||||
if (options && options.small) {
|
||||
return small.render(qrData, options, cb)
|
||||
}
|
||||
return big.render(qrData, options, cb)
|
||||
}
|
||||
Reference in New Issue
Block a user