{"_id":"zpl-renderer-js","_rev":"12-f4e259847b9f59c22cdcd5e18b632767","name":"zpl-renderer-js","dist-tags":{"latest":"4.0.0"},"versions":{"1.2.4":{"name":"zpl-renderer-js","version":"1.2.4","keywords":["zpl","zebra","label","printer","png","render","wasm","typescript","javascript","nodejs","browser","labelary","zpljs","zebrash"],"author":{"name":"Fabrizio"},"license":"MIT","_id":"zpl-renderer-js@1.2.4","maintainers":[{"name":"fabrizz","email":"fbrz.contact@gmail.com"}],"homepage":"https://github.com/Fabrizz/zpl-renderer-js","bugs":{"url":"https://github.com/Fabrizz/zpl-renderer-js/issues"},"dist":{"shasum":"0def314233a0e0ae5d1dbe0cc5af5d2fffdedc03","tarball":"https://registry.npmjs.org/zpl-renderer-js/-/zpl-renderer-js-1.2.4.tgz","fileCount":11,"integrity":"sha512-e82YYyqerJ3CVAXQJR/MeqqvsAN9y7jmblDyOYkRPbwavmf2rIGyxq3At6S4VBpsEO622ALR+mtPmLO9MrfWtw==","signatures":[{"sig":"MEYCIQC+51xeUMPIKBZzVVmqUTkTDCn3uyYfX+e8jO+NclPTFgIhAMKgiH5OM9ZGB9RbGn/81AsuK1Rnj+vUqHf6eVc2lof+","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/zpl-renderer-js@1.2.4","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":35388583},"main":"dist/index.cjs.js","types":"dist/index.d.ts","unpkg":"dist/index.umd.js","module":"dist/index.esm.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.esm.js","require":"./dist/index.cjs.js"},"./zebrash.wasm":"./dist/zebrash.wasm"},"gitHead":"b2395be0039f7b7ecb011d800a06009773e2e9e9","scripts":{"build":"npm run build:types && node build.js","build:wasm":"cd zebrash && GOOS=js GOARCH=wasm go build -o main.wasm .","build:types":"tsc -p tsconfig.json","build:pw:wasm":"cd zebrash; $env:GOOS='js'; $env:GOARCH='wasm'; go build -o main.wasm ."},"_npmUser":{"name":"fabrizz","email":"fbrz.contact@gmail.com"},"repository":{"url":"git+https://github.com/Fabrizz/zpl-renderer-js.git","type":"git"},"_npmVersion":"10.9.3","description":"Render ZPL (Zebra Programming Language) to PNG in the browser! Without Labelary or any third-party service.","directories":{},"_nodeVersion":"22.18.0","_hasShrinkwrap":false,"devDependencies":{"vitest":"^3.2.4","esbuild":"^0.25.8","typescript":"^5.9.2","@types/node":"^24.2.0","vite-plugin-wasm":"^3.5.0","vite-plugin-top-level-await":"^1.6.0"},"_npmOperationalInternal":{"tmp":"tmp/zpl-renderer-js_1.2.4_1755021211473_0.060287732791591386","host":"s3://npm-registry-packages-npm-production"}},"1.2.5":{"name":"zpl-renderer-js","version":"1.2.5","keywords":["zpl","zebra","label","printer","png","render","wasm","typescript","javascript","nodejs","browser","labelary","zpljs","zebrash"],"author":{"name":"Fabrizio"},"license":"MIT","_id":"zpl-renderer-js@1.2.5","maintainers":[{"name":"fabrizz","email":"fbrz.contact@gmail.com"}],"homepage":"https://github.com/Fabrizz/zpl-renderer-js","bugs":{"url":"https://github.com/Fabrizz/zpl-renderer-js/issues"},"dist":{"shasum":"0c959a434320b0c34af04599a92ca32b56bda51c","tarball":"https://registry.npmjs.org/zpl-renderer-js/-/zpl-renderer-js-1.2.5.tgz","fileCount":8,"integrity":"sha512-FY62h8pcxvpv6MGGfE+BJlOyIJOIgUfbtUaLwKmeUglq7qWc3dhJ3Zph8GgElz6ZQv3FnPwANeDbkDMMzYmjbg==","signatures":[{"sig":"MEYCIQD90ksiXdE/M5QdDkl0fGBArbdjFLeD0Qy3VO9Tdi5K3AIhAKwQxOZGV5KYxc7oDC3/klAJcOwIPlC+0Mj5G+e6jXNQ","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/zpl-renderer-js@1.2.5","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":35278623},"main":"dist/index.cjs.js","types":"dist/index.d.ts","unpkg":"dist/index.umd.js","module":"dist/index.esm.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.esm.js","require":"./dist/index.cjs.js"},"./zebrash.wasm":"./dist/zebrash.wasm"},"gitHead":"034c2dcf7e6fd64bdab0c46073aaa2b9a132da4b","scripts":{"build":"npm run build:types && node build.js","build:wasm":"cd zebrash && GOOS=js GOARCH=wasm go build -o main.wasm -trimpath -buildvcs=false -ldflags=\"-s -w\" .","build:types":"tsc -p tsconfig.json","build:pw:wasm":"cd zebrash; $env:GOOS='js'; $env:GOARCH='wasm'; go build -o main.wasm -trimpath -buildvcs=false -ldflags=\"-s -w\" ."},"_npmUser":{"name":"fabrizz","email":"fbrz.contact@gmail.com"},"repository":{"url":"git+https://github.com/Fabrizz/zpl-renderer-js.git","type":"git"},"_npmVersion":"10.9.3","description":"Render ZPL (Zebra Programming Language) to PNG in the browser! Without Labelary or any third-party service.","directories":{},"_nodeVersion":"22.18.0","_hasShrinkwrap":false,"devDependencies":{"vitest":"^3.2.4","esbuild":"^0.25.8","typescript":"^5.9.2","@types/node":"^24.2.0","vite-plugin-wasm":"^3.5.0","vite-plugin-top-level-await":"^1.6.0"},"_npmOperationalInternal":{"tmp":"tmp/zpl-renderer-js_1.2.5_1755056049499_0.7065749467831843","host":"s3://npm-registry-packages-npm-production"}},"2.0.0-beta":{"name":"zpl-renderer-js","version":"2.0.0-beta","keywords":["zpl","zebra","label","printer","png","render","wasm","typescript","javascript","nodejs","browser","labelary","zpljs","zebrash"],"author":{"name":"Fabrizio"},"license":"MIT","_id":"zpl-renderer-js@2.0.0-beta","maintainers":[{"name":"fabrizz","email":"fbrz.contact@gmail.com"}],"homepage":"https://github.com/Fabrizz/zpl-renderer-js","bugs":{"url":"https://github.com/Fabrizz/zpl-renderer-js/issues"},"dist":{"shasum":"88ecf2b6404371ddfa756d65f764483f99e9be7d","tarball":"https://registry.npmjs.org/zpl-renderer-js/-/zpl-renderer-js-2.0.0-beta.tgz","fileCount":8,"integrity":"sha512-/98m6EfUEIVWfeRbdZxfDMAhsQACg4IOrIT68U/wIeDOCjGj3jDVnZMje5fL7JyQmDywYWwswY7Zc30fZcESgQ==","signatures":[{"sig":"MEUCIGa1mYlHCHlV6DjYKU92SuJkoQkhJE5VTvwPAG1GOVJxAiEAnepJiIoQHc0UE9b5lnjizAeXCYLgDumOtYP41XBkcAQ=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/zpl-renderer-js@2.0.0-beta","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":35306814},"main":"dist/index.cjs.js","types":"dist/index.d.ts","unpkg":"dist/index.umd.js","module":"dist/index.esm.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.esm.js","require":"./dist/index.cjs.js"},"./zebrash.wasm":"./dist/zebrash.wasm"},"gitHead":"22b390ca5c1da95299c36d94034f079e8b3e5649","scripts":{"test":"vitest","build":"npm run build:types && node build.js","build:wasm":"cd zebrash && GOOS=js GOARCH=wasm go build -o main.wasm -trimpath -buildvcs=false -ldflags=\"-s -w\" .","build:types":"tsc -p tsconfig.json","build:pw:wasm":"cd zebrash; $env:GOOS='js'; $env:GOARCH='wasm'; go build -o main.wasm -trimpath -buildvcs=false -ldflags='-s -w' ."},"_npmUser":{"name":"fabrizz","email":"fbrz.contact@gmail.com"},"repository":{"url":"git+https://github.com/Fabrizz/zpl-renderer-js.git","type":"git"},"_npmVersion":"10.9.3","description":"Render ZPL (Zebra Programming Language) to PNG in the browser! Without Labelary or any third-party service.","directories":{},"_nodeVersion":"22.18.0","_hasShrinkwrap":false,"devDependencies":{"vitest":"^3.2.4","esbuild":"^0.25.8","typescript":"^5.9.2","@types/node":"^24.2.0","vite-plugin-wasm":"^3.5.0","vite-plugin-top-level-await":"^1.6.0"},"_npmOperationalInternal":{"tmp":"tmp/zpl-renderer-js_2.0.0-beta_1755708922860_0.8757101021109213","host":"s3://npm-registry-packages-npm-production"}},"2.0.1":{"name":"zpl-renderer-js","version":"2.0.1","keywords":["zpl","zebra","label","printer","png","render","wasm","typescript","javascript","nodejs","browser","labelary","zpljs","zebrash"],"author":{"name":"Fabrizio"},"license":"MIT","_id":"zpl-renderer-js@2.0.1","maintainers":[{"name":"fabrizz","email":"fbrz.contact@gmail.com"}],"homepage":"https://github.com/Fabrizz/zpl-renderer-js","bugs":{"url":"https://github.com/Fabrizz/zpl-renderer-js/issues"},"dist":{"shasum":"6230201231927a0ef686c620362eff5c514d32ed","tarball":"https://registry.npmjs.org/zpl-renderer-js/-/zpl-renderer-js-2.0.1.tgz","fileCount":8,"integrity":"sha512-UZb73e/sEOCzc5eBDAiXBIm0C7F8SqkPk2Hy5WNbVhbw+8E3Z1uh1M5OJdTWAXJ5df64P3Fp8bzTEFpEDYp+lA==","signatures":[{"sig":"MEUCIQCpbr1h/e+m7cHzPhZX93/S9kJc87X8U2JoPbAMYkU7wgIgaNs0ydT0+bYIXUCMedsj5NUyKKUc7bPjbzJ9sq7ByfA=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/zpl-renderer-js@2.0.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":35342139},"main":"dist/index.cjs.js","types":"dist/index.d.ts","unpkg":"dist/index.umd.js","module":"dist/index.esm.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.esm.js","require":"./dist/index.cjs.js"},"./zebrash.wasm":"./dist/zebrash.wasm"},"gitHead":"d651750263e8ce9de1bba41159daf9746aa1c6cc","scripts":{"test":"vitest","build":"npm run build:types && node build.js","build:wasm":"cd zebrash && GOOS=js GOARCH=wasm go build -o main.wasm -trimpath -buildvcs=false -ldflags=\"-s -w\" .","build:types":"tsc -p tsconfig.json","build:pw:wasm":"cd zebrash; $env:GOOS='js'; $env:GOARCH='wasm'; go build -o main.wasm -trimpath -buildvcs=false -ldflags='-s -w' ."},"_npmUser":{"name":"fabrizz","email":"fbrz.contact@gmail.com"},"repository":{"url":"git+https://github.com/Fabrizz/zpl-renderer-js.git","type":"git"},"_npmVersion":"10.9.3","description":"Render ZPL (Zebra Programming Language) to PNG in the browser! Without Labelary or any third-party service.","directories":{},"_nodeVersion":"22.18.0","_hasShrinkwrap":false,"devDependencies":{"vitest":"^3.2.4","esbuild":"^0.25.8","typescript":"^5.9.2","@types/node":"^24.2.0","vite-plugin-wasm":"^3.5.0","vite-plugin-top-level-await":"^1.6.0"},"_npmOperationalInternal":{"tmp":"tmp/zpl-renderer-js_2.0.1_1755710620930_0.9459770529380596","host":"s3://npm-registry-packages-npm-production"}},"2.0.2":{"name":"zpl-renderer-js","version":"2.0.2","keywords":["zpl","zebra","label","printer","png","render","wasm","typescript","javascript","nodejs","browser","labelary","zpljs","zebrash"],"author":{"name":"Fabrizio"},"license":"MIT","_id":"zpl-renderer-js@2.0.2","maintainers":[{"name":"fabrizz","email":"fbrz.contact@gmail.com"}],"homepage":"https://github.com/Fabrizz/zpl-renderer-js","bugs":{"url":"https://github.com/Fabrizz/zpl-renderer-js/issues"},"dist":{"shasum":"600fedb6c16356d1fb586c7a3a1ef8aa0bb9ec21","tarball":"https://registry.npmjs.org/zpl-renderer-js/-/zpl-renderer-js-2.0.2.tgz","fileCount":8,"integrity":"sha512-zGGbLxwSFcYDsytuQlDl/tuIve80Ww2jnOkM3jAzxDqHhZ+jUCxMyNeflBHMAyCV0wRvTSIcL2TpHx1WgauWqA==","signatures":[{"sig":"MEYCIQC33XEscHAqPTA2MjnBzFpm5+rCe1ZvkvutXyB9eEgHdAIhAOp83PJdyZdFKJ6fd43/RsFbA4B83Kgx+Sh4AyIiNaci","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/zpl-renderer-js@2.0.2","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":35344305},"main":"dist/index.cjs.js","types":"dist/index.d.ts","unpkg":"dist/index.umd.js","module":"dist/index.esm.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.esm.js","require":"./dist/index.cjs.js"},"./zebrash.wasm":"./dist/zebrash.wasm"},"gitHead":"30489e1716cb21c93b9594afa0f930d0097f347d","scripts":{"test":"vitest","build":"npm run build:types && node build.js","build:wasm":"cd zebrash && GOOS=js GOARCH=wasm go build -o main.wasm -trimpath -buildvcs=false -ldflags=\"-s -w\" .","build:types":"tsc -p tsconfig.json","build:pw:wasm":"cd zebrash; $env:GOOS='js'; $env:GOARCH='wasm'; go build -o main.wasm -trimpath -buildvcs=false -ldflags='-s -w' ."},"_npmUser":{"name":"fabrizz","email":"fbrz.contact@gmail.com"},"repository":{"url":"git+https://github.com/Fabrizz/zpl-renderer-js.git","type":"git"},"_npmVersion":"10.9.3","description":"Render ZPL (Zebra Programming Language) to PNG in the browser! Without Labelary or any third-party service.","directories":{},"_nodeVersion":"22.18.0","_hasShrinkwrap":false,"devDependencies":{"vitest":"^3.2.4","esbuild":"^0.25.8","typescript":"^5.9.2","@types/node":"^24.2.0","vite-plugin-wasm":"^3.5.0","vite-plugin-top-level-await":"^1.6.0"},"_npmOperationalInternal":{"tmp":"tmp/zpl-renderer-js_2.0.2_1756232131813_0.22951235240557777","host":"s3://npm-registry-packages-npm-production"}},"2.2.1":{"name":"zpl-renderer-js","version":"2.2.1","keywords":["zpl","zebra","label","printer","png","render","wasm","typescript","javascript","nodejs","browser","labelary","zpljs","zebrash"],"author":{"name":"Fabrizio"},"license":"MIT","_id":"zpl-renderer-js@2.2.1","maintainers":[{"name":"fabrizz","email":"fbrz.contact@gmail.com"}],"homepage":"https://xaviewer.fabriz.co/","bugs":{"url":"https://github.com/Fabrizz/zpl-renderer-js/issues"},"dist":{"shasum":"0b5a9c1014bae52101a24f1e6bac08f542e0d507","tarball":"https://registry.npmjs.org/zpl-renderer-js/-/zpl-renderer-js-2.2.1.tgz","fileCount":7,"integrity":"sha512-EhqFIbFD8VVw0QlPnIfXp4H7JbzfJStqeX23LK8N2J0IVl6UGCyHf4lPmzDmpA9cWshpOU6qSdqzQnrontIpSA==","signatures":[{"sig":"MEUCIQCqKdGYFry4lo4ya9OlIngI/9ZCWja8/6dgaEMe2iizEQIgFPr55P9BU1T54CBLRc9JqClO8Gwhi3qfGNQWkd9w5PM=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/zpl-renderer-js@2.2.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":28153219},"main":"dist/index.cjs.js","types":"dist/index.d.ts","unpkg":"dist/index.umd.js","module":"dist/index.esm.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.esm.js","require":"./dist/index.cjs.js"}},"gitHead":"700bad9b617f91fffc98f4b3223c705ad8dbdb30","scripts":{"test":"vitest","build":"npm run build:types && node build.js","build:wasm":"cd zebrash && GOOS=js GOARCH=wasm go build -o main.wasm -trimpath -buildvcs=false -ldflags=\"-s -w\" .","build:types":"tsc -p tsconfig.json","build:w:wasm":"cross-env GOOS=js GOARCH=wasm go build -C zebrash -o main.wasm -trimpath -buildvcs=false -ldflags=\"-s -w\" .","build:pw:wasm":"cd zebrash; $env:GOOS='js'; $env:GOARCH='wasm'; go build -o main.wasm -trimpath -buildvcs=false -ldflags='-s -w' ."},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:95ce9099-5cbf-4989-9fbc-f40295f7770f"}},"jsdelivr":"dist/index.umd.js","repository":{"url":"git+https://github.com/Fabrizz/zpl-renderer-js.git","type":"git"},"_npmVersion":"11.6.2","description":"Render ZPL (Zebra Programming Language) to PNG in the browser! Without Labelary or any third-party service.","directories":{},"_nodeVersion":"24.13.0","_hasShrinkwrap":false,"devDependencies":{"vitest":"^3.2.4","esbuild":"^0.25.8","typescript":"^5.9.2","@types/node":"^24.2.0","vite-plugin-wasm":"^3.5.0","vite-plugin-top-level-await":"^1.6.0"},"_npmOperationalInternal":{"tmp":"tmp/zpl-renderer-js_2.2.1_1769651290555_0.6912956157010146","host":"s3://npm-registry-packages-npm-production"}},"3.0.0":{"name":"zpl-renderer-js","version":"3.0.0","keywords":["zpl","zebra","label","printer","png","render","wasm","typescript","javascript","nodejs","browser","labelary","zpljs","zebrash"],"author":{"name":"Fabrizio"},"license":"MIT","_id":"zpl-renderer-js@3.0.0","maintainers":[{"name":"fabrizz","email":"fbrz.contact@gmail.com"}],"homepage":"https://xaviewer.fabriz.co/","bugs":{"url":"https://github.com/Fabrizz/zpl-renderer-js/issues"},"dist":{"shasum":"dfd130ec5f4d8ba54addc549be060ceca3d3102f","tarball":"https://registry.npmjs.org/zpl-renderer-js/-/zpl-renderer-js-3.0.0.tgz","fileCount":7,"integrity":"sha512-Epd02lGBxsi71fF5h4ES8rSBXSdhq8DOiGq8U0woOpViifhJq/1dpLdlZ/2Dq0vRmYOE9MaFEka3vBnzKfYtiQ==","signatures":[{"sig":"MEUCIQCjTToNWxMFK8vp2qFop0T1ij/2/HUALf//JyiQehtMLQIgYKtlft4LMJBTBX8Q3zxI+wAAfKi1roeXn92qaJasAHo=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/zpl-renderer-js@3.0.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":28205175},"main":"dist/index.cjs.js","types":"dist/index.d.ts","unpkg":"dist/index.umd.js","module":"dist/index.esm.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.esm.js","require":"./dist/index.cjs.js"}},"gitHead":"554d330248c085d7327bff76c4d3c58bc411f9f1","scripts":{"test":"vitest","build":"npm run build:types && node build.js","build:wasm":"cd zebrash && GOOS=js GOARCH=wasm go build -o main.wasm -trimpath -buildvcs=false -ldflags=\"-s -w\" .","build:types":"tsc -p tsconfig.json","build:w:wasm":"cross-env GOOS=js GOARCH=wasm go build -C zebrash -o main.wasm -trimpath -buildvcs=false -ldflags=\"-s -w\" .","build:pw:wasm":"cd zebrash; $env:GOOS='js'; $env:GOARCH='wasm'; go build -o main.wasm -trimpath -buildvcs=false -ldflags='-s -w' ."},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:95ce9099-5cbf-4989-9fbc-f40295f7770f"}},"jsdelivr":"dist/index.umd.js","repository":{"url":"git+https://github.com/Fabrizz/zpl-renderer-js.git","type":"git"},"_npmVersion":"11.6.2","description":"Render ZPL (Zebra Programming Language) to PNG in the browser! Without Labelary or any third-party service.","directories":{},"_nodeVersion":"24.13.0","_hasShrinkwrap":false,"devDependencies":{"vitest":"^3.2.4","esbuild":"^0.25.8","typescript":"^5.9.2","@types/node":"^24.2.0","vite-plugin-wasm":"^3.5.0","vite-plugin-top-level-await":"^1.6.0"},"_npmOperationalInternal":{"tmp":"tmp/zpl-renderer-js_3.0.0_1769655238143_0.1662913731759268","host":"s3://npm-registry-packages-npm-production"}},"3.1.0":{"name":"zpl-renderer-js","version":"3.1.0","keywords":["zpl","zebra","label","printer","png","render","wasm","typescript","javascript","nodejs","browser","labelary","zpljs","zebrash"],"author":{"name":"Fabrizio"},"license":"MIT","_id":"zpl-renderer-js@3.1.0","maintainers":[{"name":"fabrizz","email":"fbrz.contact@gmail.com"}],"homepage":"https://xaviewer.fabriz.co/","bugs":{"url":"https://github.com/Fabrizz/zpl-renderer-js/issues"},"dist":{"shasum":"2ed57c8249a30fc16ad537c7b2ff45e7c5d4e5b2","tarball":"https://registry.npmjs.org/zpl-renderer-js/-/zpl-renderer-js-3.1.0.tgz","fileCount":7,"integrity":"sha512-IQ9MaXBCd7DKXL5WLwWWUN2riAtW06F7E7hBdijiScRZ4W1L2gctA89eYrBDXkkENSwOPooQi3qlDdcVSfBr/A==","signatures":[{"sig":"MEUCIG+Gt/Ien2t97w4J1Stpm0Yr6S+fv8kRH0a1pUTVrCWdAiEArvndHzQ2zTy5Dei7+ZSjgJKN7JsVNyCCFTxowLExVTc=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/zpl-renderer-js@3.1.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":28183551},"main":"dist/index.cjs.js","types":"dist/index.d.ts","unpkg":"dist/index.umd.js","module":"dist/index.esm.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.esm.js","require":"./dist/index.cjs.js"}},"gitHead":"ffc4489f77421856e688e3e987dbf76d4cb5d1a0","scripts":{"test":"vitest","build":"npm run build:types && node build.js","build:wasm":"cd zebrash && GOOS=js GOARCH=wasm go build -o main.wasm -trimpath -buildvcs=false -ldflags=\"-s -w\" .","build:types":"tsc -p tsconfig.json","build:w:wasm":"cross-env GOOS=js GOARCH=wasm go build -C zebrash -o main.wasm -trimpath -buildvcs=false -ldflags=\"-s -w\" .","build:pw:wasm":"cd zebrash; $env:GOOS='js'; $env:GOARCH='wasm'; go build -o main.wasm -trimpath -buildvcs=false -ldflags='-s -w' ."},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:95ce9099-5cbf-4989-9fbc-f40295f7770f"}},"jsdelivr":"dist/index.umd.js","repository":{"url":"git+https://github.com/Fabrizz/zpl-renderer-js.git","type":"git"},"_npmVersion":"11.6.2","description":"Render ZPL (Zebra Programming Language) to PNG in the browser! Without Labelary or any third-party service.","directories":{},"_nodeVersion":"24.13.0","_hasShrinkwrap":false,"devDependencies":{"vitest":"^3.2.4","esbuild":"^0.25.8","typescript":"^5.9.2","@types/node":"^24.2.0","vite-plugin-wasm":"^3.5.0","vite-plugin-top-level-await":"^1.6.0"},"_npmOperationalInternal":{"tmp":"tmp/zpl-renderer-js_3.1.0_1770335911020_0.7516291519166676","host":"s3://npm-registry-packages-npm-production"}},"3.2.2":{"name":"zpl-renderer-js","version":"3.2.2","keywords":["zpl","zebra","label","printer","png","render","wasm","typescript","javascript","nodejs","browser","labelary","zpljs","zebrash"],"author":{"name":"Fabrizio"},"license":"MIT","_id":"zpl-renderer-js@3.2.2","maintainers":[{"name":"fabrizz","email":"fbrz.contact@gmail.com"}],"homepage":"https://xaviewer.fabriz.co/","bugs":{"url":"https://github.com/Fabrizz/zpl-renderer-js/issues"},"dist":{"shasum":"2d53057432881a280bb7ace4e5f0b3520ab7944b","tarball":"https://registry.npmjs.org/zpl-renderer-js/-/zpl-renderer-js-3.2.2.tgz","fileCount":7,"integrity":"sha512-LBncHpu3afe7R+P/GKcEGJADo6qv/qs2fpbLP54Dfn13o7LHwzesLasfPvCvS5nWVa8V19UQyIQpd8ff34i1pQ==","signatures":[{"sig":"MEUCIQCml8K9Qb1/8RD/NEyLlE6aAuwkgLoVhButPGEuOrhLJAIgcRA6x02KViZRn0EJV7DsTn7piETLlbOrl16wc9zqVv4=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/zpl-renderer-js@3.2.2","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":28196031},"main":"dist/index.cjs.js","types":"dist/index.d.ts","unpkg":"dist/index.umd.js","module":"dist/index.esm.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.esm.js","require":"./dist/index.cjs.js"}},"gitHead":"7e3494ad35d888b6f199c04c1f16da876740858a","scripts":{"test":"vitest","build":"npm run build:types && node build.js","build:wasm":"cd zebrash && GOOS=js GOARCH=wasm go build -o main.wasm -trimpath -buildvcs=false -ldflags=\"-s -w\" .","build:types":"tsc -p tsconfig.json","build:w:wasm":"cross-env GOOS=js GOARCH=wasm go build -C zebrash -o main.wasm -trimpath -buildvcs=false -ldflags=\"-s -w\" .","build:pw:wasm":"cd zebrash; $env:GOOS='js'; $env:GOARCH='wasm'; go build -o main.wasm -trimpath -buildvcs=false -ldflags='-s -w' ."},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:95ce9099-5cbf-4989-9fbc-f40295f7770f"}},"jsdelivr":"dist/index.umd.js","repository":{"url":"git+https://github.com/Fabrizz/zpl-renderer-js.git","type":"git"},"_npmVersion":"11.8.0","description":"Render ZPL (Zebra Programming Language) to PNG in the browser! Without Labelary or any third-party service.","directories":{},"_nodeVersion":"24.13.1","_hasShrinkwrap":false,"devDependencies":{"vitest":"^3.2.4","esbuild":"^0.25.8","typescript":"^5.9.2","@types/node":"^24.2.0","vite-plugin-wasm":"^3.5.0","vite-plugin-top-level-await":"^1.6.0"},"_npmOperationalInternal":{"tmp":"tmp/zpl-renderer-js_3.2.2_1772408711450_0.40990057596555607","host":"s3://npm-registry-packages-npm-production"}},"3.3.0":{"name":"zpl-renderer-js","version":"3.3.0","keywords":["zpl","zebra","label","printer","png","render","wasm","typescript","javascript","nodejs","browser","labelary","zpljs","zebrash"],"author":{"name":"Fabrizio"},"license":"MIT","_id":"zpl-renderer-js@3.3.0","maintainers":[{"name":"fabrizz","email":"fbrz.contact@gmail.com"}],"homepage":"https://xaviewer.fabriz.co/","bugs":{"url":"https://github.com/Fabrizz/zpl-renderer-js/issues"},"dist":{"shasum":"d856baf0265eacd0b4a4e60fbdd880a556d2482a","tarball":"https://registry.npmjs.org/zpl-renderer-js/-/zpl-renderer-js-3.3.0.tgz","fileCount":7,"integrity":"sha512-BclNv6e4qSmtjze5sCQ9iudNfa72ItOT9iZnZllf9DHUXqUvWeRW9CGjswNpBFhhuqKyDMlaus/xtgCwF61izA==","signatures":[{"sig":"MEUCIQCgPS1opoSmiziAVnNGQn1qXP9fYVKSFs3AbXeSdmph2QIgCL63LIoN3NkRgzgWU8Ief6gWZBqKJvQntGAuYQwI4oI=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/zpl-renderer-js@3.3.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":28255415},"main":"dist/index.cjs.js","types":"dist/index.d.ts","unpkg":"dist/index.umd.js","module":"dist/index.esm.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.esm.js","require":"./dist/index.cjs.js"}},"gitHead":"865c0ff305e8e9f8a27f5e576a47743f7d6c7fcd","scripts":{"test":"vitest","build":"npm run build:types && node build.js","build:wasm":"cd zebrash && GOOS=js GOARCH=wasm go build -o main.wasm -trimpath -buildvcs=false -ldflags=\"-s -w\" .","build:types":"tsc -p tsconfig.json","build:w:wasm":"cross-env GOOS=js GOARCH=wasm go build -C zebrash -o main.wasm -trimpath -buildvcs=false -ldflags=\"-s -w\" .","build:pw:wasm":"cd zebrash; $env:GOOS='js'; $env:GOARCH='wasm'; go build -o main.wasm -trimpath -buildvcs=false -ldflags='-s -w' ."},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:95ce9099-5cbf-4989-9fbc-f40295f7770f"}},"jsdelivr":"dist/index.umd.js","repository":{"url":"git+https://github.com/Fabrizz/zpl-renderer-js.git","type":"git"},"_npmVersion":"11.11.0","description":"Render ZPL (Zebra Programming Language) to PNG in the browser! Without Labelary or any third-party service.","directories":{},"_nodeVersion":"24.14.1","_hasShrinkwrap":false,"devDependencies":{"vitest":"^3.2.4","esbuild":"^0.25.8","typescript":"^5.9.2","@types/node":"^24.2.0","vite-plugin-wasm":"^3.5.0","vite-plugin-top-level-await":"^1.6.0"},"_npmOperationalInternal":{"tmp":"tmp/zpl-renderer-js_3.3.0_1776016263016_0.8951707223434822","host":"s3://npm-registry-packages-npm-production"}},"3.4.0":{"name":"zpl-renderer-js","version":"3.4.0","keywords":["zpl","zebra","label","printer","png","render","wasm","typescript","javascript","nodejs","browser","labelary","zpljs","zebrash"],"author":{"name":"Fabrizio"},"license":"MIT","_id":"zpl-renderer-js@3.4.0","maintainers":[{"name":"fabrizz","email":"fbrz.contact@gmail.com"}],"homepage":"https://xaviewer.fabriziob.com/","bugs":{"url":"https://github.com/Fabrizz/zpl-renderer-js/issues"},"dist":{"shasum":"2c93139b29b4314d8759da549eb2c85e2004ec40","tarball":"https://registry.npmjs.org/zpl-renderer-js/-/zpl-renderer-js-3.4.0.tgz","fileCount":8,"integrity":"sha512-f9UEII6J2sPR+4pqR4MtEu3oXc7k1i9W402XYyjAN/LAinJp7EP5EmJ/gfr0pOZjNuSWH/Wx+1MgUBHBEGU8mQ==","signatures":[{"sig":"MEYCIQDCrUbTgI0YeEuAwpMPMWpYxOztcj79gUZcb3aA7fGkMQIhAOB/WEvWZNj/yXe1ByONbNDpjRK7c9ZSGGAuQ/0kWUwt","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/zpl-renderer-js@3.4.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":28255440},"main":"dist/index.cjs.js","types":"dist/index.d.ts","unpkg":"dist/index.umd.js","module":"dist/index.esm.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.esm.js","require":"./dist/index.cjs.js"}},"gitHead":"35dc9a41924130b3e3de82f80a5c6f8e2d1f6c0a","scripts":{"test":"vitest","build":"npm run build:types && node build.js","build:wasm":"cd zebrash && GOOS=js GOARCH=wasm go build -o main.wasm -trimpath -buildvcs=false -ldflags=\"-s -w\" .","build:types":"tsc -p tsconfig.json","build:w:wasm":"cross-env GOOS=js GOARCH=wasm go build -C zebrash -o main.wasm -trimpath -buildvcs=false -ldflags=\"-s -w\" .","build:pw:wasm":"cd zebrash; $env:GOOS='js'; $env:GOARCH='wasm'; go build -o main.wasm -trimpath -buildvcs=false -ldflags='-s -w' ."},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:95ce9099-5cbf-4989-9fbc-f40295f7770f"}},"jsdelivr":"dist/index.umd.js","repository":{"url":"git+https://github.com/Fabrizz/zpl-renderer-js.git","type":"git"},"_npmVersion":"11.11.0","description":"Render ZPL (Zebra Programming Language) to PNG in the browser! Without Labelary or any third-party service.","directories":{},"_nodeVersion":"24.14.1","_hasShrinkwrap":false,"devDependencies":{"vitest":"^3.2.4","esbuild":"^0.25.8","typescript":"^5.9.2","@types/node":"^24.2.0","vite-plugin-wasm":"^3.5.0","vite-plugin-top-level-await":"^1.6.0"},"_npmOperationalInternal":{"tmp":"tmp/zpl-renderer-js_3.4.0_1776280660021_0.8040630505410564","host":"s3://npm-registry-packages-npm-production"}},"4.0.0":{"name":"zpl-renderer-js","version":"4.0.0","author":{"name":"Fabrizio Bap"},"license":"MIT","description":"Render ZPL (Zebra Programming Language) to PNG in the browser! Without Labelary or any third-party service.","homepage":"https://xaviewer.fabriziob.com/","keywords":["zpl","zebra","label","printer","png","render","wasm","typescript","javascript","nodejs","browser","labelary","zpljs","zebrash"],"main":"dist/index.cjs.js","module":"dist/index.esm.js","types":"dist/index.d.ts","scripts":{"build":"npm run clean && npm run build:types && node build.js","clean":"node -e \"require('fs').rmSync('dist', { recursive: true, force: true })\"","build:types":"tsc -p tsconfig.json","build:wasm":"cd zebrash && GOOS=js GOARCH=wasm go build -o main.wasm -trimpath -buildvcs=false -ldflags=\"-s -w\" .","build:pw:wasm":"cd zebrash; $env:GOOS='js'; $env:GOARCH='wasm'; go build -o main.wasm -trimpath -buildvcs=false -ldflags='-s -w' .","build:w:wasm":"cross-env GOOS=js GOARCH=wasm go build -C zebrash -o main.wasm -trimpath -buildvcs=false -ldflags=\"-s -w\" .","test":"vitest"},"devDependencies":{"@types/node":"^26.1.1","esbuild":"^0.28.1","typescript":"^7.0.2","vite-plugin-top-level-await":"^1.6.0","vite-plugin-wasm":"^3.6.0","vitest":"^4.1.10"},"exports":{".":{"types":"./dist/index.d.ts","require":"./dist/index.cjs.js","import":"./dist/index.esm.js"},"./external":{"types":"./dist/index.external.d.ts","require":"./dist/index.external.cjs.js","import":"./dist/index.external.esm.js"},"./wasm":"./dist/zebrash.wasm"},"repository":{"type":"git","url":"git+https://github.com/Fabrizz/zpl-renderer-js.git"},"gitHead":"2dbd84e5e1373c0d8ee10833626e9da86247b2c6","_id":"zpl-renderer-js@4.0.0","bugs":{"url":"https://github.com/Fabrizz/zpl-renderer-js/issues"},"_nodeVersion":"24.18.0","_npmVersion":"11.16.0","dist":{"integrity":"sha512-tcpyTVldabjbPj5Nmru1mieh/Y0OEs+VsqTlzMZLgSeB+wnldxKeLha7VRJmeGZJw3rlxu+wTberFKiuwhfcOA==","shasum":"68a1b9556a1c88fb46b36b74d3aae6c7ba47650c","tarball":"https://registry.npmjs.org/zpl-renderer-js/-/zpl-renderer-js-4.0.0.tgz","fileCount":14,"unpackedSize":25943777,"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/zpl-renderer-js@4.0.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIBH/rDipjBH5znNLm5AsXefDdDIOaemRFWc08kCMhF8JAiEAivlg6PfJq1Bje5q6K6nfhjSpT5vKvfnvXaZLe8g3wSY="}]},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:95ce9099-5cbf-4989-9fbc-f40295f7770f"}},"directories":{},"maintainers":[{"name":"fabrizz","email":"fbrz.contact@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/zpl-renderer-js_4.0.0_1784533411056_0.3311000946334479"},"_hasShrinkwrap":false}},"time":{"created":"2025-08-12T17:53:31.331Z","modified":"2026-07-20T07:43:31.654Z","1.2.4":"2025-08-12T17:53:31.807Z","1.2.5":"2025-08-13T03:34:09.795Z","2.0.0-beta":"2025-08-20T16:55:23.311Z","2.0.1":"2025-08-20T17:23:41.267Z","2.0.2":"2025-08-26T18:15:32.224Z","2.2.1":"2026-01-29T01:48:10.947Z","3.0.0":"2026-01-29T02:53:58.589Z","3.1.0":"2026-02-05T23:58:31.405Z","3.2.2":"2026-03-01T23:45:11.918Z","3.3.0":"2026-04-12T17:51:03.392Z","3.4.0":"2026-04-15T19:17:40.395Z","4.0.0":"2026-07-20T07:43:31.330Z"},"bugs":{"url":"https://github.com/Fabrizz/zpl-renderer-js/issues"},"author":{"name":"Fabrizio Bap"},"license":"MIT","homepage":"https://xaviewer.fabriziob.com/","keywords":["zpl","zebra","label","printer","png","render","wasm","typescript","javascript","nodejs","browser","labelary","zpljs","zebrash"],"repository":{"type":"git","url":"git+https://github.com/Fabrizz/zpl-renderer-js.git"},"description":"Render ZPL (Zebra Programming Language) to PNG in the browser! Without Labelary or any third-party service.","maintainers":[{"name":"fabrizz","email":"fbrz.contact@gmail.com"}],"readme":"> ZPL-Renderer-JS is a wrapper of [Zebrash by Fedir Kryvytskyi (IngridHQ)](https://github.com/ingridhq/zebrash)\n\n# ZPL-Renderer-JS\nConvert Zebra ZPL labels to PNG directly in the browser (or node) without the use of third party services like Labelary or labelzoom!, supports multiple labels with templates!\n\n[<img alt=\"Fabriz Logo\" src=\"./.github/bar-zpl.png\" height=\"110px\"/>](https://www.npmjs.com/package/zpl-renderer-js)\n[<img alt=\"Fabriz Logo\" src=\"./.github/bar-xaviewer.png\" height=\"110px\"/>](https://xaviewer.fabriziob.com/)\n\n\n## Web Editor\nYou can use the full in-browser ZPL viewer+editor here: https://xaviewer.fabriziob.com/ **`Source code available in /web`**\n\n\n## Instalation\n```bash\nnpm i zpl-renderer-js\n```\n\n## Usage\nThe NPM package includes `.esm` and `.cjs` builds, in two \"flavors\": the default `zpl-renderer-js` inlines the WASM directly in the JS bundle (simplest, but large), and `zpl-renderer-js/external` loads the WASM as a separate file you control (recommended).\n\n> [!NOTE]\n> Loading the library in a web worker is recommended and more so if you are planning on doing multiple renderings in a short time span. <br/> An example WebWorker can be found in `examples/1-zpl-web-worker.ts` and consumer react component in `examples/1-zpl-ww-consumer.tsx`\n\n> [!TIP]\n> Starting in `4.0.0` plain `<script>`/UMD builds were removed. Install the last version that shipped it instead: `npm i zpl-renderer-js@3` (or pin `zpl-renderer-js@3.4.0`) and see [that version's README](https://github.com/Fabrizz/zpl-renderer-js/blob/v3.4.0/README.md) for usage.\n\n### Recommended: external WASM\n`zpl-renderer-js/external` keeps the WASM out of the JS bundle entirely, it ships as a real `dist/zebrash.wasm` file inside the npm package, jsDelivr/unpkg serve it at a stable, cacheable, streamable CDN URL, and bundlers can resolve it as a plain asset. You tell it explicitly where to load the WASM from via `init()`, once, before using anything else.\n\n**With Vite** (or another bundler that supports the `?url` suffix), you can self-host the WASM file that's already inside the package:\n```ts\nimport { init, zplToBase64Async } from \"zpl-renderer-js/external\";\nimport wasmUrl from \"zpl-renderer-js/wasm?url\";\n\nawait init({ wasmUrl });\nconst label = await zplToBase64Async(\"^XA^FO50,50^ADN,36,20^FDHello^FS^XZ\");\n```\n\nOr, using a CDN you can just use the URL: (you can also just host the file yourself)\n```ts\nimport { init, zplToBase64Async } from \"zpl-renderer-js/external\";\n\n// Pin this to the exact version you installed, so the WASM always matches\n// the wasm_exec.js runtime bundled in this JS.\nawait init({\n  wasmUrl: \"https://cdn.jsdelivr.net/npm/zpl-renderer-js@4.0.0/dist/zebrash.wasm\",\n  // or: \"https://unpkg.com/zpl-renderer-js@4.0.0/dist/zebrash.wasm\"\n});\n\nconst label = await zplToBase64Async(\"^XA^FO50,50^ADN,36,20^FDHello^FS^XZ\");\n```\n\n**In Node**, read the bytes from disk instead of fetching over the network:\n```ts\nimport { init, zplToBase64Async } from \"zpl-renderer-js/external\";\nimport { readFile } from \"node:fs/promises\";\n\nconst wasmBytes = await readFile(require.resolve(\"zpl-renderer-js/wasm\"));\nawait init({ wasmBytes });\n\nconst label = await zplToBase64Async(\"^XA^FO50,50^ADN,36,20^FDHello^FS^XZ\");\n```\n`init()` also accepts `wasmModule` (an already-compiled `WebAssembly.Module`, e.g. shared across workers). Calling any render function before `init()` resolves throws a clear error telling you to call it first.\n\n### Inlined WASM (simpler, larger bundle)\nThe default `zpl-renderer-js` import is a drop-in, zero-config option at the cost of bundle size.\n\n> [!WARNING]\n> This build is **~8MB** as the wasm is inlined. If bundle size or streaming/caching the WASM matters to you, use `zpl-renderer-js/external` above instead.\n\n#### Rendering a single label (Original)\n```ts\nimport { ready } from \"zpl-renderer-js\"\nimport fs from \"node:fs\";\n\nconst { api } = await ready;\nconst label = await api.zplToBase64Async(\"^XA^FO50,50^ADN,36,20^FDHello^FS^XZ\");\n\nfs.writeFileSync(\"zpl.png\", Buffer.from(label, \"base64\"));\n```\n\n#### Rendering multiple labels\n```ts\nimport { ready } from \"zpl-renderer-js\"\nimport fs from \"node:fs\";\n\nconst { api } = await ready;\nconst labels = await api.zplToBase64MultipleAsync(\"...\");\n\nfor (const label in labels) {\n  fs.writeFileSync(`zpl-${labels.indexOf(label)}.png`, Buffer.from(label, \"base64\"));\n}\n```\n\n#### Rendering options\nBoth `zplToBase64Async` and `zplToBase64MultipleAsync` (in either the inlined or the external build) accept an optional trailing `options` object:\n```ts\nimport { ready } from \"zpl-renderer-js\"\n\nconst { api } = await ready;\nconst label = await api.zplToBase64Async(\n  \"^XA^FO50,50^ADN,36,20^FDHello^FS^XZ\",\n  101.6, 203.2, 8,\n  { grayscaleOutput: true }\n);\n```\n- `grayscaleOutput` — outputs an 8-bit grayscale PNG that preserves anti-aliasing instead of a binary monochrome image. Use this if rendered text/barcodes look pixelated. Defaults to `false`.\n- `enableInvertedLabels` — honors inverted print orientation (`^POI`) requested by the ZPL itself, rendering the label upside-down. Defaults to `false`.\n\n### ZplApi\n```ts\n  /**\n   * Asynchronously render a ZPL label into a PNG image (Base64-encoded string).\n   *\n   * @param zpl - The raw ZPL code to render.\n   * @param widthMm - Label width in millimeters. Defaults to 101.6 mm (~4 inches).\n   * @param heightMm - Label height in millimeters. Defaults to 203.2 mm (~8 inches).\n   * @param dpmm - Dots per millimeter (print resolution). Defaults to 8 (~203 DPI).\n   * @param options - Additional rendering options (inverted labels, grayscale output).\n   * @returns A Promise that resolves to a Base64-encoded PNG image string representing the rendered label.\n   * @throws Will throw an error if the ZPL is invalid or rendering fails.\n   */\n  zplToBase64Async: (\n    zpl: string,\n    widthMm?: number,\n    heightMm?: number,\n    dpmm?: number,\n    options?: RenderOptions\n  ) => Promise<string>;\n\n  /**\n   * Asynchronously render multiple ZPL labels into PNG images (Base64-encoded strings).\n   * \n   * @param zpl - The raw ZPL code containing multiple labels to render.\n   * @param widthMm - Label width in millimeters. Defaults to 101.6 mm (~4 inches).\n   * @param heightMm - Label height in millimeters. Defaults to 203.2 mm (~8 inches).\n   * @param dpmm - Dots per millimeter (print resolution). Defaults to 8 (~203 DPI).\n   * @param options - Additional rendering options (inverted labels, grayscale output).\n   * @returns A Promise that resolves to an array of Base64-encoded PNG image strings representing the rendered labels.\n   * @throws Will throw an error if the ZPL is invalid or rendering fails.\n   */\n\n  zplToBase64MultipleAsync: (\n    zpl: string,\n    widthMm?: number,\n    heightMm?: number,\n    dpmm?: number,\n    options?: RenderOptions\n  ) => Promise<string[]>;\n\n  type RenderOptions = {\n    enableInvertedLabels?: boolean; // Defaults to false\n    grayscaleOutput?: boolean;      // Defaults to false\n  };\n```\n<br/>\n\n<img alt=\"Fabriz logo\" src=\"./.github/logo.png\" width=\"92\"><br/>\n\n#\n\n[<img alt=\"Fabriz logo\" src=\"./.github/fabriz.png\" width=\"92\" align=\"right\">](https://fabriziob.com)\n<p align=\"left\">Made with 💛 by Fabrizio</p>","readmeFilename":"README.md"}