# feathers-nfc-pcsc
A feathers js Service using pcsc bindings.

## Installation
1. git clone
2. edit copy config.example.js => config.js
3. node .

## Notes
- Look into the package.json scripts section.

Built-in support for auto-reading **card UIDs** and reading tags emulated with [**Android HCE**](https://developer.android.com/guide/topics/connectivity/nfc/hce.html).

> **NOTE:** Reading tag UID and methods for writing and reading tag content **depend on NFC reader commands support**.
It is tested to work with **ACR122 USB reader** but it should work with **all PC/SC compliant devices**.  
When detecting tags does not work see [Alternative usage](#alternative-usage).

This library uses pscslite native bindings [pokusew/node-pcsclite](https://github.com/pokusew/node-pcsclite) under the hood.
[pokusew/nfc-pcsc](https://github.com/pokusew/nfc-pcsc)

This library uses FeathersJS as Realtime Enabled Backend
[FeathersJS](https://feathersjs.com) under the hood.
