An event-based, pure JavaScript parser for reading data from dBase (.dbf) files. Based on node-dbf but adds float type support, correct handling of numeric fields, and works without CoffeeScript. Version 0.0.1 is stable but minimal: only Character and Numeric field types are supported. Primarily for Node.js, uses EventEmitter for streaming output. Not actively maintained; alternative libraries like dbf or shapefile-js may offer more complete implementations.
npm install dbf-parserNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Shows how to create a parser, register event handlers, and start parsing a .dbf file.
Pre-process .dbf file to ensure only supported types, or use a more full-featured library like dbf.
Consider alternatives like shapefile-js or dbf for ongoing support and features.
For large files, use a streaming parser like dbf (npm package) or chunk the file manually.
If field padding is significant, use a different parser that preserves raw content.
Remove or convert Date fields to Character or Numeric before processing.
Ensure you use 'const parser = new Parser(path);' after requiring the module.
Run 'npm install dbf-parser' in your project directory.
Use a streaming parser like 'dbf' (npm package) for files over 1GB.
No dependency data recorded yet.