Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

parsedbf

calvinmetcalf197.4kMIT2.0.0

The DBF parsing component of shapefile-js

dbf, shp

readme

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