Giter Club home page Giter Club logo

node-pcsc's Introduction

node-pcsc

PCSC bindings for NodeJS

Build

Dependencies to run this out are:

  • nodejs
  • Linux:
    • libpcsclite
    • libpcsclite-dev
  • Mac OS X:
    • XCode
  • Windows:
    • Visual Studio 2010 (Express)

If you are running a Debian/Ubuntu Linux distribution you may install it this way:

sudo apt-get install nodejs npm libpcsclite1 libpcsclite-dev

Under Mac OS X if you have updated to Maveric after installing Xcode you need to run:

xcode-select --install

Under Windows you need to install all updates for the Windows SDK and Visual Studio This is really annoying 100 times restart ...

Anyway afterwards to compile the native sources you may call node-gyp:

node-gyp configure
node-gyp build

Or install it via the npm tool:

npm install

Updating SmartCard/RFID tags card list

The author of PCSC, Ludovic Rousseau, is maintaining a list of known SmartCard/RFID tags on his website. This package integrate a version of it (./lib/smcard-list.js), and provide a tool to update it if needed:

npm run update-list

Or (strictly equivalent)

./tools/updateList.js

API

The JS-side API is still not stable, please refer to examples provided for now.

Testing

A test suite will be proabably written later on.

Code sample

A little example using this library is available, you can try it this way:

./examples/example1.js

Contributing

This package would have never existed without great support of open source projects, rewarding the community by this work is the least I can do. I would appreciate any code review, comments, issue reportings, forks from you. Please feel free to contact me at: clement.desiles{{EMAIL_SYMBOL}}telecomsante.com

Legal

This projet is under the MIT licence. Please refer to the LICENCE file provided for more information.

node-pcsc's People

Contributors

clement-ts avatar hackerhelmut avatar jokesterfr avatar ludovicrousseau avatar

Stargazers

Thomas Schaaf avatar

Watchers

 avatar James Cloos avatar  avatar

Forkers

hackerhelmut

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.