JSPM

@mikaello/emit-punch-cards-communication

0.0.7
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • 0
  • Score
    100M100P100Q39068F
  • License GPL-3.0

Tools for communicating with EMIT punch cards

Package Exports

  • @mikaello/emit-punch-cards-communication

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@mikaello/emit-punch-cards-communication) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

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) is used.

NB: The Serial API currently only works in Chrome. To start using this library you need to either start a trial for the Serial API, or enable Experimental Web Platform features in chrome://flags.

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

  • ✅ 250 device
  • ✅ MTR4 device
  • ❌ ePost