Skip to content

Commit d7b9aeb

Browse files
committed
adding travis
1 parent 9407c8c commit d7b9aeb

File tree

3 files changed

+12
-1
lines changed

3 files changed

+12
-1
lines changed

.travis.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
language: node_js
2+
node_js:
3+
- "6"
4+
- "6.1"
5+
- "5.11"
6+
- "iojs"

README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
card-swipe.js
22
==============
3+
4+
[![NPM version](https://img.shields.io/npm/v/card-swipe.svg)]()
5+
[![npm](https://img.shields.io/npm/dt/card-swipe.svg)]()
6+
[![Travis](https://img.shields.io/travis/khrome/card-swipe.svg)]()
7+
38
A utility for detecting CC track inputs from streaming character data and for extracting data from them.
49

510
A credit card magstripe contains a string of data representing a composite of account details. A 'card present' transaction (which gives you a better retail percentage on your transaction fees) generally consists of setting a flag and passing along this data, which has strict regulations on them preventing them from ever being saved to disk. Normally a magstripe is just a keyboard as far as the OS knows, which often leads to tedious PC POS interfaces where you click into a field and then swipe the card, your other option is to build an input sniffer which allows you to scan time restricted character buffers for track data patterns, so you can react/generate events/whatever. So that's what this is, you plug keystroke input into it, it reacts whenever it sees a cardswipe. In addition it can use bin ranges on the account number to determine account type and issuer.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "card-swipe",
33
"homepage": "https://github.com/khrome/card-swipe",
4-
"version": "1.0.2",
4+
"version": "1.0.3",
55
"main": "card-swipe.js",
66
"description": "A utility for detecting CC track inputs from streaming character data and extracting data from them",
77
"keywords": [

0 commit comments

Comments
 (0)