nodecardcapture

read magnetic card from a card reader in python, managed by node

Usage no npm install needed!

<script type="module">
  import nodecardcapture from 'https://cdn.skypack.dev/nodecardcapture';
</script>

README

Node Card Capture

This runs a python child_process

Installation

  $ sudo apt-get install libusb-1.0-0   
  $ sudo -H pip install pyusb --pre --upgrade   
  $ npm install node-card-capture   

Usage

  var cardCapture = require('node-card-capture')

  cardCapture(function(trackdata){
      console.log(trackdata)
  })