summaryrefslogtreecommitdiff
path: root/deps/npm/node_modules/qrcode-terminal/example/small-qrcode.js
diff options
context:
space:
mode:
Diffstat (limited to 'deps/npm/node_modules/qrcode-terminal/example/small-qrcode.js')
-rw-r--r--deps/npm/node_modules/qrcode-terminal/example/small-qrcode.js6
1 files changed, 6 insertions, 0 deletions
diff --git a/deps/npm/node_modules/qrcode-terminal/example/small-qrcode.js b/deps/npm/node_modules/qrcode-terminal/example/small-qrcode.js
new file mode 100644
index 0000000000..f7d145d4ac
--- /dev/null
+++ b/deps/npm/node_modules/qrcode-terminal/example/small-qrcode.js
@@ -0,0 +1,6 @@
+var qrcode = require('../lib/main'),
+ url = 'https://google.com/';
+
+qrcode.generate(url, { small: true }, function (qr) {
+ console.log(qr);
+});