Bindings over pcsclite to access Smart Cards. Starting with version 0.4.0 it works in Linux, OS X and Windows.
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.
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