* Split core lib into multiple files * Refactor data encoding methods * Refactor data masking process * Improve qr code generation process * Increase minimum required node version to 0.10 * Add linter * Add tests and tests coverage * Update travis config to fix compilation issues * Add examples folder * Add missing license tag in package.json * Update build script and add sourcemap support * Publish only strictly needed files on npm * Update readme
9 lines
155 B
JavaScript
9 lines
155 B
JavaScript
var QRCode = require('../lib')
|
|
|
|
QRCode.drawText('yo yo yo', function (error, data) {
|
|
if (error) {
|
|
throw new Error(error)
|
|
}
|
|
|
|
console.log(data)
|
|
})
|