csv-load-sync:小型逗号分隔值文件(.csv)的同步加载例程

时间:2024-05-22 19:36:57
【文件属性】:

文件名称:csv-load-sync:小型逗号分隔值文件(.csv)的同步加载例程

文件大小:55KB

文件格式:ZIP

更新时间:2024-05-22 19:36:57

JavaScript

csv-load-sync 小型逗号分隔值文件(.csv)的同步加载例程。 返回对象数组,从第一行获取属性名称。 假设所有内容都是用引号引起来的字符串。 安装 需要nodejs npm install -S csv-load-sync 输入项 带有两个记录的示例CSV文件 "deviceId","description" "1","iPhone 4" "2","iPhone 4S" 具有三个记录的示例CSV文件 "id","firstName","lastName","country","lastLogin" "1","John","Smith","US","2013-08-04 23:57:38" "2","Greg","Smith","US","2013-07-12 13:27:18" "3","Harold","Smith","GB","2013-07-16 21:17:28"


【文件预览】:
csv-load-sync-master
----index.js(109B)
----package.json(745B)
----.github()
--------workflows()
----test()
--------100.csv(5KB)
--------two.csv(56B)
--------gaps-comments.csv(161B)
--------gps.csv(60B)
--------load.js(6KB)
--------empty-columns.csv(60B)
--------three.csv(190B)
--------fields-with-commas.csv(51B)
--------exports.js(278B)
--------one.csv(31B)
--------fields.csv(83B)
----package-lock.json(214KB)
----src()
--------load.js(4KB)
----.gitignore(20B)
----.npmrc(36B)
----README.md(4KB)
----.prettierrc.json(86B)

网友评论