Commit graph

5 commits

Author SHA1 Message Date
Linus Unnebäck
9cc0e3b78d
Use const/let instead of var 2020-04-16 22:50:11 +01: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
9fe28f992c Fix bugs in penalty scores evaluation 2017-03-31 18:20:33 +02: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