jszip js压缩下载

上传者: u013911865 | 上传时间: 2021-04-08 22:07:17 | 文件大小: 32KB | 文件类型: ZIP
前端 用于压缩下载,单个文件zip var zip = new JSZip(); zip.file("Hello.txt", data1, { binary: true }); zip.file("any other way.mp3", btoa("H:\Users\Desktop\aaaa.txt"), { base64: true }); //// var content = zip.generate({ type: "blob" }); see FileSaver.js saveAs(content, "task.zip");

文件下载

资源详情

[{"title":"( 29 个子文件 32KB ) jszip js压缩下载","children":[{"title":"jszip-utils-master","children":[{"title":".jshintrc <span style='color:#111;'> 199B </span>","children":null,"spread":false},{"title":"index.md <span style='color:#111;'> 593B </span>","children":null,"spread":false},{"title":"LICENSE.markdown <span style='color:#111;'> 32.91KB </span>","children":null,"spread":false},{"title":".jshintignore <span style='color:#111;'> 18B </span>","children":null,"spread":false},{"title":"CHANGES.md <span style='color:#111;'> 206B </span>","children":null,"spread":false},{"title":"bower.json <span style='color:#111;'> 561B </span>","children":null,"spread":false},{"title":"Gruntfile.js <span style='color:#111;'> 3.35KB </span>","children":null,"spread":false},{"title":"lib","children":[{"title":"license_header.js <span style='color:#111;'> 281B </span>","children":null,"spread":false},{"title":"index_IE.js <span style='color:#111;'> 1.57KB </span>","children":null,"spread":false},{"title":"index.js <span style='color:#111;'> 3.35KB </span>","children":null,"spread":false}],"spread":true},{"title":"README.markdown <span style='color:#111;'> 573B </span>","children":null,"spread":false},{"title":".travis.yml <span style='color:#111;'> 481B </span>","children":null,"spread":false},{"title":"test","children":[{"title":"index.html <span style='color:#111;'> 1.23KB </span>","children":null,"spread":false},{"title":"test.js <span style='color:#111;'> 1.53KB </span>","children":null,"spread":false},{"title":"ref","children":[{"title":"amount.txt <span style='color:#111;'> 6B </span>","children":null,"spread":false},{"title":"smile.gif <span style='color:#111;'> 41B </span>","children":null,"spread":false}],"spread":false}],"spread":true},{"title":"dist","children":[{"title":"jszip-utils.js <span style='color:#111;'> 4.38KB </span>","children":null,"spread":false},{"title":"jszip-utils.min.js <span style='color:#111;'> 1.73KB </span>","children":null,"spread":false},{"title":"jszip-utils-ie.js <span style='color:#111;'> 2.39KB </span>","children":null,"spread":false},{"title":"jszip-utils-ie.min.js <span style='color:#111;'> 1.57KB </span>","children":null,"spread":false}],"spread":true},{"title":"component.json <span style='color:#111;'> 391B </span>","children":null,"spread":false},{"title":".gitignore <span style='color:#111;'> 40B </span>","children":null,"spread":false},{"title":"_config.yml <span style='color:#111;'> 522B </span>","children":null,"spread":false},{"title":"documentation","children":[{"title":"api.md <span style='color:#111;'> 125B </span>","children":null,"spread":false},{"title":"_layouts","children":[{"title":"default.html <span style='color:#111;'> 3.13KB </span>","children":null,"spread":false}],"spread":false},{"title":"api","children":[{"title":"getbinarycontent.md <span style='color:#111;'> 1.76KB </span>","children":null,"spread":false}],"spread":false},{"title":"css","children":[{"title":"pygments.css <span style='color:#111;'> 3.19KB </span>","children":null,"spread":false},{"title":"main.css <span style='color:#111;'> 71B </span>","children":null,"spread":false}],"spread":false}],"spread":false},{"title":"package.json <span style='color:#111;'> 1.00KB </span>","children":null,"spread":false}],"spread":false}],"spread":true}]

评论信息

  • nima_kengdie :
    感谢楼主啊
    2020-12-05
  • rabbit0708 :
    感谢楼主啊!
    2019-02-13
  • saintfox001 :
    这个挺好用 谢谢分享
    2018-09-14
  • zzpxingfu :
    这个挺好用 谢谢分享。感谢。
    2018-01-31
  • 细水VS长流 :
    挺好的一个资源,可以用
    2018-01-10
  • Comid_Tan :
    用过一下,挺好用
    2017-02-24
  • yongbuyanqi0814 :
    还可以吧,还能参考
    2016-09-22
  • zhang995001862 :
    目前来看还行
    2015-12-26

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明