Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/timgabets/atm-screens
- Owner: timgabets
- Created: 2017-10-23T17:29:02.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2017-10-23T17:35:39.000Z (about 7 years ago)
- Last Synced: 2024-10-29T04:07:27.571Z (3 months ago)
- Language: JavaScript
- Size: 5.86 KB
- Stars: 0
- Watchers: 3
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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' }) })
]
});
```