Nectar of the Programming Masses

    import-csv

    1.0.3 • Public • Published

    import-csv

    Artwork by i5ting.

    Deps npm GitHub license npm

    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

    1. Fork it
    2. Create your feature branch (git checkout -b my-new-feature)
    3. Commit your changes (git commit -am 'Add some feature')
    4. Push to the branch (git push origin my-new-feature)
    5. Create new Pull Request

    版本历史

    • v1.0.0 初始化版本

    欢迎fork和反馈

    如有建议或意见,请在issue提问或邮件

    License

    this repo is released under the MIT License.

    Keywords

    none

    Install

    npm i import-csv

    DownloadsWeekly Downloads

    14

    Version

    1.0.3

    License

    ISC

    Last publish

    Collaborators

    • zhaoxingyue
    • zhangyuang
    • langshu