Commit graph

13 commits

Author SHA1 Message Date
Linus Unnebäck
9cc0e3b78d
Use const/let instead of var 2020-04-16 22:50:11 +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
Thijs Busser
7fb89ec10e Fix maskPattern 0 parameter
When providing the option maskPattern it doesn't correctly handle mask
pattern 0. The checks failed to account for the fact that 0 is a falsy
value.
2018-07-11 09:25:09 +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
Vincenzo Greco
9fe28f992c Fix bugs in penalty scores evaluation 2017-03-31 18:20:33 +02:00
Vincenzo Greco
57896964f8 Refactor core/qrcode api 2017-03-18 10:14:56 +01:00
Vincenzo Greco
41318bdf4f Remove unused code 2017-03-18 10:14:56 +01:00
Vincenzo Greco
bab149d14a Use isarray module from npm 2017-03-18 10:14:56 +01:00
Vincenzo Greco
139b700cc7 Add support for different encoding modes 2017-02-27 16:04:59 +01:00
Vincenzo Greco
77064f5e5e Refactor/core ()
* 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