pcsc-rust
pcsc-rust copied to clipboard
Js bindings with napi-rs
Hello thanks for your great work.
Currently js ecosystem struggles with pcsc. The only library is node-pcsclite uses nan for bindings which brings lots of headaches (such as instability with electron) and it is not maintained.
I have zero knowledge about rust so I ask humbly, is it possible to have js bindings with napi-rs?
Yes, it should be possible, though I am unlikely to do the work myself.
Anyone writing PCSC bindings for JS probably should look at the Web Smart Card specification. It's a draft that is only implemented on Chrome OS, but they've already designed a decent API.