spaten-parser

1.0.0 • Public • Published

spaten-parser

Parse Spaten-encoded geodata.

npm version build status ISC-licensed minimum Node.js version chat with me on Gitter support me via GitHub Sponsors

Installation

npm install spaten-parser

Usage

const {readFileSync} = require('fs')
const parse = require('spaten-parser')
 
const buf = readFileSync('path/to/file.spaten')
 
for (const item of parse(buf)) {
    console.log(item)
}

parse is a generator function, so it returns an iterator.

Contributing

If you have a question or need support using spaten-parser, please double-check your code and setup first. If you think you have found a bug or want to propose a feature, use the issues page.

Readme

Keywords

Package Sidebar

Install

npm i spaten-parser

Weekly Downloads

1

Version

1.0.0

License

ISC

Unpacked Size

9.08 kB

Total Files

8

Last publish

Collaborators

  • derhuerst