https://github.com/samt/rfidjs
Reads an RFID device from stdin and emits an event with the validated ID
https://github.com/samt/rfidjs
Last synced: 8 months ago
JSON representation
Reads an RFID device from stdin and emits an event with the validated ID
- Host: GitHub
- URL: https://github.com/samt/rfidjs
- Owner: samt
- Created: 2013-05-30T22:19:05.000Z (about 13 years ago)
- Default Branch: master
- Last Pushed: 2014-05-29T07:06:23.000Z (about 12 years ago)
- Last Synced: 2025-04-13T21:18:16.146Z (about 1 year ago)
- Language: JavaScript
- Homepage:
- Size: 107 KB
- Stars: 0
- Watchers: 0
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# RFID.js
Reads keyboard input (from an RFID device) and emits an event containing the
validated id code.
## Applications
This is pimarily useful for kiosks running some sort of web application
## Usage
Just register a listener for the event
```
document.addEventListener("RFIDCardScan",function (e) {
console.log('Card Scanned: ' + e.idcode);
},false);
```
## License
[The MIT License](http://opensource.org/licenses/MIT)