Kawasaki As Parser
A Kawasaki robot backup parser written in TypeScript for browser or Node. The library also includes TypeScript interfaces for use in new projects.
Source
Usage
For node projects the library can be downloaded from NPM
NPM
$ npm install @rassweiler/kawasaki-as-parser
Yarn
$ yarn add @rassweiler/kawasaki-as-parser
Importing
import KawasakiParser from "@rassweiler/kawasaki-as-parser";
Getting Data
The module’s functions can be called independently (All calls return promises):
let info = await KawasakiParser.getRobotInformationObject(
utf8StringArray,
robotNumber
);
Or the getControllerObject()
function can be called and will return an object containing all of the robot information:
let controller = await KawasakiParser.getControllerObject(utf8StringFromAsFile);