pcsc-rust icon indicating copy to clipboard operation
pcsc-rust copied to clipboard

Js bindings with napi-rs

Open ayZagen opened this issue 11 months ago • 1 comments

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?

ayZagen avatar Feb 09 '25 14:02 ayZagen

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.

bluetech avatar Feb 09 '25 19:02 bluetech