lzwCompress.js:在JavaScript中为字符串实现了无损LZW压缩解压JSONJS对象

上传者: 42128988 | 上传时间: 2023-11-28 20:26:33 | 文件大小: 63KB | 文件类型: ZIP
JavaScript中针对字符串/ JSON / JS对象实现的无损LZW压缩/解压缩。 用法: 从npm安装lzwCompress: npm install lzwcompress 然后在您的node.js应用程序中使用它: import lzwCompress from 'lzwcompress'; const json = { name: 'Mr. JavaScript Kumar', age: 42, start_date: new Date(), address: { street: '123 MG Road', city: 'Mumbai', state: 'Maharashtra', country: 'India' } }; // to compress objects const compressed = lzwC

文件下载

资源详情

[{"title":"( 17 个子文件 63KB ) lzwCompress.js:在JavaScript中为字符串实现了无损LZW压缩解压JSONJS对象","children":[{"title":"lzwCompress.js-main","children":[{"title":".jshintrc <span style='color:#111;'> 738B </span>","children":null,"spread":false},{"title":".gitignore <span style='color:#111;'> 693B </span>","children":null,"spread":false},{"title":"package.json <span style='color:#111;'> 1.26KB </span>","children":null,"spread":false},{"title":"package-lock.json <span style='color:#111;'> 201.19KB </span>","children":null,"spread":false},{"title":"lzwCompress.js <span style='color:#111;'> 7.04KB </span>","children":null,"spread":false},{"title":".travis.yml <span style='color:#111;'> 138B </span>","children":null,"spread":false},{"title":"Gruntfile.js <span style='color:#111;'> 1.68KB </span>","children":null,"spread":false},{"title":"LICENSE <span style='color:#111;'> 1.07KB </span>","children":null,"spread":false},{"title":"README.md <span style='color:#111;'> 2.27KB </span>","children":null,"spread":false},{"title":"appveyor.yml <span style='color:#111;'> 537B </span>","children":null,"spread":false},{"title":".circleci","children":[{"title":"config.yml <span style='color:#111;'> 1018B </span>","children":null,"spread":false}],"spread":true},{"title":"bower.json <span style='color:#111;'> 643B </span>","children":null,"spread":false},{"title":"test","children":[{"title":"mock","children":[{"title":"large.json <span style='color:#111;'> 4.21KB </span>","children":null,"spread":false},{"title":"obj1.json <span style='color:#111;'> 436B </span>","children":null,"spread":false}],"spread":false},{"title":"karma.conf.js <span style='color:#111;'> 3.41KB </span>","children":null,"spread":false},{"title":"spec","children":[{"title":"lzwCompress.spec.js <span style='color:#111;'> 4.08KB </span>","children":null,"spread":false}],"spread":false}],"spread":true},{"title":".editorconfig <span style='color:#111;'> 206B </span>","children":null,"spread":false}],"spread":false}],"spread":true}]

评论信息

免责申明

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