tomkp / smartcard

PCSC smartcard reader library for nodejs
MIT License
135 stars 56 forks source link

Avoid require(smartcard) crashes if service is not started #5

Closed cleoo closed 6 years ago

cleoo commented 6 years ago

Just importing smartcard lib make app crash if pcscd service is not started. I'm working on a project where multiple card readers can be configured (factory), some are pcscd compliant some are not, so it's not useful to install this service.

tomkp commented 6 years ago

Thanks!!

cleoo commented 6 years ago

Thanks for your work ;)