Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/timgabets/atm-screens

ATM Screens Service
https://github.com/timgabets/atm-screens

Last synced: about 2 months ago
JSON representation

ATM Screens Service

Awesome Lists containing this project

README

        

# atm-screens

ATM Screens Service implementation, used by [Electron ATM](https://github.com/timgabets/electron-atm) application. The module may be used for NDC ATM screens parsing and processing.

## To use:
```javascript
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' }) })
]
});
```