{"_id":"async-lz-string","_rev":"5-86f9b7f5ab0129084d8d5ce8e8fa5dcb","name":"async-lz-string","dist-tags":{"latest":"1.1.0"},"versions":{"1.0.0":{"name":"async-lz-string","version":"1.0.0","license":"MIT","author":{"name":"Jack Bister"},"filename":"async-lz-string.js","description":"LZ-based compression algorithm","homepage":"https://jackbister.github.io/async-lz-string/","keywords":["async","lz","compression","string"],"scripts":{"build":"webpack -p","start":"webpack-dev-server -d --content-base ./demo --port 80 --host 0.0.0.0","start-test":"karma start","test":"karma start --single-run"},"main":"libs/async-lz-string.js","typings":"typings/async-lz-string.d.ts","dependencies":{},"devDependencies":{"@types/jasmine":"3.3.14","jasmine":"3.4.0","karma":"4.2.0","karma-chrome-launcher":"3.0.0","karma-cli":"2.0.0","karma-jasmine":"2.0.1","karma-typescript":"4.1.1","karma-typescript-es6-transform":"4.1.1","lz-string":"1.4.4","ts-loader":"6.0.4","typescript":"3.5.3","webpack":"4.36.1","webpack-cli":"3.3.6","webpack-dev-server":"3.7.2"},"repository":{"type":"git","url":"git+https://github.com/jackbister/async-lz-string.git"},"bugs":{"url":"https://github.com/jackbister/async-lz-string/issues"},"directories":{"test":"test"},"gitHead":"0cbdc32b32721bb89978af699ceb5d3868a1a42d","_id":"async-lz-string@1.0.0","_npmVersion":"5.6.0","_nodeVersion":"8.11.3","_npmUser":{"name":"jackbister","email":"jack+npm@jackbister.com"},"dist":{"integrity":"sha512-Rs4ilt2+KAPWQCRlAoJQtqRiTkMplxzWFKugOxAkMjiRadKXXZBb4JoNmbLdLlY3nUQNuaOKHwgQ8SvQgZ3Cbg==","shasum":"d70e5eda6124f10c5ca021a09ac3285cf55dc761","tarball":"https://registry.npmjs.org/async-lz-string/-/async-lz-string-1.0.0.tgz","fileCount":15,"unpackedSize":103262,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdNECCCRA9TVsSAnZWagAA3IUP/1JJdpbl6RunLfpwsaIZ\nXGhZfre5bJ0lSR/bOP20PY3P9KqSgkhSMgeeJ16qA7q+SoRUSwDMSPBtMI5V\nLo3IQ3vZgM6Gu1sSUpE+6ElzLAgcJdFV0hWctz3KR7hh2ie6FUX2nvacpHgG\nf/GbeVGruIZKklB/yTUraTt3d+tKUlW3M0wtuqYECbaCQCLQUwht7GS8AWQg\nVx4ztOi71WERFQFjrOPUGLBYPgpjf16eL6oeei13iNKlPRoxHKjs93aWES5w\nT2GBqqXczUCFk/y4T7ffBg6VxJFbLqM5LYQJq7QFHksiu37eXCodz3C/fM1K\nRsPElvhsYc6Hp0HY0GMbejh0a00Z3T7EvdrpaKOMAsQX6gXTJwbx24q6ZWCY\np8uO3BP31msunQCxMilqNAWZtUyiqle1gYxR1drQaVczF95B8mT+XpDrY6IR\nzP3reNS/OOc3nCyQBjLlQWZwxNwTYL9urEr4YnAgvQ+Ibv5/sPqpOHWNrz/Y\nz0YrinrWt16WpC0uMqNWym3u531oBQtopMg23ZPd0MYf1/YbI9A/2GLFVAJ+\nZiDF4TrJ0LvL9d2i5Yxi8NZSl+ZwckMr5Mxdi6cU0s8VQ2sHzPJ6bta41rW9\nTRFvlRF3CqhjVOSv0XYuWi9ES/HBCUK2Fk4V3ez9rM0iiTY5mhx+JFIEGsfh\nbblb\r\n=u7xL\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDbiDIJfeh5CdLZURwx2gT8ghkfa31Zcj9o4ol241hL7QIhAJs4pmyVc+LSYCK+ktGWpZB8hQVLh0a8PlFVXkhl7Jp7"}]},"maintainers":[{"name":"jackbister","email":"jack+npm@jackbister.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/async-lz-string_1.0.0_1563705473822_0.07982101929940377"},"_hasShrinkwrap":false},"1.0.1":{"name":"async-lz-string","version":"1.0.1","license":"MIT","author":{"name":"Jack Bister"},"filename":"async-lz-string.js","description":"LZ-based compression algorithm","homepage":"https://github.com/jackbister/async-lz-string/","keywords":["async","lz","compression","string"],"scripts":{"build":"webpack -p","start":"webpack-dev-server -d --content-base ./demo --port 80 --host 0.0.0.0","start-test":"karma start","test":"karma start --single-run","watch":"webpack --watch"},"main":"libs/async-lz-string.js","typings":"typings/async-lz-string.d.ts","dependencies":{},"devDependencies":{"@types/jasmine":"3.3.14","jasmine":"3.4.0","karma":"4.2.0","karma-chrome-launcher":"3.0.0","karma-cli":"2.0.0","karma-jasmine":"2.0.1","karma-typescript":"4.1.1","karma-typescript-es6-transform":"4.1.1","lz-string":"1.4.4","ts-loader":"6.0.4","typescript":"3.5.3","webpack":"4.36.1","webpack-cli":"3.3.6","webpack-dev-server":"3.7.2"},"repository":{"type":"git","url":"git+https://github.com/jackbister/async-lz-string.git"},"bugs":{"url":"https://github.com/jackbister/async-lz-string/issues"},"directories":{"test":"test"},"gitHead":"485fb5d2f69fbfebe088079abc28624ccd461e1a","_id":"async-lz-string@1.0.1","_npmVersion":"5.6.0","_nodeVersion":"8.11.3","_npmUser":{"name":"jackbister","email":"jack+npm@jackbister.com"},"dist":{"integrity":"sha512-5P2KT71nOATYMK8Wi7YmablTsl5WVRM9zoYV9uw9OO6bZ/8drKQwuapqNHm4W0cplE0fDfUXkiakSI9+dpf3Kw==","shasum":"7bac92498e496b128814c1db61389b724019ddcd","tarball":"https://registry.npmjs.org/async-lz-string/-/async-lz-string-1.0.1.tgz","fileCount":16,"unpackedSize":107475,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdNFQaCRA9TVsSAnZWagAA2n4P/iGGPesI/Zi6AdNgl1h2\n2b9cAxBh7pNqyfk3pAb2NfV1yGo57GoUzSGXpEU7d1PWwsdWmYb1RLxdUpzL\no9+8JHPucthf0o7JCJjDJ7W+xEjn1nE1DmO3CuP12hGi+khWpH/nSxP0MYeE\nUA3cu1DNIETsi80lj2IfLQvhZYIYWamfbTm9BvomA8rA1yZxk53Y16iqVvOU\nT4ahv5zDSt0/A7/phiL+YUHuirFHmjK/SaOtrh7G6lqo6MReIXwNIFuuqD/r\nsyDYJRxK74RnrSitK3z6VYe1jFfSOz32EkW1izjup+bnZ9noJ0Kh3VFQxofw\nXexh2V0ECostQ2mzFz3xMsjADs+09kNR24hrwF6usqCwqThnhgz359MCTw4f\nbHoKaCL3kbydhbIeuIOJRYrHJVolsqWRj9T2wlh0f9TDoMzj+pZPyeMozV3z\nJEmRfO198pn84HkDoIz1/NipDVrPAzGBa/5ji2sEr+I0EEUQCRamUbknvKwq\ny/uyBxUHbMBySbN+3lvlkoQFGPbefzGh3iavJWxDOmKjs7j+aHosCNNRnC6V\nmAT5Fkcrx131MUErIDhxS+tPSiZxAyt7+IeUBP1nPCerbWv3HyK5QfgNYdah\n8AYmPlVBu5hR3Jq33fGSoX9zonHFtE6iAXdxeaiyjnml0KAJfndGAqSHYPZn\nNItm\r\n=CcQm\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIC1Br6Eu4Y3nC2nYh/zGI8L3Srxjpw/Gyz/OUH8Q7VIuAiAfeQ4SiuQ33ofOpJ+M2zxPljxfSpU1iG2+SgSrNmz9sQ=="}]},"maintainers":[{"name":"jackbister","email":"jack+npm@jackbister.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/async-lz-string_1.0.1_1563710489777_0.09519833279269174"},"_hasShrinkwrap":false},"1.0.2":{"name":"async-lz-string","version":"1.0.2","license":"MIT","author":{"name":"Jack Bister"},"filename":"async-lz-string.js","description":"LZ-based compression algorithm","homepage":"https://github.com/jackbister/async-lz-string/","keywords":["async","lz","compression","string"],"scripts":{"build":"webpack -p","start-test":"karma start","test":"karma start --single-run","watch":"webpack --watch"},"main":"libs/async-lz-string.js","typings":"typings/async-lz-string.d.ts","dependencies":{},"devDependencies":{"@types/jasmine":"3.5.11","jasmine":"3.6.1","karma":"5.1.1","karma-chrome-launcher":"3.1.0","karma-cli":"2.0.0","karma-jasmine":"3.3.1","karma-typescript":"5.0.3","karma-typescript-es6-transform":"5.0.3","lz-string":"1.4.4","ts-loader":"8.0.1","typescript":"3.9.7","webpack":"4.44.0","webpack-cli":"3.3.12"},"repository":{"type":"git","url":"git+https://github.com/jackbister/async-lz-string.git"},"bugs":{"url":"https://github.com/jackbister/async-lz-string/issues"},"directories":{"test":"test"},"gitHead":"5a4c34587db6c9ecce3572cb30513c768488e37c","_id":"async-lz-string@1.0.2","_nodeVersion":"12.18.2","_npmVersion":"6.14.5","dist":{"integrity":"sha512-DD9hRxKSLSvhxu4vm2ykCuItajd8oEfvyBMC6ks+vYcVeiPEzu7PPhZjXYH5obufNNyMp2ux8Kw/oM0a7aK7JA==","shasum":"66c2afa70c173c07e94e358a7f8dd9bd22afbb89","tarball":"https://registry.npmjs.org/async-lz-string/-/async-lz-string-1.0.2.tgz","fileCount":16,"unpackedSize":68070,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfIIN6CRA9TVsSAnZWagAAAGAQAJ9zlojnQmS+ETx8/Z4c\nDHJGBX/VzKSfJyYxzPXA/yntK2T2PcwLB+HL8cmnNQtuPKetbQouRIjPaBVa\nTPhKZbbncYNA8FHbb/r4/4aC/KBXDA+1IuVqzR+f1FsGbd7616uHYaZQd7qM\nTo3hc2IvsDcVhqnkO35JLxDnLDcxrLgtvrfWZmGe0ilNI0eWpH8+qn7Q5lCs\n6NCGoNb87DTbj5CfU8zJjFQxl5p/5ZBQZARZ7JnHQaRTO4chS2DH4aAIQGEd\n96w7h8f/FVHRvmECNMd56W8xxMynEg/cOY+MLTydXPo29Cljk1VsNwj9lyk7\nwKiE0648dxmUu3F+odLg6cXBH74U98SoemiAAFgZ3nnoW5Kz+6Zi2ERlvcSK\nbfNd0Z/NjH0jO0FsiUyBBVf1SHCiY2ApeJyITp4c+VkOnXCR53TkoG4Br1E+\nuIbI7UoaHsio9S+uQV/pcKVV1M4sgoJhUxiRfaTb3cFFwt20At38KWadJK8K\nA1Vuw+YchkubunpJjkb2U4E8IH7OZlG/a4sp+Reqpi86WZ/OVPYuVz1Ur8UF\n1pIZYvP06Z/1Nr0AMB/0wNFnKOl+LraCcjMrkVf+ERwSjPvPYFT0of7prr++\ns0tNFw0uW0YmpzWQrvE/z47O0Etd46mDJ2sHft5OaRLaaQTLoXyIOX5khfGW\nMXda\r\n=W/oj\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC2RHdob1NBA1mecFnKsjynTpukDmii2OGsd0pOsWusCAIgNDD17g/ik0G/myH2SwRKK7q0rZ8mFluy571c86r8ck8="}]},"maintainers":[{"name":"jackbister","email":"jack+npm@jackbister.com"}],"_npmUser":{"name":"jackbister","email":"jack+npm@jackbister.com"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/async-lz-string_1.0.2_1595966329749_0.9928828579263622"},"_hasShrinkwrap":false},"1.0.3":{"name":"async-lz-string","version":"1.0.3","license":"MIT","author":{"name":"Jack Bister"},"filename":"async-lz-string.js","description":"LZ-based compression algorithm","homepage":"https://github.com/jackbister/async-lz-string/","keywords":["async","lz","compression","string"],"scripts":{"build":"webpack -p","check-runs-on-node":"npm run build && node ./test/node-test.js","start-test":"karma start","test":"karma start --single-run","watch":"webpack --watch"},"main":"libs/async-lz-string.js","typings":"typings/async-lz-string.d.ts","dependencies":{},"devDependencies":{"@types/jasmine":"3.5.11","jasmine":"3.6.1","karma":"5.1.1","karma-chrome-launcher":"3.1.0","karma-cli":"2.0.0","karma-jasmine":"3.3.1","karma-typescript":"5.0.3","karma-typescript-es6-transform":"5.0.3","lz-string":"1.4.4","ts-loader":"8.0.1","typescript":"3.9.7","webpack":"4.44.0","webpack-cli":"3.3.12"},"repository":{"type":"git","url":"git+https://github.com/jackbister/async-lz-string.git"},"bugs":{"url":"https://github.com/jackbister/async-lz-string/issues"},"directories":{"test":"test"},"gitHead":"4c9b554ce996010e1c29e6967d339888ee75725d","_id":"async-lz-string@1.0.3","_nodeVersion":"12.20.1","_npmVersion":"6.14.10","dist":{"integrity":"sha512-0LoDdGn6OZaBS1EFcSRFe0ZAfDy+kqg64cCdHf91sVQTh34UJcPBvHnA6EYCH365DMwzDn9nz1pkupWXaEZxfA==","shasum":"eb0c8161f8743907c898667b1416e99662cd3407","tarball":"https://registry.npmjs.org/async-lz-string/-/async-lz-string-1.0.3.tgz","fileCount":17,"unpackedSize":68320,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgFpYzCRA9TVsSAnZWagAAFtYQAIncRDfgx61hZ4/sV77L\nXM/MoGy63qaGrygFvy0jtyU5X247gEa7CvYSWNZ3SRv1ZaKnJ5gXf4w3RdNe\nYf32rxr2ub7WqU/yC7lWEWfpCtVOtfxplynkEc73yYg2qME/5RQHr1eGvIBr\nA8jAUBJaIQzUHHfNa0VwLIL2Q+PxuPpzNgl26yRz5lg7o4ahdNihwBmF6uHB\nt7tXP3VeLeG9v2XPQ2yioj8jHmMqxpVDxvP3IT0ithMP3zmTqDyDUT4hL1t4\nXTwHQb3z/cvFaKIUfFo3R9wxPXZFaJ5Oz8tvSqxsiz+4TGKHSikx6CEJ7aa9\naqweR52DFenIztUi1Reds9wPfS5Colh4xZznKrflnT39z0ETNmyWMxvGssTK\n0GNr8h8LM4ZkcqWw49IXxX4FZJwV1sj7TBBHpuAuTF95jLGcJyLuPNLaZd8d\nEpFzxO5rm4IvJVbUAFkQ2VBUuYKweT0VJr+VnHYR/1kiVTC1NtF/8xCbLgGo\neGw6wZWywzQXjcCHLYdPEPPBoBOS2oueSK0izRp1IkIB07KEL5Fm8vCKOfF/\ng1OI8FwW6rFyIA8isZboLePZet2o/KKu/K6lnMKhT2XwLReatt/frhUHTa18\n1BOnAoXnCJearymjR2hIiJnHlUYr8Ec1NHZrVaLDc8pWh6R7e3Tv2UJNrs6y\nZC1W\r\n=27uH\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDUdt+TIdZOLbBLkoD9I7aGGlef7FLOy++BK8pNpJzPuwIgB0vnS0grlHaezvfBQe8CevZXCnvTXqrNVzZnoUMJ2PA="}]},"_npmUser":{"name":"jackbister","email":"jack+npm@jackbister.com"},"maintainers":[{"name":"jackbister","email":"jack+npm@jackbister.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/async-lz-string_1.0.3_1612092979297_0.5595777674503506"},"_hasShrinkwrap":false},"1.1.0":{"name":"async-lz-string","version":"1.1.0","license":"MIT","author":{"name":"Jack Bister"},"filename":"async-lz-string.js","description":"LZ-based compression algorithm","homepage":"https://github.com/jackbister/async-lz-string/","keywords":["async","lz","compression","string"],"scripts":{"build":"webpack --mode production","dev":"webpack","check-runs-on-node":"npm run build && node ./test/node-test.js","start-test":"karma start","test":"karma start --single-run","watch":"webpack --watch"},"main":"libs/async-lz-string.js","typings":"typings/async-lz-string.d.ts","dependencies":{},"devDependencies":{"@types/jasmine":"4.3.1","jasmine":"4.6.0","karma":"6.4.2","karma-chrome-launcher":"3.2.0","karma-cli":"2.0.0","karma-jasmine":"5.1.0","karma-typescript":"5.5.3","karma-typescript-es6-transform":"5.5.3","lz-string":"1.5.0","ts-loader":"9.4.2","typescript":"4.9.5","webpack":"5.81.0","webpack-cli":"5.0.2"},"repository":{"type":"git","url":"git+https://github.com/jackbister/async-lz-string.git"},"bugs":{"url":"https://github.com/jackbister/async-lz-string/issues"},"directories":{"test":"test"},"gitHead":"c9128b21f67f3b16a88aa51e5a9a95a540bc8254","_id":"async-lz-string@1.1.0","_nodeVersion":"16.16.0","_npmVersion":"8.11.0","dist":{"integrity":"sha512-G9P9rePPYPInY9b79urOA6qWQvj6odVHW/limoCun/+yCX90FFIx8vKoVSALVP437yGZxu2vfoln4tWvIa5yzA==","shasum":"e00d9367b63cfea2934aa8949745719e011ead50","tarball":"https://registry.npmjs.org/async-lz-string/-/async-lz-string-1.1.0.tgz","fileCount":17,"unpackedSize":73108,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCYrNQb0E/yA88XLLaPWzR26eFKgGZP09pkut3BY1q+OAIhAJOsbS2eRqQhYygeAdLieb3A7de857HPoTY8RPd9xanX"}]},"_npmUser":{"name":"jackbister","email":"jack+npm@jackbister.com"},"maintainers":[{"name":"jackbister","email":"jack+npm@jackbister.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/async-lz-string_1.1.0_1684502391641_0.613244143568159"},"_hasShrinkwrap":false}},"time":{"created":"2019-07-21T10:37:53.821Z","1.0.0":"2019-07-21T10:37:54.004Z","modified":"2023-05-19T13:19:51.955Z","1.0.1":"2019-07-21T12:01:29.947Z","1.0.2":"2020-07-28T19:58:49.886Z","1.0.3":"2021-01-31T11:36:19.449Z","1.1.0":"2023-05-19T13:19:51.859Z"},"maintainers":[{"name":"jackbister","email":"jack+npm@jackbister.com"}],"description":"LZ-based compression algorithm","homepage":"https://github.com/jackbister/async-lz-string/","keywords":["async","lz","compression","string"],"repository":{"type":"git","url":"git+https://github.com/jackbister/async-lz-string.git"},"author":{"name":"Jack Bister"},"bugs":{"url":"https://github.com/jackbister/async-lz-string/issues"},"license":"MIT","readme":"# async-lz-string\n\nThis is a JavaScript library which compresses and decompresses strings. It implements the same algorithm as the [lz-string](https://github.com/pieroxy/lz-string) library but unlike that library this one is async and leaves time for other tasks to run while compressing/decompressing.\n\n# About\n\nThe reason for complicating the original [lz-string](https://github.com/pieroxy/lz-string) library with async is that on slow devices it can take several seconds to compress long strings. If this wasn't done async the page would not be responsive to click events or anything during this time. So if compressing longer strings without causing the page to freeze is desired, async is the best option. If freezing the page is not a problem, the original [lz-string](https://github.com/pieroxy/lz-string) will likely have better performance and be simpler to use since it does not require using promises.\n\nThe asynchronicity is implemented by awaiting a timeout of 0 after a certain number of iterations. This will let the browser run event handlers before the next iteration. The number of iterations between waits is tuned to be a number which doesn't affect the time taken to compress too much while still being frequent enough to not cause significant delay in processing events.\n\n# Use cases\n\nSimply put: This project makes strings smaller. Why is that useful?\n\nThe first thing that comes to mind is `localStorage`. `localStorage` has limited space on many platforms, so if you for some reason need to store big strings in there this library can help you keep your strings small.\n\nNote that the compression can be combined with `JSON.stringify` to compress any object that can be serialized to JSON.\n\nThe second thing that comes to mind is transfering things to the server. People on slow internet or with tight bandwidth caps will probably be happier if you transfer smaller amounts of data. Servers often GZip their responses but requests are usually not compressed in any way. If your requests are large enough it may be worth compressing them first, though it's not recommended that you always do it since it will make your code messier.\n\nFor a list of server side libraries implementing the same algorithm, see [this page](http://pieroxy.net/blog/pages/lz-string/index.html).\n\n# Usage\n\nAdd `async-lz-string` to your package.json and install it.\n\nThere are four functions exported as a UMD module: `compressToUTF16, decompressFromUTF16, compressToBase64, and decompressFromBase64`. They do exactly what you expect them to do.\n\nExample usage in TypeScript:\n\n```typescript\nimport { compressToUTF16, decompressFromUTF16 } from \"async-lz-string\";\n\nasync function compressAndDecompress(str: string) {\n  const compressed = await compressToUTF16(str);\n  const decompressed = await decompressFromUTF16(compressed);\n  console.log(str === decompressed); // true\n}\n```\n\n# Development\n\nIf you want to change something in async-lz-string you are welcome to send a pull request.\n\nTo get started, run the following in your terminal:\n\n```bash\ngit clone https://github.com/jackbister/async-lz-string.git\ncd async-lz-string\nnpm install\nnpm run watch\n```\n\nYou will now have the project and all its dependencies checked out, and webpack will be running in watch mode so your changes will be reflected immediately.\n\nThere are currently two ways you can test your changes:\n\n- Running the test suite\n  - There is a small test suite that ensures that the compressor and decompressor are compatible with the lz-string package.\n  - To run this test suite once you can run `npm run test`\n  - To run it in watch mode you can use `npm run start-test`\n- Using npm link\n  - If you have another project that uses async-lz-string you can use npm link to use your local copy of async-lz-string.\n  - Run `npm link` in the async-lz-string directory\n  - Run `npm link async-lz-string` in the other project's directory.\n  - When you're done, run `npm unlink async-lz-string` in the other project's directory and `npm unlink` in the async-lz-string directory.\n","readmeFilename":"readme.md"}