Skip to content

Latest commit

 

History

History
22 lines (14 loc) · 431 Bytes

README.md

File metadata and controls

22 lines (14 loc) · 431 Bytes

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