{"_id":"qrimzn","_rev":"10-0778197a4ac9df35a043201b1c9bf833","name":"qrimzn","dist-tags":{"latest":"1.1.10"},"versions":{"1.1.1":{"name":"qrimzn","version":"1.1.1","keywords":["qrcode","image","resize"],"author":{"name":"Javohir Mirzo"},"license":"MIT","_id":"qrimzn@1.1.1","maintainers":[{"name":"outranker","email":"outranker222@gmail.com"}],"homepage":"https://github.com/outranker/qrimzn#readme","bugs":{"url":"https://github.com/outranker/qrimzn/issues"},"dist":{"shasum":"07ee73c5dc755b94c3a730f1adc91d035cf64bae","tarball":"https://registry.npmjs.org/qrimzn/-/qrimzn-1.1.1.tgz","fileCount":23,"integrity":"sha512-uDx95CFik9yhZsBEYOHrT5fZvfk/kqThI2DbBvRuv5nTaoD/BO3nPoLzDSX1OnI661CtMjMnzTc3++K3WgFN6g==","signatures":[{"sig":"MEQCIFF01TuiCfiJLdoLA44CazGuc6KT5Pr23ctb2ca/GF56AiBfFISeMh6TNw/oHRYzQbX1avWecp3ubGSvoF1SeMsI9Q==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":2204679},"main":"dist/qrimzn.cjs.js","type":"module","types":"dist/index.d.ts","module":"dist/qrimzn.esm.js","source":"src/index.ts","gitHead":"719ef8151cea7b0f8528da9bd401de9cd1e0d97b","scripts":{"test":"echo \"Error: no test specified\" && exit 1","build":"preconstruct build","postinstall":"node scripts/install.cjs"},"_npmUser":{"name":"outranker","email":"outranker222@gmail.com"},"repository":{"url":"git+https://github.com/outranker/qrimzn.git","type":"git"},"_npmVersion":"10.9.2","description":"Simple image processing and modifying library with limited functionality","directories":{},"_nodeVersion":"22.14.0","dependencies":{"tar":"^7.4.3"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^5.9.2","@preconstruct/cli":"^2.8.12","@babel/preset-typescript":"^7.27.1"},"_npmOperationalInternal":{"tmp":"tmp/qrimzn_1.1.1_1754456974300_0.19044221194779776","host":"s3://npm-registry-packages-npm-production"}},"1.1.2":{"name":"qrimzn","version":"1.1.2","keywords":["qrcode","image","resize"],"author":{"name":"Javohir Mirzo"},"license":"MIT","_id":"qrimzn@1.1.2","maintainers":[{"name":"outranker","email":"outranker222@gmail.com"}],"homepage":"https://github.com/outranker/qrimzn#readme","bugs":{"url":"https://github.com/outranker/qrimzn/issues"},"dist":{"shasum":"ea8bbb2b319d5322ebfc0dc9ae6f229ad8081786","tarball":"https://registry.npmjs.org/qrimzn/-/qrimzn-1.1.2.tgz","fileCount":26,"integrity":"sha512-0W6SS7b59Vhf06M64e4IS+Sre9O+L3btE5klrzCbQlvUegwe9LU3PTw9CX9D4hl633m5QNtjte18AZ0Nrbq5VQ==","signatures":[{"sig":"MEYCIQCFCl0BtHShC7wbEjK4NvMUH+X6uEch6I2OxVahoZ3vQAIhANHhu1YzfudoDrHQtDZ+cr18B4xcp/Dr8Ht/ex5cvgpM","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":40902466},"main":"dist/qrimzn.cjs.js","type":"module","types":"dist/index.d.ts","module":"dist/qrimzn.esm.js","source":"src/index.ts","gitHead":"e76849522bfb3be1d9f55b3b445702c24d43160b","scripts":{"test":"echo \"Error: no test specified\" && exit 1","build":"preconstruct build","postinstall":"node scripts/install.cjs"},"_npmUser":{"name":"outranker","email":"outranker222@gmail.com"},"repository":{"url":"git+https://github.com/outranker/qrimzn.git","type":"git"},"_npmVersion":"10.9.2","description":"Simple image processing and modifying library with limited functionality","directories":{},"_nodeVersion":"22.14.0","dependencies":{"tar":"^7.4.3"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^5.9.2","@preconstruct/cli":"^2.8.12","@babel/preset-typescript":"^7.27.1"},"_npmOperationalInternal":{"tmp":"tmp/qrimzn_1.1.2_1754457626174_0.678941453100373","host":"s3://npm-registry-packages-npm-production"}},"1.1.3":{"name":"qrimzn","version":"1.1.3","keywords":["qrcode","image","resize"],"author":{"name":"Javohir Mirzo"},"license":"MIT","_id":"qrimzn@1.1.3","maintainers":[{"name":"outranker","email":"outranker222@gmail.com"}],"homepage":"https://github.com/outranker/qrimzn#readme","bugs":{"url":"https://github.com/outranker/qrimzn/issues"},"dist":{"shasum":"a7882fcac1b6d482594d51f6e556a980eb955966","tarball":"https://registry.npmjs.org/qrimzn/-/qrimzn-1.1.3.tgz","fileCount":23,"integrity":"sha512-/Sh0APGSX6DwsFCM+eq/0sk2zPKtIUQJYsLdeIQgbnZTPbd63RnyAkW4wZtu4LGEtxwUIsBm+E70AzfaPdv/6A==","signatures":[{"sig":"MEUCIB2XBmkMUNywj+Wo7os2OJXPjLg0cHJHmcNe58woyOxhAiEAwKZi1iCVFf0PiD6leNBtWq8D/LeZEP0scigyjPJBunk=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":2205418},"main":"dist/qrimzn.cjs.js","types":"dist/index.d.ts","module":"dist/qrimzn.esm.js","source":"src/index.ts","gitHead":"e76849522bfb3be1d9f55b3b445702c24d43160b","scripts":{"test":"echo \"Error: no test specified\" && exit 1","build":"preconstruct build","postinstall":"node scripts/install.cjs"},"_npmUser":{"name":"outranker","email":"outranker222@gmail.com"},"repository":{"url":"git+https://github.com/outranker/qrimzn.git","type":"git"},"_npmVersion":"10.9.2","description":"Simple image processing and modifying library with limited functionality","directories":{},"_nodeVersion":"22.14.0","dependencies":{"tar":"^7.4.3"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^5.9.2","@preconstruct/cli":"^2.8.12","@babel/preset-typescript":"^7.27.1"},"_npmOperationalInternal":{"tmp":"tmp/qrimzn_1.1.3_1754458915217_0.8632319024248045","host":"s3://npm-registry-packages-npm-production"}},"1.1.4":{"name":"qrimzn","version":"1.1.4","keywords":["qrcode","image","resize"],"author":{"name":"Javohir Mirzo"},"license":"MIT","_id":"qrimzn@1.1.4","maintainers":[{"name":"outranker","email":"outranker222@gmail.com"}],"homepage":"https://github.com/outranker/qrimzn#readme","bugs":{"url":"https://github.com/outranker/qrimzn/issues"},"dist":{"shasum":"0bd67a77a488646ecbc5c63ef9231af9cc7b1033","tarball":"https://registry.npmjs.org/qrimzn/-/qrimzn-1.1.4.tgz","fileCount":23,"integrity":"sha512-gL7mrVdDu5dWWuWV9jEkBsq7nVRhdVJ3ZGpBLVWKKBO9YEdrfF+BBHLZ/lbcdlPYuBzj51h56nBVU4Af/WGDjw==","signatures":[{"sig":"MEQCIHS23G0tAQWmgTXP3RHPoHCINtz+ABDt4e2zxzP3KRizAiBcj1v8f74uS4gM3Upsv5bZ1Q46KSz+jN7A4qiNr0Ty+Q==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":2204923},"main":"dist/qrimzn.cjs.js","types":"dist/declarations/src/index.d.ts","module":"dist/qrimzn.esm.js","source":"src/index.ts","gitHead":"eb33d1d6c38f109e5397d96a4f7d32aab504b8c5","scripts":{"test":"echo \"Error: no test specified\" && exit 1","build":"preconstruct build","postinstall":"node scripts/install.cjs"},"_npmUser":{"name":"outranker","email":"outranker222@gmail.com"},"repository":{"url":"git+https://github.com/outranker/qrimzn.git","type":"git"},"_npmVersion":"10.9.2","description":"Simple image processing and modifying library with limited functionality","directories":{},"_nodeVersion":"22.14.0","dependencies":{"tar":"^7.4.3"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^5.9.2","@preconstruct/cli":"^2.8.12","@babel/preset-typescript":"^7.27.1"},"_npmOperationalInternal":{"tmp":"tmp/qrimzn_1.1.4_1754461762952_0.46690736906242547","host":"s3://npm-registry-packages-npm-production"}},"1.1.5":{"name":"qrimzn","version":"1.1.5","keywords":["qrcode","image","resize"],"author":{"name":"Javohir Mirzo"},"license":"MIT","_id":"qrimzn@1.1.5","maintainers":[{"name":"outranker","email":"outranker222@gmail.com"}],"homepage":"https://github.com/outranker/qrimzn#readme","bugs":{"url":"https://github.com/outranker/qrimzn/issues"},"dist":{"shasum":"16c60a6cdcc4ad10e823a48180145577931146f3","tarball":"https://registry.npmjs.org/qrimzn/-/qrimzn-1.1.5.tgz","fileCount":23,"integrity":"sha512-BorkFo4IuVfFfNjvo3Q/Nuioor3WTCfidaW2oEINDkD13iJRLJwXfiygXeFDcuDlIpUmxxrNHXAQuYMsRSKnig==","signatures":[{"sig":"MEUCIBBvgyHT0FNfXmUffc98f2cDyHg3HO7qr77MF7rT2fx3AiEAjBLuUUblrrqfBw6KKcWMODbVdjWOI9RkfbQzarXcNcA=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":1062709},"main":"dist/qrimzn.cjs.js","types":"dist/declarations/src/index.d.ts","module":"dist/qrimzn.esm.js","source":"src/index.ts","gitHead":"eb80402784bb9e695fd95d00e2661b20f40c6431","scripts":{"test":"echo \"Error: no test specified\" && exit 1","build":"preconstruct build","postinstall":"node scripts/install.cjs"},"_npmUser":{"name":"outranker","email":"outranker222@gmail.com"},"repository":{"url":"git+https://github.com/outranker/qrimzn.git","type":"git"},"_npmVersion":"10.9.2","description":"Simple image processing and modifying library with limited functionality","directories":{},"_nodeVersion":"22.14.0","dependencies":{"tar":"^7.4.3"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^5.9.2","@preconstruct/cli":"^2.8.12","@babel/preset-typescript":"^7.27.1"},"_npmOperationalInternal":{"tmp":"tmp/qrimzn_1.1.5_1754468887030_0.05092780620535464","host":"s3://npm-registry-packages-npm-production"}},"1.1.6":{"name":"qrimzn","version":"1.1.6","keywords":["qrcode","image","resize"],"author":{"name":"Javohir Mirzo"},"license":"MIT","_id":"qrimzn@1.1.6","maintainers":[{"name":"outranker","email":"outranker222@gmail.com"}],"homepage":"https://github.com/outranker/qrimzn#readme","bugs":{"url":"https://github.com/outranker/qrimzn/issues"},"dist":{"shasum":"990816b2234cdc5076ce9094ccc8ecbcc27aa75e","tarball":"https://registry.npmjs.org/qrimzn/-/qrimzn-1.1.6.tgz","fileCount":23,"integrity":"sha512-5/NxEMFVLkfTU+dnRM1zspUsVJ9xsUOAWks6MR+isT58Gvcu7JP9CDWnAQey2+zZyiAvdff4Cxgq2a4uPlEFzg==","signatures":[{"sig":"MEYCIQCrZsk4Hx34Z25NiBA/GG8O2OJxr2jBH52szKsqJPCWVQIhAKw78B530uabfljgjfI+mqxuPoWNscrmS4t37FPkc2sQ","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":1062669},"main":"dist/qrimzn.cjs.js","types":"dist/declarations/src/index.d.ts","module":"dist/qrimzn.esm.js","source":"src/index.ts","gitHead":"ad3486a41369e8a0766447902ad182423e07844b","scripts":{"test":"echo \"Error: no test specified\" && exit 1","build":"preconstruct build","postinstall":"node scripts/install.cjs"},"_npmUser":{"name":"outranker","email":"outranker222@gmail.com"},"repository":{"url":"git+https://github.com/outranker/qrimzn.git","type":"git"},"_npmVersion":"10.9.2","description":"Simple image processing and modifying library with limited functionality","directories":{},"_nodeVersion":"22.14.0","dependencies":{"tar":"^7.4.3"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^5.9.2","@preconstruct/cli":"^2.8.12","@babel/preset-typescript":"^7.27.1"},"_npmOperationalInternal":{"tmp":"tmp/qrimzn_1.1.6_1754468996015_0.49428366104250365","host":"s3://npm-registry-packages-npm-production"}},"1.1.7":{"name":"qrimzn","version":"1.1.7","keywords":["qrcode","image","resize"],"author":{"name":"Javohir Mirzo"},"license":"MIT","_id":"qrimzn@1.1.7","maintainers":[{"name":"outranker","email":"outranker222@gmail.com"}],"homepage":"https://github.com/outranker/qrimzn#readme","bugs":{"url":"https://github.com/outranker/qrimzn/issues"},"dist":{"shasum":"54a872f4fdef16f1e85e8b19eccc6ecb3678352c","tarball":"https://registry.npmjs.org/qrimzn/-/qrimzn-1.1.7.tgz","fileCount":26,"integrity":"sha512-9uO0ZwTpZbct6uOirFm4qvHaDf0/EAeW4swFsLaoJ3VfvsPg1fxx1C/wGGyfZ285NjWvGdnIYLdNB0hBvER49w==","signatures":[{"sig":"MEQCIEQ1AwiSWmD3CE/gNsrezrGQaJVF+HjNFHJW5EgZdpUPAiBmcjCM8TdCzQBrWVuNhzKW5eDwjNWzC1/Zi7bdyQE9Zg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":27639275},"main":"dist/qrimzn.cjs.js","type":"module","types":"dist/declarations/src/index.d.ts","module":"dist/qrimzn.esm.js","source":"src/index.ts","gitHead":"7cb55495e96b08174d8cf02071e0cc26ee5eca9a","scripts":{"test":"echo \"Error: no test specified\" && exit 1","build":"preconstruct build","postinstall":"node scripts/install.cjs"},"_npmUser":{"name":"outranker","email":"outranker222@gmail.com"},"repository":{"url":"git+https://github.com/outranker/qrimzn.git","type":"git"},"_npmVersion":"10.9.2","description":"Simple image processing and modifying library with limited functionality","directories":{},"_nodeVersion":"22.14.0","dependencies":{"tar":"^7.4.3"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^5.9.2","@preconstruct/cli":"^2.8.12","@babel/preset-typescript":"^7.27.1"},"_npmOperationalInternal":{"tmp":"tmp/qrimzn_1.1.7_1754614950885_0.544746054355518","host":"s3://npm-registry-packages-npm-production"}},"1.1.8":{"name":"qrimzn","version":"1.1.8","keywords":["qrcode","image","resize"],"author":{"name":"Javohir Mirzo"},"license":"MIT","_id":"qrimzn@1.1.8","maintainers":[{"name":"outranker","email":"outranker222@gmail.com"}],"homepage":"https://github.com/outranker/qrimzn#readme","bugs":{"url":"https://github.com/outranker/qrimzn/issues"},"dist":{"shasum":"3c4b9f7be78cbfe28f53e630a2e496b8cf7051ce","tarball":"https://registry.npmjs.org/qrimzn/-/qrimzn-1.1.8.tgz","fileCount":23,"integrity":"sha512-WBrTUSeIPfg6Wk2Zz1BzzMmP80zREDEDxDsvgL8JgGaFzc7PuH30mHfkYeBiHAiWuPmp9AQEj9/c3lrlS+tyiA==","signatures":[{"sig":"MEQCIBa3gnGEqcfoCF2xfvPQrMIGjSHKJWUOI4wLUbzFdMPlAiBRlDNpSfFLxRPv2GGjSxMumjkICDazgeQgcFzCr86UNw==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":1065320},"main":"dist/qrimzn.cjs.js","type":"module","types":"dist/declarations/src/index.d.ts","module":"dist/qrimzn.esm.js","source":"src/index.ts","gitHead":"7cb55495e96b08174d8cf02071e0cc26ee5eca9a","scripts":{"test":"echo \"Error: no test specified\" && exit 1","build":"preconstruct build","postinstall":"node scripts/install.cjs"},"_npmUser":{"name":"outranker","email":"outranker222@gmail.com"},"repository":{"url":"git+https://github.com/outranker/qrimzn.git","type":"git"},"_npmVersion":"10.9.2","description":"Simple image processing and modifying library with limited functionality","directories":{},"_nodeVersion":"22.14.0","dependencies":{"tar":"^7.4.3"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^5.9.2","@preconstruct/cli":"^2.8.12","@babel/preset-typescript":"^7.27.1"},"_npmOperationalInternal":{"tmp":"tmp/qrimzn_1.1.8_1754615244763_0.5580256029566992","host":"s3://npm-registry-packages-npm-production"}},"1.1.9":{"name":"qrimzn","version":"1.1.9","keywords":["qrcode","image","resize"],"author":{"name":"Javohir Mirzo"},"license":"MIT","_id":"qrimzn@1.1.9","maintainers":[{"name":"outranker","email":"outranker222@gmail.com"}],"homepage":"https://github.com/outranker/qrimzn#readme","bugs":{"url":"https://github.com/outranker/qrimzn/issues"},"dist":{"shasum":"3ab17d31a36bee49f55a988111c185809dd13dd5","tarball":"https://registry.npmjs.org/qrimzn/-/qrimzn-1.1.9.tgz","fileCount":33,"integrity":"sha512-HIZwlmsZO1H90Claj7WC9VbEEStzypTAahR/ylawRmEj6wSpzD5/aZYusB391QO7Bjw2oHikdZoJfImO6zLsEA==","signatures":[{"sig":"MEUCICh5DQE5Zrsp/NV1hotZ2Y8bVNqBkoHQ7pMY4FXrremIAiEAq0VoqmPIsCmFibWLSbaDo1KO9EBdRYDqSFxH8eD1iIQ=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":27653574},"main":"dist/qrimzn.cjs.js","types":"dist/declarations/src/index.d.ts","module":"dist/qrimzn.esm.js","source":"src/index.mts","gitHead":"9778a9cb116d7810ee828c115b33ac7bc5f39ee8","scripts":{"test":"echo \"Error: no test specified\" && exit 1","build":"preconstruct build","postinstall":"node scripts/install.cjs"},"_npmUser":{"name":"outranker","email":"outranker222@gmail.com"},"repository":{"url":"git+https://github.com/outranker/qrimzn.git","type":"git"},"_npmVersion":"10.9.2","description":"Simple image processing and modifying library with limited functionality","directories":{},"_nodeVersion":"22.14.0","dependencies":{"tar":"^7.4.3"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^5.9.2","@preconstruct/cli":"^2.8.12","@babel/preset-typescript":"^7.27.1"},"_npmOperationalInternal":{"tmp":"tmp/qrimzn_1.1.9_1754618231706_0.3680993327855937","host":"s3://npm-registry-packages-npm-production"}},"1.1.10":{"name":"qrimzn","version":"1.1.10","description":"Simple image processing and modifying library with limited functionality","source":"src/index.ts","main":"dist/qrimzn.cjs.js","module":"dist/qrimzn.esm.js","types":"dist/declarations/src/index.d.ts","scripts":{"build":"preconstruct build","test":"echo \"Error: no test specified\" && exit 1","postinstall":"node scripts/install.cjs"},"repository":{"type":"git","url":"git+https://github.com/outranker/qrimzn.git"},"keywords":["qrcode","image","resize"],"author":{"name":"Javohir Mirzo"},"license":"MIT","bugs":{"url":"https://github.com/outranker/qrimzn/issues"},"homepage":"https://github.com/outranker/qrimzn#readme","devDependencies":{"@babel/preset-typescript":"^7.27.1","@preconstruct/cli":"^2.8.12","typescript":"^5.9.2"},"dependencies":{"tar":"^7.4.3"},"_id":"qrimzn@1.1.10","gitHead":"9c3f4ef2f4505519880503a0e2af3bd41b96f7f8","_nodeVersion":"22.14.0","_npmVersion":"10.9.2","dist":{"integrity":"sha512-8EotPWnRxaK8cp6cJRptajsvUy0TU18ruqCm76HbEzfWxcZ13sJ3BblSDJXtlMHTr8T1LK/0t6+QHa2fjSLz0Q==","shasum":"25b55e0145a75907ed7792eb98c6f05c3ac9c330","tarball":"https://registry.npmjs.org/qrimzn/-/qrimzn-1.1.10.tgz","fileCount":23,"unpackedSize":1065313,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQD+yVtJbpusOojXMUo75NY5MWywxohbuAJ2/wLMplMUCgIhAM8x7mv1sieXBXhdlO41PrL/xYtUvptbO3vjTdA/mRdc"}]},"_npmUser":{"name":"outranker","email":"outranker222@gmail.com"},"directories":{},"maintainers":[{"name":"outranker","email":"outranker222@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/qrimzn_1.1.10_1754619437490_0.4175510709554633"},"_hasShrinkwrap":false}},"time":{"created":"2025-08-06T05:09:34.241Z","modified":"2025-08-08T02:17:17.872Z","1.1.1":"2025-08-06T05:09:34.651Z","1.1.2":"2025-08-06T05:20:26.730Z","1.1.3":"2025-08-06T05:41:55.433Z","1.1.4":"2025-08-06T06:29:23.205Z","1.1.5":"2025-08-06T08:28:07.255Z","1.1.6":"2025-08-06T08:29:56.228Z","1.1.7":"2025-08-08T01:02:31.297Z","1.1.8":"2025-08-08T01:07:25.056Z","1.1.9":"2025-08-08T01:57:12.114Z","1.1.10":"2025-08-08T02:17:17.702Z"},"bugs":{"url":"https://github.com/outranker/qrimzn/issues"},"author":{"name":"Javohir Mirzo"},"license":"MIT","homepage":"https://github.com/outranker/qrimzn#readme","keywords":["qrcode","image","resize"],"repository":{"type":"git","url":"git+https://github.com/outranker/qrimzn.git"},"description":"Simple image processing and modifying library with limited functionality","maintainers":[{"name":"outranker","email":"outranker222@gmail.com"}],"readme":"# qrimzn\n\n<div align=\"center\">\n  \n**Pronounced**: \"crimson\" /ˈkrɪmzən/\n\n**Etymology**: **qr** (QR code) + **im** (image) + **zn** (resize) = **qrimzn** 🎨\n\n</div>\n\n![GitHub release (latest by date)](https://img.shields.io/github/v/release/outranker/qrimzn)\n![GitHub](https://img.shields.io/github/license/outranker/qrimzn)\n![GitHub issues](https://img.shields.io/github/issues/outranker/qrimzn)\n![GitHub pull requests](https://img.shields.io/github/issues-pr/outranker/qrimzn)\n![GitHub contributors](https://img.shields.io/github/contributors/outranker/qrimzn)\n![GitHub stars](https://img.shields.io/github/stars/outranker/qrimzn)\n![GitHub forks](https://img.shields.io/github/forks/outranker/qrimzn)\n![GitHub watchers](https://img.shields.io/github/watchers/outranker/qrimzn)\n![GitHub last commit](https://img.shields.io/github/last-commit/outranker/qrimzn)\n![GitHub commit activity](https://img.shields.io/github/commit-activity/m/outranker/qrimzn)\n\n<img src=\"./assets/logo.png\" alt=\"qrimzn logo\" width=\"140\" height=\"140\" align=\"right\">\n\nA fast image processing library that provides QR code generation with custom labels and image resizing capabilities. The library uses a Go binary under the hood for high performance without requiring native dependencies. 🚀\nThe go library is called by spawning a child process. After the process is spawned, the child process is killed.\nCurrently, the library supports very limited functionality. Any contributions are welcome.\n\n## Features\n\n- **QR Code Generation**: Create QR codes with custom content and labels\n- **Image Resizing**: Resize images with aspect ratio preservation\n- **No Native Dependencies**: Unlike Sharp, no additional packages needed for Alpine Linux\n- **Cross-platform Support**: Linux, macOS, Windows\n- **Multiple Architectures**: amd64, arm64\n- **High Performance**: Go binary with optimized image processing\n- **Memory Efficient**: Processes images as streams\n- **Format Support**: Supports JPEG, PNG input; outputs PNG\n\n## Installation\n\n```bash\nnpm install qrimzn\n```\n\nThe installation will automatically download the appropriate binary for your platform.\n\n## Usage\n\n### QR Code Generation\n\n```typescript\nimport { createQrCode } from \"qrimzn\";\n\n// Generate a QR code\nconst buffer = await createQrCode(\"https://example.com\", \"ABC12345678\");\n\n// Save to file\nimport fs from \"fs\";\nfs.writeFileSync(\"qr.png\", buffer);\n\n// Or upload to cloud storage, etc.\n```\n\n### Image Resizing\n\n```typescript\nimport { resizeImage } from \"qrimzn\";\nimport fs from \"fs\";\n\n// Read an image file\nconst imageBuffer = fs.readFileSync(\"input.jpg\");\n\n// Resize to 400px width (height calculated automatically to maintain aspect ratio)\nconst resized400 = await resizeImage(imageBuffer, 400);\nfs.writeFileSync(\"output-400.png\", resized400);\n\n// Multiple sizes\nconst sizes = [400, 800, 1200];\nconst resizedImages = await Promise.all(\n  sizes.map((width) => resizeImage(imageBuffer, width))\n);\n\n// Works with any image format (JPEG, PNG, etc.) - outputs PNG\n```\n\n### Replacing Sharp\n\n```typescript\n// Before (with Sharp - requires native dependencies)\nimport sharp from \"sharp\";\nconst resized = await sharp(buffer)\n  .resize({ width: 400, withoutEnlargement: true, fit: sharp.fit.inside })\n  .toBuffer();\n\n// After (with qrimzn - no native dependencies)\nimport { resizeImage } from \"qrimzn\";\nconst resized = await resizeImage(buffer, 400);\n```\n\n## API\n\n### `createQrCode(content: string, code: string): Promise<Buffer>`\n\nGenerate a QR code with a custom label.\n\n- `content`: The content to encode in the QR code (typically a URL)\n- `code`: The label text to display below the QR code\n- Returns: A Promise that resolves to a Buffer containing the PNG image data\n\n### `resizeImage(buffer: Uint8Array | Buffer, width: number): Promise<Buffer>`\n\nResize an image while maintaining aspect ratio.\n\n- `buffer`: Image data as Buffer or Uint8Array (supports JPEG, PNG, and other formats)\n- `width`: Target width in pixels (height is calculated automatically)\n- Returns: A Promise that resolves to a Buffer containing the resized PNG image data\n\n**Features:**\n\n- Maintains aspect ratio automatically\n- Never enlarges images (withoutEnlargement: true behavior)\n- Uses high-quality BiLinear interpolation\n- Memory efficient streaming processing\n- No native dependencies required\n\n## Development\n\n### Building the Go binary\n\nThe Go binary is built automatically using GitHub Actions. To build manually:\n\n```bash\ncd go\ngo mod tidy\ngo build -o qrimzn main.go\n```\n\n### Release Process\n\n1. Update version in `package.json`\n2. Run the build and release script:\n   ```bash\n   ./scripts/release.sh v1.0.0\n   ```\n3. The script will:\n   - Build binaries for all supported platforms\n   - Create compressed archives\n   - Upload to GitHub releases\n\n### Manual Installation Testing\n\nTo test the installation script without publishing:\n\n```bash\nnode scripts/install.js\n```\n\nNote: This requires a corresponding GitHub release to exist.\n\n### Manual Testing in Node.js\n\n```bash\nyarn build\n# this will create a tar.gz file in the root folder\nnpm pack\n\n# go to nodejs project in install it\nnpm install /Users/my-user/Desktop/libraries/qrimzn/qrimzn-1.1.0.tgz -w package-name\n```\n\n## Platform Support\n\n- **Linux**: amd64, arm64\n- **macOS**: amd64, arm64\n- **Windows**: amd64\n\n## License\n\nMIT\n","readmeFilename":"README.md"}