Skip to content

cityvizor/kxx-reader

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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();

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 100.0%