Newborn Programming Monsters

    kxx-reader
    TypeScript icon, indicating that this package has built-in type declarations

    1.5.0 • Public • Published

    Transform stream to parse Gordic KXX export

    Prerequisities

    • NodeJS

    Installation

    npm i kxx-reader

    Usage

    Pipe data

     
    const KXXReader = require("kxx-reader");
     
    fs.createReadStream("./export.kxx")
      .pipe( KXXReader() )
      .pipe( /* consume JSON records */ ) 
      

    Write directly

    const KXXReader = require("kxx-reader");
     
    const kxxreader = KXXReader();
     
    kxxreader.on("data", record => {
      /* consume JSON records */
    });
     
    kxxreader.write("5/@.....");
    kxxreader.end();

    Install

    npm i kxx-reader

    DownloadsWeekly Downloads

    2

    Version

    1.5.0

    License

    GPL-3.0-or-later

    Unpacked Size

    6.26 kB

    Total Files

    6

    Last publish

    Collaborators

    • smallhillcz