{"_id":"@angadie/chittie-preview","_rev":"12-1ef737bf995a9f2da465e259859957ee","name":"@angadie/chittie-preview","dist-tags":{"latest":"0.9.0"},"versions":{"0.1.0":{"name":"@angadie/chittie-preview","version":"0.1.0","license":"MIT","_id":"@angadie/chittie-preview@0.1.0","maintainers":[{"name":"octalpixel","email":"mithushancj@gmail.com"}],"dist":{"shasum":"e3e739a1157bba45afddfe83edd7496412f8e146","tarball":"https://registry.npmjs.org/@angadie/chittie-preview/-/chittie-preview-0.1.0.tgz","fileCount":5,"integrity":"sha512-hFbANpt0FXtxx328d0YTeZejj8LXsC31dLmqgXa+cFEMH7Yrl52h+520I5GK11KDrxiLqPviwW2Z/q53sikjhg==","signatures":[{"sig":"MEUCIGCmz3AZiJF8yN0kgBD4p69YX5NrRuCTXJP+/BBS4GqYAiEA3Dj+9L0OLRCmZPUylrs/73LkcPgOe0onoEJ7MLD8aOU=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":11759},"type":"module","_from":"file:angadie-chittie-preview-0.1.0.tgz","types":"./dist/index.d.mts","exports":{".":{"types":"./dist/index.d.mts","import":"./dist/index.mjs"}},"scripts":{"test":"tsx spikes/preview.spike.ts","build":"tsdown","typecheck":"tsc --noEmit"},"_npmUser":{"name":"octalpixel","email":"mithushancj@gmail.com"},"_resolved":"/private/var/folders/j5/7dkmn95d0_9b5fdnfsmpjs580000gn/T/e4db51ef58455617c063a80d84f68835/angadie-chittie-preview-0.1.0.tgz","_integrity":"sha512-hFbANpt0FXtxx328d0YTeZejj8LXsC31dLmqgXa+cFEMH7Yrl52h+520I5GK11KDrxiLqPviwW2Z/q53sikjhg==","_npmVersion":"10.9.7","description":"Render a receipt to an image by parsing the ESC/POS bytes chittie emits — a software preview of what the printer will print. Platform-neutral via an injected canvas (browser or @napi-rs/canvas).","directories":{},"_nodeVersion":"22.22.2","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"@angadie/chittie":"0.1.0","@canvas/image-data":"^1.1.0","@angadie/chittie-text":"0.1.0"},"_npmOperationalInternal":{"tmp":"tmp/chittie-preview_0.1.0_1782189729771_0.5771753316909509","host":"s3://npm-registry-packages-npm-production"}},"0.1.1":{"name":"@angadie/chittie-preview","version":"0.1.1","license":"MIT","_id":"@angadie/chittie-preview@0.1.1","maintainers":[{"name":"octalpixel","email":"mithushancj@gmail.com"}],"dist":{"shasum":"fc2f53d16a711bade32ca3de4d9f4f9600d54dcb","tarball":"https://registry.npmjs.org/@angadie/chittie-preview/-/chittie-preview-0.1.1.tgz","fileCount":5,"integrity":"sha512-5+ymje46WsMP/0E2LBnMyWz+L6JGVokL2QhLEXUHNQTOrU8t6stQh/gfT5lDPlqMF2oVzn+El2/X/WjXcHeA+A==","signatures":[{"sig":"MEYCIQDxnHyLfpUlsPwNxFg7IX5FekCTP1WYiwa0y0xm5mGevwIhAINUHIN0yXu+Btho2NW8sAemzJDZw7GUsyICkaAbqkns","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":11759},"type":"module","_from":"file:angadie-chittie-preview-0.1.1.tgz","types":"./dist/index.d.mts","exports":{".":{"types":"./dist/index.d.mts","import":"./dist/index.mjs"}},"scripts":{"test":"tsx spikes/preview.spike.ts","build":"tsdown","typecheck":"tsc --noEmit"},"_npmUser":{"name":"octalpixel","email":"mithushancj@gmail.com"},"_resolved":"/private/var/folders/j5/7dkmn95d0_9b5fdnfsmpjs580000gn/T/dacf25aed87a6cbd000538a6b7766985/angadie-chittie-preview-0.1.1.tgz","_integrity":"sha512-5+ymje46WsMP/0E2LBnMyWz+L6JGVokL2QhLEXUHNQTOrU8t6stQh/gfT5lDPlqMF2oVzn+El2/X/WjXcHeA+A==","_npmVersion":"10.9.7","description":"Render a receipt to an image by parsing the ESC/POS bytes chittie emits — a software preview of what the printer will print. Platform-neutral via an injected canvas (browser or @napi-rs/canvas).","directories":{},"_nodeVersion":"22.22.2","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"@angadie/chittie":"0.1.1","@canvas/image-data":"^1.1.0","@angadie/chittie-text":"0.1.1"},"_npmOperationalInternal":{"tmp":"tmp/chittie-preview_0.1.1_1782190373188_0.4449547303783721","host":"s3://npm-registry-packages-npm-production"}},"0.2.0":{"name":"@angadie/chittie-preview","version":"0.2.0","license":"MIT","_id":"@angadie/chittie-preview@0.2.0","maintainers":[{"name":"octalpixel","email":"mithushancj@gmail.com"}],"dist":{"shasum":"c395f2bac9382cb3d926e7c7b31cdb9bd5767b98","tarball":"https://registry.npmjs.org/@angadie/chittie-preview/-/chittie-preview-0.2.0.tgz","fileCount":5,"integrity":"sha512-ystzZh2SGs1rsucQsTdDLT3iTtMbmAyrRaaaorrFT+NUj7ULNwhfR+7MZpjEQU6p7MsgNSP7iD8+oa94aKHbzA==","signatures":[{"sig":"MEQCIGSEgi7D5a/NtgZkzFDS7G94wSGi02vogF9zCgUKQk4mAiBZ17z/OEnoDe8HSaQ5kO6LPeJFPJNJmjfQ48xuXLzJ2g==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":11759},"type":"module","_from":"file:angadie-chittie-preview-0.2.0.tgz","types":"./dist/index.d.mts","exports":{".":{"types":"./dist/index.d.mts","import":"./dist/index.mjs"}},"scripts":{"test":"tsx spikes/preview.spike.ts","build":"tsdown","typecheck":"tsc --noEmit"},"_npmUser":{"name":"octalpixel","email":"mithushancj@gmail.com"},"_resolved":"/private/var/folders/j5/7dkmn95d0_9b5fdnfsmpjs580000gn/T/b7b274f9db500a37d393dd57795969b5/angadie-chittie-preview-0.2.0.tgz","_integrity":"sha512-ystzZh2SGs1rsucQsTdDLT3iTtMbmAyrRaaaorrFT+NUj7ULNwhfR+7MZpjEQU6p7MsgNSP7iD8+oa94aKHbzA==","_npmVersion":"10.9.7","description":"Render a receipt to an image by parsing the ESC/POS bytes chittie emits — a software preview of what the printer will print. Platform-neutral via an injected canvas (browser or @napi-rs/canvas).","directories":{},"_nodeVersion":"22.22.2","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"@angadie/chittie":"0.2.0","@canvas/image-data":"^1.1.0","@angadie/chittie-text":"0.2.0"},"_npmOperationalInternal":{"tmp":"tmp/chittie-preview_0.2.0_1782192885732_0.1675359652865036","host":"s3://npm-registry-packages-npm-production"}},"0.3.0":{"name":"@angadie/chittie-preview","version":"0.3.0","license":"MIT","_id":"@angadie/chittie-preview@0.3.0","maintainers":[{"name":"octalpixel","email":"mithushancj@gmail.com"}],"dist":{"shasum":"6a293db8523837170cb4db374ad6e72f76de1b02","tarball":"https://registry.npmjs.org/@angadie/chittie-preview/-/chittie-preview-0.3.0.tgz","fileCount":5,"integrity":"sha512-vt6mksM7oYNB5ur7VByQbkjZyVRwScJG6HDVYo/vld+0JDAZ6b5oIrrj3GHPGame6L6+VxA86gTJftXtUr+Iuw==","signatures":[{"sig":"MEQCICviUC3G6LGrM3a8AAUXGYVRMnaPHqyktG/POe1GWbmHAiADzX3IhS0kCr9zKGukQK4DnBg3SHB1lRI9/RQTqtvs9A==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":11759},"type":"module","_from":"file:angadie-chittie-preview-0.3.0.tgz","types":"./dist/index.d.mts","exports":{".":{"types":"./dist/index.d.mts","import":"./dist/index.mjs"}},"scripts":{"test":"tsx spikes/preview.spike.ts","build":"tsdown","typecheck":"tsc --noEmit"},"_npmUser":{"name":"octalpixel","email":"mithushancj@gmail.com"},"_resolved":"/private/var/folders/j5/7dkmn95d0_9b5fdnfsmpjs580000gn/T/13a9432f38cb46860f86d3e163e18adf/angadie-chittie-preview-0.3.0.tgz","_integrity":"sha512-vt6mksM7oYNB5ur7VByQbkjZyVRwScJG6HDVYo/vld+0JDAZ6b5oIrrj3GHPGame6L6+VxA86gTJftXtUr+Iuw==","_npmVersion":"10.9.7","description":"Render a receipt to an image by parsing the ESC/POS bytes chittie emits — a software preview of what the printer will print. Platform-neutral via an injected canvas (browser or @napi-rs/canvas).","directories":{},"_nodeVersion":"22.22.2","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"@angadie/chittie":"0.3.0","@canvas/image-data":"^1.1.0","@angadie/chittie-text":"0.3.0"},"_npmOperationalInternal":{"tmp":"tmp/chittie-preview_0.3.0_1782238400839_0.4380428902031277","host":"s3://npm-registry-packages-npm-production"}},"0.4.0":{"name":"@angadie/chittie-preview","version":"0.4.0","license":"MIT","_id":"@angadie/chittie-preview@0.4.0","maintainers":[{"name":"octalpixel","email":"mithushancj@gmail.com"}],"dist":{"shasum":"b009f06cb7530a33528cb92ef0eeca2dfed5633d","tarball":"https://registry.npmjs.org/@angadie/chittie-preview/-/chittie-preview-0.4.0.tgz","fileCount":5,"integrity":"sha512-gP7smIX4Ak0HQHjSoia/S4XV9nF0WUHMt0iUBd9ch531I+5KPVb3h3B18xGY78lRnjCrtUiLd6ZnxhkqPtVLuQ==","signatures":[{"sig":"MEUCIE/iyD9+bq9n111V/WIwC28aHiV73drJ/vtHSxtQDVHlAiEAu7l4daD85RSWipjSDm3LZJlNqM/IubAo4YzuUOtPLxo=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":11759},"type":"module","_from":"file:angadie-chittie-preview-0.4.0.tgz","types":"./dist/index.d.mts","exports":{".":{"types":"./dist/index.d.mts","import":"./dist/index.mjs"}},"scripts":{"test":"tsx spikes/preview.spike.ts","build":"tsdown","typecheck":"tsc --noEmit"},"_npmUser":{"name":"octalpixel","email":"mithushancj@gmail.com"},"_resolved":"/private/var/folders/j5/7dkmn95d0_9b5fdnfsmpjs580000gn/T/c395fadceb0a68b47954536958aeb702/angadie-chittie-preview-0.4.0.tgz","_integrity":"sha512-gP7smIX4Ak0HQHjSoia/S4XV9nF0WUHMt0iUBd9ch531I+5KPVb3h3B18xGY78lRnjCrtUiLd6ZnxhkqPtVLuQ==","_npmVersion":"10.9.7","description":"Render a receipt to an image by parsing the ESC/POS bytes chittie emits — a software preview of what the printer will print. Platform-neutral via an injected canvas (browser or @napi-rs/canvas).","directories":{},"_nodeVersion":"22.22.2","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"@angadie/chittie":"0.4.0","@canvas/image-data":"^1.1.0","@angadie/chittie-text":"0.4.0"},"_npmOperationalInternal":{"tmp":"tmp/chittie-preview_0.4.0_1782239461004_0.10638057207023865","host":"s3://npm-registry-packages-npm-production"}},"0.5.0":{"name":"@angadie/chittie-preview","version":"0.5.0","license":"MIT","_id":"@angadie/chittie-preview@0.5.0","maintainers":[{"name":"octalpixel","email":"mithushancj@gmail.com"}],"dist":{"shasum":"867d5694da4073ba4126ceb00cdf7ef2c3b948f2","tarball":"https://registry.npmjs.org/@angadie/chittie-preview/-/chittie-preview-0.5.0.tgz","fileCount":5,"integrity":"sha512-SpMS9NbIgvdpUX2uPQhcyrxuqcefp2aBV+Be1qCnAoR2+YxCVmuKt4HK5AlQifvWbMgW26w/+ZSpEh4lyX9q8g==","signatures":[{"sig":"MEYCIQDm31fVPgbwgXv8aJtzGJZQqCpy8u5xS42oYjQpK+SXFwIhANzwDoMk0ShAfktiMAdfsbZtK6Dg95GmFV/9+7/reMi6","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":11759},"type":"module","_from":"file:angadie-chittie-preview-0.5.0.tgz","types":"./dist/index.d.mts","exports":{".":{"types":"./dist/index.d.mts","import":"./dist/index.mjs"}},"scripts":{"test":"tsx spikes/preview.spike.ts","build":"tsdown","typecheck":"tsc --noEmit"},"_npmUser":{"name":"octalpixel","email":"mithushancj@gmail.com"},"_resolved":"/private/var/folders/j5/7dkmn95d0_9b5fdnfsmpjs580000gn/T/c1a74817aeeb6c04903b0e97e8b8a230/angadie-chittie-preview-0.5.0.tgz","_integrity":"sha512-SpMS9NbIgvdpUX2uPQhcyrxuqcefp2aBV+Be1qCnAoR2+YxCVmuKt4HK5AlQifvWbMgW26w/+ZSpEh4lyX9q8g==","_npmVersion":"10.9.7","description":"Render a receipt to an image by parsing the ESC/POS bytes chittie emits — a software preview of what the printer will print. Platform-neutral via an injected canvas (browser or @napi-rs/canvas).","directories":{},"_nodeVersion":"22.22.2","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"@angadie/chittie":"0.5.0","@canvas/image-data":"^1.1.0","@angadie/chittie-text":"0.5.0"},"_npmOperationalInternal":{"tmp":"tmp/chittie-preview_0.5.0_1782240880734_0.036730340706643494","host":"s3://npm-registry-packages-npm-production"}},"0.6.0":{"name":"@angadie/chittie-preview","version":"0.6.0","license":"MIT","_id":"@angadie/chittie-preview@0.6.0","maintainers":[{"name":"octalpixel","email":"mithushancj@gmail.com"}],"dist":{"shasum":"5cb62d69e7bce38842259b20ac9e2154e8444a89","tarball":"https://registry.npmjs.org/@angadie/chittie-preview/-/chittie-preview-0.6.0.tgz","fileCount":5,"integrity":"sha512-fcL07tCm9yUbnDP3Aon12mghwJW51q09PYPxb4O4xtfOagzfeoWEszzEHUaSBuxOsrgUDpn0xqGKeooM7bSOew==","signatures":[{"sig":"MEUCIHB38X5HmVPVNoadKLnIx6kLztmPxvrboLsihL4JEVEnAiEAtzcsHY2z/TYBRbtUdwGDvQx1gg3gcbzdiCC1ihgCBlQ=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":17024},"type":"module","_from":"file:angadie-chittie-preview-0.6.0.tgz","types":"./dist/index.d.mts","exports":{".":{"types":"./dist/index.d.mts","import":"./dist/index.mjs"}},"scripts":{"test":"tsx spikes/preview.spike.ts","build":"tsdown","typecheck":"tsc --noEmit"},"_npmUser":{"name":"octalpixel","email":"mithushancj@gmail.com"},"_resolved":"/private/var/folders/j5/7dkmn95d0_9b5fdnfsmpjs580000gn/T/c07dfa38b1b9b7d9caa39ded59fb51f0/angadie-chittie-preview-0.6.0.tgz","_integrity":"sha512-fcL07tCm9yUbnDP3Aon12mghwJW51q09PYPxb4O4xtfOagzfeoWEszzEHUaSBuxOsrgUDpn0xqGKeooM7bSOew==","_npmVersion":"10.9.7","description":"Render a receipt to an image by parsing the ESC/POS bytes chittie emits — a software preview of what the printer will print. Platform-neutral via an injected canvas (browser or @napi-rs/canvas).","directories":{},"_nodeVersion":"22.22.2","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"@angadie/chittie":"0.5.0","@canvas/image-data":"^1.1.0","@angadie/chittie-text":"0.5.0","@angadie/chittie-label":"0.5.0"},"_npmOperationalInternal":{"tmp":"tmp/chittie-preview_0.6.0_1782279479033_0.3954377186090048","host":"s3://npm-registry-packages-npm-production"}},"0.7.0":{"name":"@angadie/chittie-preview","version":"0.7.0","license":"MIT","_id":"@angadie/chittie-preview@0.7.0","maintainers":[{"name":"octalpixel","email":"mithushancj@gmail.com"}],"dist":{"shasum":"28aae6b5864b2251ab5d36c4f9a17c19687593c0","tarball":"https://registry.npmjs.org/@angadie/chittie-preview/-/chittie-preview-0.7.0.tgz","fileCount":5,"integrity":"sha512-Q/CHnoyoTNRaAHja6zDIfz6FqQjHXE8sQdXSqj4XRMkQ2taJZBG/51Cr3ZgsMqnScnOBmCUTbDkBL2yxHv7UiQ==","signatures":[{"sig":"MEQCIDmImugGytcWJxJNA69UY0Ul/HBsDw5ZnvLPjy9H6Xb+AiAesbrb5b8sxD5nTJhrYLf8WFlpBAx7u4eCK0aXGc9r+g==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":17201},"type":"module","_from":"file:angadie-chittie-preview-0.7.0.tgz","types":"./dist/index.d.mts","exports":{".":{"types":"./dist/index.d.mts","import":"./dist/index.mjs"}},"scripts":{"test":"tsx spikes/preview.spike.ts","build":"tsdown","typecheck":"tsc --noEmit"},"_npmUser":{"name":"octalpixel","email":"mithushancj@gmail.com"},"_resolved":"/private/var/folders/j5/7dkmn95d0_9b5fdnfsmpjs580000gn/T/38df23981cf4d097e16d4a3172c442ec/angadie-chittie-preview-0.7.0.tgz","_integrity":"sha512-Q/CHnoyoTNRaAHja6zDIfz6FqQjHXE8sQdXSqj4XRMkQ2taJZBG/51Cr3ZgsMqnScnOBmCUTbDkBL2yxHv7UiQ==","_npmVersion":"10.9.7","description":"Render a receipt to an image by parsing the ESC/POS bytes chittie emits — a software preview of what the printer will print. Platform-neutral via an injected canvas (browser or @napi-rs/canvas).","directories":{},"_nodeVersion":"22.22.2","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"@angadie/chittie":"0.5.5","@canvas/image-data":"^1.1.0","@angadie/chittie-text":"0.8.0","@angadie/chittie-label":"0.6.2"},"_npmOperationalInternal":{"tmp":"tmp/chittie-preview_0.7.0_1782412177989_0.03714100745208815","host":"s3://npm-registry-packages-npm-production"}},"0.7.1":{"name":"@angadie/chittie-preview","version":"0.7.1","license":"MIT","_id":"@angadie/chittie-preview@0.7.1","maintainers":[{"name":"octalpixel","email":"mithushancj@gmail.com"}],"dist":{"shasum":"00d157878068ea7b02d5014c30677603d667963f","tarball":"https://registry.npmjs.org/@angadie/chittie-preview/-/chittie-preview-0.7.1.tgz","fileCount":5,"integrity":"sha512-6YLZqo5gyzNkECHRSglJ8UZHN0PBePSgFlI9ZpV1k7p8mVSTs0ejGy7XwNvoJiZ5g2nVBAvcI4KSb3CsDs/tIA==","signatures":[{"sig":"MEQCID47IT9B0jme1ADIOyzjSfrroZ4nZyff9h1v3VGF/E32AiBQ2g4xdiFlyzohOeEgCxx+woHzDPgMOF4proyP+qFxdA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":17238},"type":"module","_from":"file:angadie-chittie-preview-0.7.1.tgz","types":"./dist/index.d.mts","exports":{".":{"types":"./dist/index.d.mts","import":"./dist/index.mjs","default":"./dist/index.mjs"}},"scripts":{"test":"tsx spikes/preview.spike.ts","build":"tsdown","typecheck":"tsc --noEmit"},"_npmUser":{"name":"octalpixel","email":"mithushancj@gmail.com"},"_resolved":"/private/var/folders/j5/7dkmn95d0_9b5fdnfsmpjs580000gn/T/d0182583804056e0a28d0f5e080efbbb/angadie-chittie-preview-0.7.1.tgz","_integrity":"sha512-6YLZqo5gyzNkECHRSglJ8UZHN0PBePSgFlI9ZpV1k7p8mVSTs0ejGy7XwNvoJiZ5g2nVBAvcI4KSb3CsDs/tIA==","_npmVersion":"10.9.7","description":"Render a receipt to an image by parsing the ESC/POS bytes chittie emits — a software preview of what the printer will print. Platform-neutral via an injected canvas (browser or @napi-rs/canvas).","directories":{},"_nodeVersion":"22.22.2","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"@angadie/chittie":"0.5.6","@canvas/image-data":"^1.1.0","@angadie/chittie-text":"0.8.1","@angadie/chittie-label":"0.6.3"},"_npmOperationalInternal":{"tmp":"tmp/chittie-preview_0.7.1_1782463016974_0.12142701959227531","host":"s3://npm-registry-packages-npm-production"}},"0.8.0":{"name":"@angadie/chittie-preview","version":"0.8.0","license":"MIT","_id":"@angadie/chittie-preview@0.8.0","maintainers":[{"name":"octalpixel","email":"mithushancj@gmail.com"}],"dist":{"shasum":"7b1cda3558f36a29787053f76ec46f6d0e243b22","tarball":"https://registry.npmjs.org/@angadie/chittie-preview/-/chittie-preview-0.8.0.tgz","fileCount":5,"integrity":"sha512-6GYX/4zgzjXtahR7CV1QH+4rAsBvNRsHTLA/jhKf7KMr7HHHo84e0orqM1WjIDQZRVJHITgxkgWgx77WBHf/vA==","signatures":[{"sig":"MEUCICdceYCVdaiASLNSG8eabPbaFRRLEMHQo9Lw4qQzMKAeAiEAvdUzvJEDpXj6SzqjOQ045e5ZyPSZqRhIXx7DTSDc/Ok=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":17548},"type":"module","_from":"file:angadie-chittie-preview-0.8.0.tgz","types":"./dist/index.d.mts","exports":{".":{"types":"./dist/index.d.mts","import":"./dist/index.mjs","default":"./dist/index.mjs"}},"scripts":{"test":"tsx spikes/preview.spike.ts && tsx spikes/spacing.spike.ts","build":"tsdown","typecheck":"tsc --noEmit"},"_npmUser":{"name":"octalpixel","email":"mithushancj@gmail.com"},"_resolved":"/private/var/folders/j5/7dkmn95d0_9b5fdnfsmpjs580000gn/T/97ff6acad734595d167028a9ee5f0e21/angadie-chittie-preview-0.8.0.tgz","_integrity":"sha512-6GYX/4zgzjXtahR7CV1QH+4rAsBvNRsHTLA/jhKf7KMr7HHHo84e0orqM1WjIDQZRVJHITgxkgWgx77WBHf/vA==","_npmVersion":"10.9.7","description":"Render a receipt to an image by parsing the ESC/POS bytes chittie emits — a software preview of what the printer will print. Platform-neutral via an injected canvas (browser or @napi-rs/canvas).","directories":{},"_nodeVersion":"22.22.2","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"@angadie/chittie":"0.5.10","@canvas/image-data":"^1.1.0","@angadie/chittie-text":"0.9.0","@angadie/chittie-label":"0.6.4"},"_npmOperationalInternal":{"tmp":"tmp/chittie-preview_0.8.0_1789021654352_0.9226184157454604","host":"s3://npm-registry-packages-npm-production"}},"0.8.1":{"name":"@angadie/chittie-preview","version":"0.8.1","license":"MIT","_id":"@angadie/chittie-preview@0.8.1","maintainers":[{"name":"octalpixel","email":"mithushancj@gmail.com"}],"dist":{"shasum":"1eda30ec379f58830320f13378a497b9d6f06ec7","tarball":"https://registry.npmjs.org/@angadie/chittie-preview/-/chittie-preview-0.8.1.tgz","fileCount":5,"integrity":"sha512-2GmrghS0N/tjFI1I7i7ZBn8mKXaODw8sqk3mMMKZalZY1TFfCg1ILioUro+d9mj2OwFczR9jIn5ZQeyBMLEpFg==","signatures":[{"sig":"MEYCIQCG7c35Q8oCpd7m+GlQ1seNrmNwIZjuP7BFKSlw6vTvPQIhAKovLEmZ9X81G+4mNPZO/Ls8OUUhM9vGzWTIG+3bSeIq","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":17599},"type":"module","_from":"file:angadie-chittie-preview-0.8.1.tgz","types":"./dist/index.d.mts","exports":{".":{"types":"./dist/index.d.mts","import":"./dist/index.mjs","default":"./dist/index.mjs"}},"scripts":{"test":"tsx spikes/preview.spike.ts && tsx spikes/spacing.spike.ts","build":"tsdown","typecheck":"tsc --noEmit"},"_npmUser":{"name":"octalpixel","email":"mithushancj@gmail.com"},"_resolved":"/private/var/folders/j5/7dkmn95d0_9b5fdnfsmpjs580000gn/T/63e7334310c1fad7a6f769fc99c21126/angadie-chittie-preview-0.8.1.tgz","_integrity":"sha512-2GmrghS0N/tjFI1I7i7ZBn8mKXaODw8sqk3mMMKZalZY1TFfCg1ILioUro+d9mj2OwFczR9jIn5ZQeyBMLEpFg==","_npmVersion":"10.9.7","description":"Render a receipt to an image by parsing the ESC/POS bytes chittie emits — a software preview of what the printer will print. Platform-neutral via an injected canvas (browser or @napi-rs/canvas).","directories":{},"_nodeVersion":"22.22.2","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"@angadie/chittie":"0.5.11","@canvas/image-data":"^1.1.0","@angadie/chittie-text":"0.9.0","@angadie/chittie-label":"0.6.4"},"_npmOperationalInternal":{"tmp":"tmp/chittie-preview_0.8.1_1789023260145_0.6553209138718405","host":"s3://npm-registry-packages-npm-production"}},"0.9.0":{"name":"@angadie/chittie-preview","version":"0.9.0","description":"Render a receipt to an image by parsing the ESC/POS bytes chittie emits — a software preview of what the printer will print. Platform-neutral via an injected canvas (browser or @napi-rs/canvas).","license":"MIT","type":"module","types":"./dist/index.d.mts","exports":{".":{"types":"./dist/index.d.mts","import":"./dist/index.mjs","default":"./dist/index.mjs"}},"devDependencies":{"@canvas/image-data":"^1.1.0","@angadie/chittie-text":"0.9.0","@angadie/chittie":"0.5.11","@angadie/chittie-label":"0.6.4"},"publishConfig":{"access":"public"},"scripts":{"build":"tsdown","typecheck":"tsc --noEmit","test":"tsx spikes/preview.spike.ts && tsx spikes/spacing.spike.ts"},"_id":"@angadie/chittie-preview@0.9.0","_integrity":"sha512-3rfVIvb6fTDIfAqhgdQdZgRfEOzmjC8KxKQDIqyzZOnh0UtRNCqBwcYLH/L4LQPN7SBEx/kg8e1Se5Mft5Y3Lg==","_resolved":"/private/var/folders/j5/7dkmn95d0_9b5fdnfsmpjs580000gn/T/bd120903465bec7c834554ade51b4475/angadie-chittie-preview-0.9.0.tgz","_from":"file:angadie-chittie-preview-0.9.0.tgz","_nodeVersion":"22.22.2","_npmVersion":"10.9.7","dist":{"integrity":"sha512-3rfVIvb6fTDIfAqhgdQdZgRfEOzmjC8KxKQDIqyzZOnh0UtRNCqBwcYLH/L4LQPN7SBEx/kg8e1Se5Mft5Y3Lg==","shasum":"eb4c07aff4073ab38684b04dda86268090abbb5a","tarball":"https://registry.npmjs.org/@angadie/chittie-preview/-/chittie-preview-0.9.0.tgz","fileCount":5,"unpackedSize":18251,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQD6sLj7dto5jNo9BAEwBWsJ6L0zwSjZRWexa5FTH/1OzQIgW/hSUnU+x4bmWwrCLbiBH9QL27Oyrcf574j5OslGFRw="}]},"_npmUser":{"name":"octalpixel","email":"mithushancj@gmail.com"},"directories":{},"maintainers":[{"name":"octalpixel","email":"mithushancj@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/chittie-preview_0.9.0_1789023539360_0.17505824876876863"},"_hasShrinkwrap":false}},"time":{"created":"2026-06-23T04:42:09.657Z","modified":"2026-09-10T06:58:59.723Z","0.1.0":"2026-06-23T04:42:09.890Z","0.1.1":"2026-06-23T04:52:53.322Z","0.2.0":"2026-06-23T05:34:45.849Z","0.3.0":"2026-06-23T18:13:21.015Z","0.4.0":"2026-06-23T18:31:01.140Z","0.5.0":"2026-06-23T18:54:40.871Z","0.6.0":"2026-06-24T05:37:59.157Z","0.7.0":"2026-06-25T18:29:38.139Z","0.7.1":"2026-06-26T08:36:57.107Z","0.8.0":"2026-09-10T06:27:34.486Z","0.8.1":"2026-09-10T06:54:20.298Z","0.9.0":"2026-09-10T06:58:59.518Z"},"license":"MIT","description":"Render a receipt to an image by parsing the ESC/POS bytes chittie emits — a software preview of what the printer will print. Platform-neutral via an injected canvas (browser or @napi-rs/canvas).","maintainers":[{"name":"octalpixel","email":"mithushancj@gmail.com"}],"readme":"# @angadie/chittie-preview\n\nRender a receipt to an **image** by parsing the ESC/POS bytes chittie emits — a\nsoftware preview of *what the printer will actually print*. Platform-neutral: you\ninject a canvas factory, so it works in the browser (`HTMLCanvasElement`) and in\nNode (`@napi-rs/canvas`) with **no hard dependency** — the same pattern as\n[`@angadie/chittie-text`](../chittie-text)'s injected rasterizer.\n\nHandles chittie's real output: text + bold + double-size, rules, paper cut, and\n**both image modes** (column `ESC *` — the default — and raster `GS v 0`). Barcodes\nand QR codes are drawn as labelled placeholder boxes (their bytes are parsed and\nskipped cleanly, so nothing desyncs).\n\n## Install\n\n```bash\npnpm add @angadie/chittie-preview\n```\n\n## Browser\n\n```ts\nimport { renderReceipt } from '@angadie/chittie-preview';\n\nconst canvas = renderReceipt(bytes, {\n  createCanvas: (w, h) => Object.assign(document.createElement('canvas'), { width: w, height: h }),\n});\ndocument.body.appendChild(canvas); // or canvas.toDataURL()\n```\n\n## Node\n\n```ts\nimport { renderReceipt } from '@angadie/chittie-preview';\nimport { createCanvas } from '@napi-rs/canvas';\nimport { writeFileSync } from 'node:fs';\n\nconst canvas = renderReceipt(bytes, { createCanvas });\nwriteFileSync('receipt.png', canvas.toBuffer('image/png'));\n```\n\n`bytes` is the `Uint8Array` from chittie's `render()` or `encode()`.\n\n## Options\n\n| Option | Default | Meaning |\n|---|---|---|\n| `createCanvas(w, h)` | — | **required** canvas factory |\n| `columns` | `32` | characters per line (match your `<Printer width>`) |\n| `cellWidth` | `12` | px per character cell |\n| `lineHeight` | `26` | px per text line |\n| `fontFamily` | `'monospace'` | text font |\n| `padding` | `16` | outer padding px |\n\n## Prior art\n\n[`node-thermal-printer`](https://github.com/Klemen1337/node-thermal-printer) prints\nto thermal printers from Node (file/network/OS-printer), but it's Node-only\n(`fs`/`net`/`pngjs`) and has no preview. chittie-preview is platform-neutral (browser\n+ node via the injected canvas) and renders the byte stream itself.\n\n## License\n\nMIT.\n","readmeFilename":"README.md"}