mnisting-excel-export

1.0.0 • Public • Published

下载

npm i mnisting-excel-export -S

使用

const excel = require('mnisting-excel-export')

点击事件 = function(){

    // ...

    // excel.download(文件名, excel标题, excel数据)

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

    // ... 
    
}

Package Sidebar

Install

npm i mnisting-excel-export

Weekly Downloads

1

Version

1.0.0

License

ISC

Unpacked Size

1.97 kB

Total Files

3

Last publish

Collaborators

  • mnisting