{"_id":"@angadie/chittie-text","_rev":"11-16cfa2e9c7803ac2955863cac2d329d7","name":"@angadie/chittie-text","dist-tags":{"latest":"0.9.0"},"versions":{"0.1.0":{"name":"@angadie/chittie-text","version":"0.1.0","license":"MIT","_id":"@angadie/chittie-text@0.1.0","maintainers":[{"name":"octalpixel","email":"mithushancj@gmail.com"}],"dist":{"shasum":"7c3c631d61c2627287228e2161faeffc5fb154a4","tarball":"https://registry.npmjs.org/@angadie/chittie-text/-/chittie-text-0.1.0.tgz","fileCount":5,"integrity":"sha512-c77TGB6nNDA1QQY5f07rJCihWuwcqbtdEXaz0nwuHO7qugIOhbQ+EuxVn5d4s7+g9OiC1x4OYMoDupPm0lI91A==","signatures":[{"sig":"MEUCIQCyI6MAo5T3Z+YB619gk7am22ELBGAqLItJvcjdYN6yCgIgHs44SsdXhJIwGlAlFCfI3BoeVkFt/dh7Mkihklvb7TY=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":10671},"type":"module","_from":"file:angadie-chittie-text-0.1.0.tgz","types":"./dist/index.d.mts","exports":{".":{"types":"./dist/index.d.mts","import":"./dist/index.mjs"}},"scripts":{"test":"tsx spikes/text.spike.ts","build":"tsdown","typecheck":"tsc --noEmit"},"_npmUser":{"name":"octalpixel","email":"mithushancj@gmail.com"},"_resolved":"/private/var/folders/j5/7dkmn95d0_9b5fdnfsmpjs580000gn/T/a4406056b1a345f5a48095d641c1d6e0/angadie-chittie-text-0.1.0.tgz","_integrity":"sha512-c77TGB6nNDA1QQY5f07rJCihWuwcqbtdEXaz0nwuHO7qugIOhbQ+EuxVn5d4s7+g9OiC1x4OYMoDupPm0lI91A==","_npmVersion":"10.9.7","description":"Smart text for chittie: print code-page text when representable, auto-rasterize complex scripts (Sinhala/Tamil/…) via an injected rasterizer, never silently print '?'. Platform-neutral.","directories":{},"_nodeVersion":"22.22.2","dependencies":{"@angadie/chittie-codepage":"0.1.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"@canvas/image-data":"^1.1.0","@angadie/chittie-core":"0.1.0"},"_npmOperationalInternal":{"tmp":"tmp/chittie-text_0.1.0_1782189724367_0.7290182936195868","host":"s3://npm-registry-packages-npm-production"}},"0.1.1":{"name":"@angadie/chittie-text","version":"0.1.1","license":"MIT","_id":"@angadie/chittie-text@0.1.1","maintainers":[{"name":"octalpixel","email":"mithushancj@gmail.com"}],"dist":{"shasum":"e7ee53f1374d9421fcb42a09934ae1b6e9956508","tarball":"https://registry.npmjs.org/@angadie/chittie-text/-/chittie-text-0.1.1.tgz","fileCount":5,"integrity":"sha512-lsx+eZCsZKlsxIxiJzwt1K5lQ4nudvdMSWLg5a2DN1ICM3xCcClCyE7YbTi++ZzzprK7IgX4eMuKcsMxn12+1Q==","signatures":[{"sig":"MEUCIBrqeJjb+xC8oE/fLu9JA86dBaIyxO/Z4U99jAEwdOjlAiEAsqap1MM2V86wCyThtBEC1FKwbbyds56dJ8MGuoKk2s8=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":10671},"type":"module","_from":"file:angadie-chittie-text-0.1.1.tgz","types":"./dist/index.d.mts","exports":{".":{"types":"./dist/index.d.mts","import":"./dist/index.mjs"}},"scripts":{"test":"tsx spikes/text.spike.ts","build":"tsdown","typecheck":"tsc --noEmit"},"_npmUser":{"name":"octalpixel","email":"mithushancj@gmail.com"},"_resolved":"/private/var/folders/j5/7dkmn95d0_9b5fdnfsmpjs580000gn/T/7b2e98818c0c712d128f5c5cbe46d30b/angadie-chittie-text-0.1.1.tgz","_integrity":"sha512-lsx+eZCsZKlsxIxiJzwt1K5lQ4nudvdMSWLg5a2DN1ICM3xCcClCyE7YbTi++ZzzprK7IgX4eMuKcsMxn12+1Q==","_npmVersion":"10.9.7","description":"Smart text for chittie: print code-page text when representable, auto-rasterize complex scripts (Sinhala/Tamil/…) via an injected rasterizer, never silently print '?'. Platform-neutral.","directories":{},"_nodeVersion":"22.22.2","dependencies":{"@angadie/chittie-codepage":"0.1.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"@canvas/image-data":"^1.1.0","@angadie/chittie-core":"0.1.1"},"_npmOperationalInternal":{"tmp":"tmp/chittie-text_0.1.1_1782190368689_0.7568309366134582","host":"s3://npm-registry-packages-npm-production"}},"0.2.0":{"name":"@angadie/chittie-text","version":"0.2.0","license":"MIT","_id":"@angadie/chittie-text@0.2.0","maintainers":[{"name":"octalpixel","email":"mithushancj@gmail.com"}],"dist":{"shasum":"e0cbecf00dfec81f1aa74d9e1b928dfd83c6fb46","tarball":"https://registry.npmjs.org/@angadie/chittie-text/-/chittie-text-0.2.0.tgz","fileCount":5,"integrity":"sha512-xOhAqVxKLoaIKWvvCWHkmlY+j09Aw2rshJMwl2KPjaLQiwKI8EsW3J+21M0HTkSblD494tWBVsoYDOYxOcgniw==","signatures":[{"sig":"MEYCIQC9tTJF0wF/Wl97f1NSJbk94cTp6buN/nIv9Z3pQ6McqwIhAIRI5XO0N/hcR64jT56ggC2qy3IaWHP0cExyeDWRzaWC","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":11384},"type":"module","_from":"file:angadie-chittie-text-0.2.0.tgz","types":"./dist/index.d.mts","exports":{".":{"types":"./dist/index.d.mts","import":"./dist/index.mjs"}},"scripts":{"test":"tsx spikes/text.spike.ts","build":"tsdown","typecheck":"tsc --noEmit"},"_npmUser":{"name":"octalpixel","email":"mithushancj@gmail.com"},"_resolved":"/private/var/folders/j5/7dkmn95d0_9b5fdnfsmpjs580000gn/T/b4b1fbedc4a091f7c0855b4f6df60198/angadie-chittie-text-0.2.0.tgz","_integrity":"sha512-xOhAqVxKLoaIKWvvCWHkmlY+j09Aw2rshJMwl2KPjaLQiwKI8EsW3J+21M0HTkSblD494tWBVsoYDOYxOcgniw==","_npmVersion":"10.9.7","description":"Smart text for chittie: print code-page text when representable, auto-rasterize complex scripts (Sinhala/Tamil/…) via an injected rasterizer, never silently print '?'. Platform-neutral.","directories":{},"_nodeVersion":"22.22.2","dependencies":{"@angadie/chittie-codepage":"0.2.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"@canvas/image-data":"^1.1.0","@angadie/chittie-core":"0.2.0"},"_npmOperationalInternal":{"tmp":"tmp/chittie-text_0.2.0_1782192881407_0.06486892185532755","host":"s3://npm-registry-packages-npm-production"}},"0.3.0":{"name":"@angadie/chittie-text","version":"0.3.0","license":"MIT","_id":"@angadie/chittie-text@0.3.0","maintainers":[{"name":"octalpixel","email":"mithushancj@gmail.com"}],"dist":{"shasum":"cc2b674f7fb4f73ee2109f408bc4e3d20bd4dace","tarball":"https://registry.npmjs.org/@angadie/chittie-text/-/chittie-text-0.3.0.tgz","fileCount":5,"integrity":"sha512-EfSLNu7CHC9VIKMcNBr2AZrpMkr90QeWeVoUFexyZTde/M4lm+1g58H8570i/OjQgCR5cqocVHic1YN5UbiNWg==","signatures":[{"sig":"MEQCIHM8yjQBHU1VaZAdQUW5xblipfb2o4FnZJHJl8yGHRdqAiBV3aeKHDk5HMvMJp0s0hZ/3PkNua4Ml+o+CRS9+YouMA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":14021},"type":"module","_from":"file:angadie-chittie-text-0.3.0.tgz","types":"./dist/index.d.mts","exports":{".":{"types":"./dist/index.d.mts","import":"./dist/index.mjs"}},"scripts":{"test":"tsx spikes/text.spike.ts","build":"tsdown","typecheck":"tsc --noEmit"},"_npmUser":{"name":"octalpixel","email":"mithushancj@gmail.com"},"_resolved":"/private/var/folders/j5/7dkmn95d0_9b5fdnfsmpjs580000gn/T/ff4e705baa4e94eeed42f208a0bd71b9/angadie-chittie-text-0.3.0.tgz","_integrity":"sha512-EfSLNu7CHC9VIKMcNBr2AZrpMkr90QeWeVoUFexyZTde/M4lm+1g58H8570i/OjQgCR5cqocVHic1YN5UbiNWg==","_npmVersion":"10.9.7","description":"Smart text for chittie: print code-page text when representable, auto-rasterize complex scripts (Sinhala/Tamil/…) via an injected rasterizer, never silently print '?'. Platform-neutral.","directories":{},"_nodeVersion":"22.22.2","dependencies":{"@angadie/chittie-codepage":"0.3.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"@canvas/image-data":"^1.1.0","@angadie/chittie-core":"0.3.0"},"_npmOperationalInternal":{"tmp":"tmp/chittie-text_0.3.0_1782238396747_0.9496407625067695","host":"s3://npm-registry-packages-npm-production"}},"0.4.0":{"name":"@angadie/chittie-text","version":"0.4.0","license":"MIT","_id":"@angadie/chittie-text@0.4.0","maintainers":[{"name":"octalpixel","email":"mithushancj@gmail.com"}],"dist":{"shasum":"97efca2fdf08612aebcbd69c6e2603800205a5c8","tarball":"https://registry.npmjs.org/@angadie/chittie-text/-/chittie-text-0.4.0.tgz","fileCount":5,"integrity":"sha512-Tk3PD3sCRuxpx75J9Zo+pSsfkw+qbEvE8jySCjfgCixELoyaNOnKY+S0JAfltp/8QYmLxe4vPFDm1j+WTi8ndA==","signatures":[{"sig":"MEUCIAjyaQuRqF1i/ATz9W0N0ZixVPWSK9iNLNuaFUpIPZzDAiEAoEYuhTXOCVDVDi2GYlOYw4qxYRUDYGB6SnkcuWmMLnY=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":14021},"type":"module","_from":"file:angadie-chittie-text-0.4.0.tgz","types":"./dist/index.d.mts","exports":{".":{"types":"./dist/index.d.mts","import":"./dist/index.mjs"}},"scripts":{"test":"tsx spikes/text.spike.ts","build":"tsdown","typecheck":"tsc --noEmit"},"_npmUser":{"name":"octalpixel","email":"mithushancj@gmail.com"},"_resolved":"/private/var/folders/j5/7dkmn95d0_9b5fdnfsmpjs580000gn/T/b2a770e18be2d9bd32d2ca76850a768e/angadie-chittie-text-0.4.0.tgz","_integrity":"sha512-Tk3PD3sCRuxpx75J9Zo+pSsfkw+qbEvE8jySCjfgCixELoyaNOnKY+S0JAfltp/8QYmLxe4vPFDm1j+WTi8ndA==","_npmVersion":"10.9.7","description":"Smart text for chittie: print code-page text when representable, auto-rasterize complex scripts (Sinhala/Tamil/…) via an injected rasterizer, never silently print '?'. Platform-neutral.","directories":{},"_nodeVersion":"22.22.2","dependencies":{"@angadie/chittie-codepage":"0.4.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"@canvas/image-data":"^1.1.0","@angadie/chittie-core":"0.4.0"},"_npmOperationalInternal":{"tmp":"tmp/chittie-text_0.4.0_1782239454383_0.17939856858947745","host":"s3://npm-registry-packages-npm-production"}},"0.5.0":{"name":"@angadie/chittie-text","version":"0.5.0","license":"MIT","_id":"@angadie/chittie-text@0.5.0","maintainers":[{"name":"octalpixel","email":"mithushancj@gmail.com"}],"dist":{"shasum":"9693bf59b8245347dc90cd2dbbde45f1e4e862a1","tarball":"https://registry.npmjs.org/@angadie/chittie-text/-/chittie-text-0.5.0.tgz","fileCount":5,"integrity":"sha512-lHnKX9yJijRtLRGE2Oti4M0DS8rqnoaE4h6meGw6kqOaX1dGqWdRgIDInelGqiUzSoHagD3eUESrqaX5Vyjz9w==","signatures":[{"sig":"MEUCIQDRjIHvnhiyzYJSWOe9f+IsG64WnbD88nRdOusU6mTRYgIgVhtDgLB8+4khMxEKsdrj4yrFiqXVY1/6tHfPoE8Sa+E=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":14021},"type":"module","_from":"file:angadie-chittie-text-0.5.0.tgz","types":"./dist/index.d.mts","exports":{".":{"types":"./dist/index.d.mts","import":"./dist/index.mjs"}},"scripts":{"test":"tsx spikes/text.spike.ts","build":"tsdown","typecheck":"tsc --noEmit"},"_npmUser":{"name":"octalpixel","email":"mithushancj@gmail.com"},"_resolved":"/private/var/folders/j5/7dkmn95d0_9b5fdnfsmpjs580000gn/T/e2b17f6d61cf06151281e7e4491ea72f/angadie-chittie-text-0.5.0.tgz","_integrity":"sha512-lHnKX9yJijRtLRGE2Oti4M0DS8rqnoaE4h6meGw6kqOaX1dGqWdRgIDInelGqiUzSoHagD3eUESrqaX5Vyjz9w==","_npmVersion":"10.9.7","description":"Smart text for chittie: print code-page text when representable, auto-rasterize complex scripts (Sinhala/Tamil/…) via an injected rasterizer, never silently print '?'. Platform-neutral.","directories":{},"_nodeVersion":"22.22.2","dependencies":{"@angadie/chittie-codepage":"0.5.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"@canvas/image-data":"^1.1.0","@angadie/chittie-core":"0.5.0"},"_npmOperationalInternal":{"tmp":"tmp/chittie-text_0.5.0_1782240873214_0.9033338260306978","host":"s3://npm-registry-packages-npm-production"}},"0.6.0":{"name":"@angadie/chittie-text","version":"0.6.0","license":"MIT","_id":"@angadie/chittie-text@0.6.0","maintainers":[{"name":"octalpixel","email":"mithushancj@gmail.com"}],"dist":{"shasum":"356b98efc1f18f3d1a91287bf45ba9e917728bb0","tarball":"https://registry.npmjs.org/@angadie/chittie-text/-/chittie-text-0.6.0.tgz","fileCount":5,"integrity":"sha512-agWPJoks+0QQ0TSp/RU/GKbnSgoAGVigwiQAQkVSEP/ASahfmLByvm8zB22fnskQ3XltYns7SxrJLWVSxJUZtg==","signatures":[{"sig":"MEYCIQCJvdjyRVpzU7/Qbfrcd6wJ3A0Okh23GQGboVDeCMriTgIhANKTSLJwb6oyYyCTAjnYSO5FxH2UAa6IzTH02aYZW3at","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":14622},"type":"module","_from":"file:angadie-chittie-text-0.6.0.tgz","types":"./dist/index.d.mts","exports":{".":{"types":"./dist/index.d.mts","import":"./dist/index.mjs"}},"scripts":{"test":"tsx spikes/text.spike.ts","build":"tsdown","typecheck":"tsc --noEmit"},"_npmUser":{"name":"octalpixel","email":"mithushancj@gmail.com"},"_resolved":"/private/var/folders/j5/7dkmn95d0_9b5fdnfsmpjs580000gn/T/f8b1ac9a2b8593bd5465c32a34de11c8/angadie-chittie-text-0.6.0.tgz","_integrity":"sha512-agWPJoks+0QQ0TSp/RU/GKbnSgoAGVigwiQAQkVSEP/ASahfmLByvm8zB22fnskQ3XltYns7SxrJLWVSxJUZtg==","_npmVersion":"10.9.7","description":"Smart text for chittie: print code-page text when representable, auto-rasterize complex scripts (Sinhala/Tamil/…) via an injected rasterizer, never silently print '?'. Platform-neutral.","directories":{},"_nodeVersion":"22.22.2","dependencies":{"@angadie/chittie-codepage":"0.5.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"@canvas/image-data":"^1.1.0","@angadie/chittie-core":"0.5.0"},"_npmOperationalInternal":{"tmp":"tmp/chittie-text_0.6.0_1782302953110_0.4612541203801459","host":"s3://npm-registry-packages-npm-production"}},"0.7.0":{"name":"@angadie/chittie-text","version":"0.7.0","license":"MIT","_id":"@angadie/chittie-text@0.7.0","maintainers":[{"name":"octalpixel","email":"mithushancj@gmail.com"}],"dist":{"shasum":"122a5434a32ad498c74ec78097f220934510f445","tarball":"https://registry.npmjs.org/@angadie/chittie-text/-/chittie-text-0.7.0.tgz","fileCount":5,"integrity":"sha512-s0KzwaoQsgUEI0F0uXv8DuqHBzkf+So1GDfubJbEYLPgaqge7MbakuTv8Wps9EWF+t9WXtrg6S4/GsIl86XkpA==","signatures":[{"sig":"MEQCIDmsaVjDQ6IX69FQWJROFwxkTPPCNjEpyVcMyv5z3YhQAiAdNqkvI9zEt37/fUpPg3yJYDS9sSr1dFvRF89JLACZPg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":14645},"type":"module","_from":"file:angadie-chittie-text-0.7.0.tgz","types":"./dist/index.d.mts","exports":{".":{"types":"./dist/index.d.mts","import":"./dist/index.mjs"}},"scripts":{"test":"tsx spikes/text.spike.ts","build":"tsdown","typecheck":"tsc --noEmit"},"_npmUser":{"name":"octalpixel","email":"mithushancj@gmail.com"},"_resolved":"/private/var/folders/j5/7dkmn95d0_9b5fdnfsmpjs580000gn/T/17289490f9d3ace17d10465dc88b877e/angadie-chittie-text-0.7.0.tgz","_integrity":"sha512-s0KzwaoQsgUEI0F0uXv8DuqHBzkf+So1GDfubJbEYLPgaqge7MbakuTv8Wps9EWF+t9WXtrg6S4/GsIl86XkpA==","_npmVersion":"10.9.7","description":"Smart text for chittie: print code-page text when representable, auto-rasterize complex scripts (Sinhala/Tamil/…) via an injected rasterizer, never silently print '?'. Platform-neutral.","directories":{},"_nodeVersion":"22.22.2","dependencies":{"@angadie/chittie-codepage":"0.5.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"@canvas/image-data":"^1.1.0","@angadie/chittie-core":"0.5.0"},"_npmOperationalInternal":{"tmp":"tmp/chittie-text_0.7.0_1782323108928_0.27281248462396945","host":"s3://npm-registry-packages-npm-production"}},"0.8.0":{"name":"@angadie/chittie-text","version":"0.8.0","license":"MIT","_id":"@angadie/chittie-text@0.8.0","maintainers":[{"name":"octalpixel","email":"mithushancj@gmail.com"}],"dist":{"shasum":"abc588e3151ef1f9028914ac7a24a905c43f14d4","tarball":"https://registry.npmjs.org/@angadie/chittie-text/-/chittie-text-0.8.0.tgz","fileCount":5,"integrity":"sha512-O6k5SNRevKWKlQxQ2/IdLW4ubKjJ7b1K/MxbujZQd9OqlMx+Z6rets+Q30yJclpuOZ5ziVnKmzsyJzM82zrOTw==","signatures":[{"sig":"MEYCIQDL/abSi+dnFR29NnGo3eoivN4gxML5hykupzPyVN+4yQIhAKzVBNWwWpbW+ArWi0P2U7l9noCnipiUb3ry8GZtK7Eb","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":16185},"type":"module","_from":"file:angadie-chittie-text-0.8.0.tgz","types":"./dist/index.d.mts","exports":{".":{"types":"./dist/index.d.mts","import":"./dist/index.mjs"}},"scripts":{"test":"tsx spikes/text.spike.ts","build":"tsdown","typecheck":"tsc --noEmit"},"_npmUser":{"name":"octalpixel","email":"mithushancj@gmail.com"},"_resolved":"/private/var/folders/j5/7dkmn95d0_9b5fdnfsmpjs580000gn/T/20f7778ab6d143041b42b054cc3d734b/angadie-chittie-text-0.8.0.tgz","_integrity":"sha512-O6k5SNRevKWKlQxQ2/IdLW4ubKjJ7b1K/MxbujZQd9OqlMx+Z6rets+Q30yJclpuOZ5ziVnKmzsyJzM82zrOTw==","_npmVersion":"10.9.7","description":"Smart text for chittie: print code-page text when representable, auto-rasterize complex scripts (Sinhala/Tamil/…) via an injected rasterizer, never silently print '?'. Platform-neutral.","directories":{},"_nodeVersion":"22.22.2","dependencies":{"@angadie/chittie-codepage":"0.5.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"@canvas/image-data":"^1.1.0","@angadie/chittie-core":"0.5.0"},"_npmOperationalInternal":{"tmp":"tmp/chittie-text_0.8.0_1782372104556_0.5597890904897436","host":"s3://npm-registry-packages-npm-production"}},"0.8.1":{"name":"@angadie/chittie-text","version":"0.8.1","license":"MIT","_id":"@angadie/chittie-text@0.8.1","maintainers":[{"name":"octalpixel","email":"mithushancj@gmail.com"}],"dist":{"shasum":"4de8f1b697a89382dd96a1036e133d0fdce50df6","tarball":"https://registry.npmjs.org/@angadie/chittie-text/-/chittie-text-0.8.1.tgz","fileCount":5,"integrity":"sha512-J6hZ0mnN2cLbLdCsQy1+mLgxHAbFo28HR8FOvIFQbuqObveB941CJ+VsQn+1YSV3UHOmo/Iouc1gLSmfOvB12g==","signatures":[{"sig":"MEUCIDDHIww/I4+KKafDk8XFKM0/0FSjJgfPe6x8ShfgxFk0AiEAyZ4IpVijFPO3D5KAhYbCdcA0Z+bG7Qu9R20R5LJAAzs=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":16222},"type":"module","_from":"file:angadie-chittie-text-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/text.spike.ts","build":"tsdown","typecheck":"tsc --noEmit"},"_npmUser":{"name":"octalpixel","email":"mithushancj@gmail.com"},"_resolved":"/private/var/folders/j5/7dkmn95d0_9b5fdnfsmpjs580000gn/T/b69486257fec70b257a3ecb0615cd9da/angadie-chittie-text-0.8.1.tgz","_integrity":"sha512-J6hZ0mnN2cLbLdCsQy1+mLgxHAbFo28HR8FOvIFQbuqObveB941CJ+VsQn+1YSV3UHOmo/Iouc1gLSmfOvB12g==","_npmVersion":"10.9.7","description":"Smart text for chittie: print code-page text when representable, auto-rasterize complex scripts (Sinhala/Tamil/…) via an injected rasterizer, never silently print '?'. Platform-neutral.","directories":{},"_nodeVersion":"22.22.2","dependencies":{"@angadie/chittie-codepage":"0.5.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"@canvas/image-data":"^1.1.0","@angadie/chittie-core":"0.5.1"},"_npmOperationalInternal":{"tmp":"tmp/chittie-text_0.8.1_1782463009333_0.2827526179427533","host":"s3://npm-registry-packages-npm-production"}},"0.9.0":{"name":"@angadie/chittie-text","version":"0.9.0","description":"Smart text for chittie: print code-page text when representable, auto-rasterize complex scripts (Sinhala/Tamil/…) via an injected rasterizer, never silently print '?'. Platform-neutral.","license":"MIT","type":"module","types":"./dist/index.d.mts","exports":{".":{"types":"./dist/index.d.mts","import":"./dist/index.mjs","default":"./dist/index.mjs"}},"dependencies":{"@angadie/chittie-codepage":"0.5.1"},"devDependencies":{"@canvas/image-data":"^1.1.0","@angadie/chittie-core":"0.5.3"},"publishConfig":{"access":"public"},"scripts":{"build":"tsdown","typecheck":"tsc --noEmit","test":"tsx spikes/text.spike.ts"},"_id":"@angadie/chittie-text@0.9.0","_integrity":"sha512-F6HsmGCmPTf7FE3wLtB7KGA/GfFLIL4jHlibmsI6+e8iCqVBx3N4+bYKwhaunaRFBZiShqtImr2ksQRyDSkxHw==","_resolved":"/private/var/folders/j5/7dkmn95d0_9b5fdnfsmpjs580000gn/T/67f15d59d0ea1addf81abc1211b3d6e4/angadie-chittie-text-0.9.0.tgz","_from":"file:angadie-chittie-text-0.9.0.tgz","_nodeVersion":"22.22.2","_npmVersion":"10.9.7","dist":{"integrity":"sha512-F6HsmGCmPTf7FE3wLtB7KGA/GfFLIL4jHlibmsI6+e8iCqVBx3N4+bYKwhaunaRFBZiShqtImr2ksQRyDSkxHw==","shasum":"04e3f0deb16943829dd81cc3301fce418060165f","tarball":"https://registry.npmjs.org/@angadie/chittie-text/-/chittie-text-0.9.0.tgz","fileCount":5,"unpackedSize":19082,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIBUoGmTqA4j8d3ChIM5m3u4CwiN6Z8zl553wd7BCt+x7AiEAuXNBti50EkU/LUvk5FwCHqB5jxo3oP01mP7L0VNEni8="}]},"_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-text_0.9.0_1787125173228_0.07654752784727581"},"_hasShrinkwrap":false}},"time":{"created":"2026-06-23T04:42:04.171Z","modified":"2026-08-19T07:39:33.563Z","0.1.0":"2026-06-23T04:42:04.526Z","0.1.1":"2026-06-23T04:52:48.851Z","0.2.0":"2026-06-23T05:34:41.543Z","0.3.0":"2026-06-23T18:13:16.879Z","0.4.0":"2026-06-23T18:30:54.515Z","0.5.0":"2026-06-23T18:54:33.355Z","0.6.0":"2026-06-24T12:09:13.256Z","0.7.0":"2026-06-24T17:45:09.067Z","0.8.0":"2026-06-25T07:21:44.699Z","0.8.1":"2026-06-26T08:36:49.477Z","0.9.0":"2026-08-19T07:39:33.391Z"},"license":"MIT","description":"Smart text for chittie: print code-page text when representable, auto-rasterize complex scripts (Sinhala/Tamil/…) via an injected rasterizer, never silently print '?'. Platform-neutral.","maintainers":[{"name":"octalpixel","email":"mithushancj@gmail.com"}],"readme":"# @angadie/chittie-text\n\nSmart text for chittie: print **code-page text** when the characters are representable, **auto-rasterize** complex scripts (Sinhala, Tamil, Thai, Devanagari, Arabic, …) via an **injected rasterizer**, and **never silently print `?`**.\n\nPlatform-neutral and dependency-light — it never imports canvas or skia. You supply the rasterizer; this package decides *when* to use it.\n\n> Why: thermal printers have no font ROM or code page for Indic/complex scripts, and those scripts need shaping/reordering. The only correct path is to render the text to a bitmap on the host and send it as an image. chittie-text automates the decision and guards against the silent-`?` failure.\n\n## Install\n\n```bash\npnpm add @angadie/chittie-text\n```\n\n## API\n\n### `needsRaster(text, codepage = 'cp437'): boolean`\nTrue if any character can't be encoded in `codepage` (it would print as `?`).\n\n```ts\nimport { needsRaster } from '@angadie/chittie-text';\nneedsRaster('Rs. 250');   // false\nneedsRaster('ආයුබෝවන්');  // true\n```\n\n### `TextRasterizer`\nThe interface **you** implement with a platform rasterizer:\n\n```ts\ninterface TextRasterizer {\n  rasterize(text: string, options: RasterOptions): ImageData;\n}\n```\n\nA web implementation, for example, draws to a `<canvas>` and returns `ctx.getImageData(...)`. On React Native, use `react-native-skia` or a pre-rendered PNG decoded to `ImageData`.\n\n### `smartText(encoder, text, options): void`\nPrints `text` the right way onto a chittie-core encoder:\n\n```ts\nimport { smartText } from '@angadie/chittie-text';\n\nsmartText(encoder, 'මිල: Rs.250', {\n  rasterizer,            // optional TextRasterizer\n  codepage: 'cp437',     // optional\n  raster: { fontSize: 24, maxWidth: 576 }, // passed to your rasterizer\n});\n```\n\n- encodable → `encoder.text(text)`\n- not encodable + rasterizer → `encoder.image(...)`\n- not encodable + **no** rasterizer → **throws** (no silent `?`)\n\n## With chittie-react\n\n`render(tree, { rasterizer, codepage })` wires this into every `<Text>` automatically — see [`@angadie/chittie-react`](../chittie-react).\n\n## License\n\nMIT.\n","readmeFilename":"README.md"}