node/deps/npm/node_modules/qrcode-terminal/example/small-qrcode.js
Myles Borins ace4fe566f
deps: update npm to 5.5.1
Closes: https://github.com/nodejs/node/pull/16280

PR-URL: https://github.com/nodejs/node/pull/16509
Fixes: https://github.com/nodejs/node/issues/14161
Reviewed-By: Daijiro Wachi <daijiro.wachi@gmail.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Michaël Zasso <targos@protonmail.com>
2017-10-29 21:32:15 -04:00

7 lines
150 B
JavaScript

var qrcode = require('../lib/main'),
url = 'https://google.com/';
qrcode.generate(url, { small: true }, function (qr) {
console.log(qr);
});