【文件属性】:
文件名称:yadbf:世界上最大的抛出错误和流错误的dBase III解析器
文件大小:50KB
文件格式:ZIP
更新时间:2021-05-03 01:54:58
JavaScript
YADBF(但另一个DBF解析器)
这个项目是一个流式DBF解析器,它会针对最小的错误抛出错误。
它最初是为支持Esri shapefiles中的.dbf文件而编写的,但它可能适用于您的.dbf文件。
要求
需要Node.js 8或更高版本。
安装
使用纱:
$ yarn add --save yadbf
在Node.js中:
const YADBF = require ( 'yadbf' ) ;
const fs = require ( 'fs' ) ;
fs . createReadStream ( 'file.dbf' )
. pipe ( new YADBF ( ) )
. on ( 'header' , header => {
console . log ( `header: ${ JSON . stringify ( header , null , 2
【文件预览】:
yadbf-master
----.travis.yml(181B)
----.eslintrc(743B)
----index.js(13KB)
----package.json(962B)
----test()
--------index.js(49KB)
----LICENSE(1KB)
----.gitignore(35B)
----CHANGELOG.md(1KB)
----README.md(3KB)
----yarn.lock(88KB)
----.eslintignore(22B)