parsedbf

The DBF parsing component of shapefile-js


Keywords
dbf, shp
License
MIT
Install
npm install parsedbf@2.0.0

Documentation

parseDBF

DBF parsing components of shapefile-js

Build Status Dependency Status devDependency Status

Install

npm install --save parsedbf

Usage

parseDBF(dataView, [codepage])

import parseDBF from 'parsedbf';

var buff = fs.readFileSync('path/to/my/file');
var dbfFile = new DataView(buff.buffer, buff.byteOffset, buff.byteLength);
var parsedDBF = parseDBF(dbfFile);