atm-screens

0.1.1 • Public • Published

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' }) }) 
  ]
});

Readme

Keywords

Package Sidebar

Install

npm i atm-screens

Weekly Downloads

5

Version

0.1.1

License

LGPL-2.1

Last publish

Collaborators

  • timgabets