Skip to content

mikaello/emit-punch-cards-communication

This branch is 1 commit ahead of main.

Folders and files

NameName
Last commit message
Last commit date
Feb 24, 2025
Apr 2, 2022
Jul 17, 2024
Mar 6, 2025
Jul 17, 2024
Jul 17, 2024
Mar 7, 2020
Mar 13, 2020
Jan 21, 2024
Mar 7, 2020
May 10, 2024
Apr 2, 2022
Mar 3, 2025
Jan 21, 2024
Jul 17, 2024
Mar 3, 2025

Repository files navigation

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

  • ❌ eScan2 device
  • ✅ eScan device
  • ❌ ECU1
  • ✅ 250 device
  • ✅ MTR4 device
  • ❌ ePost