ts-pcsclitedeprecated

Bindings over PC/SC to access Smart Cards

Usage no npm install needed!

<script type="module">
  import tsPcsclite from 'https://cdn.skypack.dev/ts-pcsclite';
</script>

README

Fork of Santiago Gimeno's https://github.com/santigimeno/node-pcsclite

node-pcsclite

![Gitter](https://badges.gitter.im/Join Chat.svg)

Bindings over pcsclite to access Smart Cards. Starting with version 0.4.0 it works in Linux, OS X and Windows.

Installation

You'll need a node version installed in the system. You have several options:

  • Download and install it from the node website

  • Install it from your own distro. For the Debian users:

    apt-get install nodejs nodejs-legacy

  • Use nodesource repository for different distros.

  • Use tools like nave or nvm

In order to install the package you need to have installed in the system the pcsclite libraries. For example, in Debian/Ubuntu:

apt-get install libpcsclite1 libpcsclite-dev

Once they are installed just run:

npm install ts-pcsclite

To run any code you will also need to have installed the pcsc daemon:

apt-get install pcscd