# parsedbf

> The DBF parsing component of shapefile-js

Latest version **2.0.0** (published 2024-07-11) · MIT license · 0 weekly downloads

## Install

```sh
npm install parsedbf
pnpm add parsedbf
yarn add parsedbf
bun add parsedbf
```

## Health

**Score 30/100 (F)** — status: abandoned.

Positive: esm support; no vulnerabilities.

Warnings: low downloads; no types.

Negative: abandoned.

## Facts

| | |
|---|---|
| Version | 2.0.0 |
| Published | 2024-07-11 |
| First published | 2013-10-02 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | ESM + CommonJS |
| Dependencies | 0 |
| Unpacked size | 35.9 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 12 |
| Author | Calvin Metcalf |
| Maintainers | cwmma |
| Keywords | dbf, shp |

## Links

- npm: https://www.npmjs.com/package/parsedbf
- Repository: https://github.com/calvinmetcalf/parseDBF
- Homepage: https://github.com/calvinmetcalf/parseDBF#readme
- Issues: https://github.com/calvinmetcalf/parseDBF/issues
- npm.io page: https://npm.io/package/parsedbf

## Recent versions

- 2.0.0 (latest) — 2024-07-11
- 1.1.1 — 2020-10-13
- 1.1.0 — 2020-09-21
- 1.0.0 — 2017-06-09
- 0.1.2 — 2016-03-22
- 0.1.1 — 2015-09-27
- 0.1.0 — 2015-05-15
- 0.0.1 — 2013-10-02

## README

parseDBF
========
DBF parsing components of [shapefile-js](https://github.com/calvinmetcalf/shapefile-js)

[![Build Status](https://travis-ci.org/calvinmetcalf/parseDBF.svg)](https://travis-ci.org/calvinmetcalf/parseDBF)
[![Dependency Status](https://david-dm.org/calvinmetcalf/parseDBF.svg)](https://david-dm.org/calvinmetcalf/parseDBF)
[![devDependency Status](https://david-dm.org/calvinmetcalf/parseDBF/dev-status.svg)](https://david-dm.org/calvinmetcalf/parseDBF#info=devDependencies)


Install
===

```
npm install --save parsedbf
```

Usage
===

`parseDBF(dataView, [codepage])`

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

---
_Source: https://npm.io/package/parsedbf · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
