0.1.1 • Published 7 years ago

atm-screens v0.1.1

Weekly downloads
8
License
LGPL-2.1
Repository
github
Last release
7 years ago

atm-screens

ATM Screens Service implementation, used by Electron ATM application. The module may be used for NDC ATM screens parsing and processing.

To use:

const ScreensService = require('atm-screens');

var s = new StatesService();
s.s.parseScreen('000\x0c\x1bPEPIC000.jpg\x1b\x5c\x0FFO')
> Object({
  number: '000',
  actions: [ 
    'clear_screen', 
    Object({ display_image: 'PIC000.jpg' }), 
    Object({ move_cursor: Object({ x: 'O', y: 'F' }) }) 
  ]
});