1.0.0 • Published 4 years ago
spaten-parser v1.0.0
spaten-parser
Parse Spaten-encoded geodata.
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