@mikaello/emit-punch-cards-communication
v1.0.1
Published
Tools for communicating with EMIT punch cards
Downloads
78
Maintainers
Readme
emit-punch-cards-communication
Utils for communication with EMIT punch card devices. These utils are implemented wih TypeScript and based on streams. To communicate with the 250 and MTR4 device, the Serial API (see also Serial API on Github or MDN) is used, while for the eScan device WebUSB API was needed.
NB: The Serial API currently only works in Chrome and Edge, while WebUSB API does also work on Chrome for Android.
Install
This library is published to NPM as ES modules (no CommonJS/IIFE):
yarn add @mikaello/emit-punch-card-communication
Usage
See example project to see how this library could be used, especially helper.ts.
Status
- :x: eScan2 device
- :white_check_mark: eScan device
- :x: ECU1
- :white_check_mark: 250 device
- :white_check_mark: MTR4 device
- :x: ePost