nonomother-excel-export

1.0.1 • Public • Published

导出excel的小模块,玩玩就好

下载

npm i nonomother-excel-export -S

下载

步骤1:
const excel = require('nonomother-excel-export')


步骤2:
点击事件 = function() {
    // excel.download(文件名, excel标题, excel数据)

    excel.download('测试文件', ["编号", "姓名"], [
      { id: 1, title: "a" },
      { id: 2, title: "b" },
    ])
    
   
}

Dependencies (0)

    Dev Dependencies (0)

      Package Sidebar

      Install

      npm i nonomother-excel-export

      Weekly Downloads

      0

      Version

      1.0.1

      License

      ISC

      Unpacked Size

      2.09 kB

      Total Files

      3

      Last publish

      Collaborators

      • nonomother