Tomoyuki Ueda
9500309d48
Add SJIS test
2022-10-08 21:19:52 +09:00
Jonas Eckstein
66a7bef054
Add test for binary data like in README.md
2022-01-31 18:29:26 +01:00
Jonas Eckstein
702296af9b
Add test for ByteData accepting Uint8ClampedArray
2022-01-31 18:21:44 +01:00
Ryan Day
9aeacd8b5d
fix: ficing double call for callbacks on error saving png to file
2021-11-23 11:49:20 -08:00
Miloslav Mrvík
77ec831fa8
Smaller terminal QR codes
2020-05-26 17:09:11 +02:00
Linus Unnebäck
9cc0e3b78d
Use const/let instead of var
2020-04-16 22:50:11 +01:00
Linus Unnebäck
a5a8563ba4
Drop support for Node.js < 10.13.0
2020-04-16 22:45:26 +01:00
Linus Unnebäck
48b4cdc93e
Upgrade to Standard v14
2020-03-30 19:08:20 +01:00
Linus Unnebäck
94009ab826
Avoid dependency on Buffer
2020-03-30 18:35:04 +01:00
Linus Unnebäck
55d6278036
Avoid using deprecated APIs on newer Node.js
2019-11-01 11:48:00 +00:00
Matthijs Abma
d59c2bf8fb
Add support for color codes containing only digits
2019-02-05 21:43:42 +01:00
Ryan Day
690acce652
Merge pull request #124 from yzwduck/fix-seg-toFile
...
Fix passing manual segments list to QRCode.toFile
2018-10-01 08:42:34 -07:00
Ryan Day
7ba2c74bd0
Merge pull request #148 from Tietew/include-crlf-in-byte-segs
...
ensure to include CR/LF in BYTE segments
2018-09-11 11:28:00 -07:00
nerdyman
2ac5dd7eb4
Add 'shape-rendering=crispEdges' to SVG expected.out files to fix failing tests
2018-09-11 14:39:06 +01:00
IWASE
81994c4e4d
ensure to include CR/LF in BYTE segments
2018-08-06 16:37:58 +09:00
James Nicholson
925a98e571
Extracted the version check function into a separate unit to avoid having the circular dependency. Nothing fancy and no functional change.
2018-05-16 15:14:48 -04:00
YeahO_O Yuan
c301458aae
Fix passing manual segment list to toFile
2018-03-07 16:56:06 +08:00
Vincenzo Greco
9a2fceeca3
Add tests for Promise based api
2017-12-28 17:15:07 +01:00
Vincenzo Greco
a86068a290
Update svg renderer tests
2017-12-27 20:40:50 +01:00
Vincenzo Greco
673d1a3b4b
Add width option
2017-11-12 19:34:20 +01:00
Vincenzo Greco
3707f37f9d
Remove legacy API
2017-10-24 17:02:40 +02:00
Vincenzo Greco
1f1487b581
Add mask pattern option
2017-07-28 15:22:07 +02:00
Vincenzo Greco
4797f8ec3e
Fix error event not emitted in toFileStream api
2017-07-19 16:18:52 +02:00
Ryan Day
91c5da3169
fixing output of terminal renderer to actually work in terminals.
2017-07-06 10:09:43 -07:00
Ryan Day
455ba6763f
adding toString svg output to browser version
2017-05-10 05:09:03 -07:00
Vincenzo Greco
c1ce23d4bd
Add tests for penalty rules
2017-03-31 18:20:33 +02:00
Vincenzo Greco
9fe28f992c
Fix bugs in penalty scores evaluation
2017-03-31 18:20:33 +02:00
Vincenzo Greco
3d05221af4
Allow arbitrary margin values
2017-03-25 14:30:34 +01:00
Vincenzo Greco
914a73272d
Support legacy API
2017-03-24 22:18:34 +01:00
Vincenzo Greco
b3f8d27644
Make renderer functions async
2017-03-20 23:33:38 +01:00
Vincenzo Greco
a44744d513
Allow custom image encoder options
2017-03-20 23:12:59 +01:00
Vincenzo Greco
889ad5b979
Add tests for new api
2017-03-18 10:39:57 +01:00
Vincenzo Greco
8fb9d0bb88
Refactor terminal renderer
2017-03-18 10:39:56 +01:00
Vincenzo Greco
dd9d0a903b
Add utf8 renderer
2017-03-18 10:39:56 +01:00
Vincenzo Greco
74e499ef3f
Add png renderer
2017-03-18 10:39:56 +01:00
Vincenzo Greco
53d9f06e7f
Refactor svg renderer
2017-03-18 10:39:55 +01:00
Vincenzo Greco
0d38414450
Add canvas renderer
2017-03-18 10:14:56 +01:00
Vincenzo Greco
57896964f8
Refactor core/qrcode api
2017-03-18 10:14:56 +01:00
Vincenzo Greco
bcd66d2935
Fix lint errors
2017-03-15 13:35:28 +01:00
Vincenzo Greco
139b700cc7
Add support for different encoding modes
2017-02-27 16:04:59 +01:00
Vincenzo Greco
77064f5e5e
Refactor/core ( #59 )
...
* 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
2016-12-16 23:45:08 +01:00
Vincenzo Greco
6cdcb439f6
Add support for svg output
2016-09-19 00:44:00 +02:00
Ryan Day
afc6486f29
fixes #51 paths for windows
2016-08-16 06:29:42 -07:00
Ryan Day
e9dbcd1022
Merge branch 'master' of github.com:soldair/node-qrcode
...
Conflicts:
package.json
2014-09-19 21:55:47 -07:00
Ryan Day
983fb15664
fixing browserify
2013-08-27 19:59:04 -07:00
Ryan Day
be6bcd449d
exposing errorCorrectLevel through main export. adding support for easy strings.
2012-12-29 18:19:28 -08:00
Ryan Day
7686bd0286
updating readme
2012-12-29 18:19:28 -08:00
Ryan Day
ee99845917
fixing options to all methods. fixing bug wher eoptions were not rendered. adding url test for ec level L
2012-12-29 18:19:28 -08:00
Ryan Day
07c1aea9fc
updating test to not use connect
2012-06-23 22:29:47 -07:00
Ryan Day
818677a400
Merge branch 'master' of github.com:soldair/node-qrcode
2012-06-23 21:52:44 -07:00