import-csv
v1.0.3
Published
simple way for import csv
Downloads
15
Readme
import-csv
Artwork by i5ting.
Install
[sudo]npm install --save import-csv
Usages
默认使用gbk编码
var import_csv = require('import-csv')
import_csv('test.csv',function(err, data){
console.log(data);
})
指定字符编码机
var import_csv = require('import-csv')
import_csv('test.csv',function(err, data){
console.log(data);
}, 'gbk')
Contributing
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request
版本历史
- v1.0.0 初始化版本
欢迎fork和反馈
- write by
i5ting
[email protected]
如有建议或意见,请在issue提问或邮件
License
this repo is released under the MIT License.