1.0.0 • Published 4 years ago

spaten-parser v1.0.0

Weekly downloads
5
License
ISC
Repository
github
Last release
4 years ago

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.

1.0.0

4 years ago