{"_id":"text-decoder","_rev":"1241552","name":"text-decoder","description":"Streaming text decoder that preserves multibyte Unicode characters","dist-tags":{"latest":"1.2.7"},"maintainers":[{"name":"mafintosh","email":"mathiasbuus@gmail.com"},{"name":"kasperisager","email":"kasperisager@hey.com"}],"time":{"modified":"2026-08-21T17:46:24.000Z","created":"2023-08-15T12:13:05.144Z","1.2.7":"2026-02-16T10:20:59.609Z","1.2.6":"2026-02-13T21:28:07.979Z","1.2.5":"2026-02-13T15:53:04.435Z","1.2.4":"2026-02-13T08:59:32.407Z","1.2.3":"2024-12-14T07:20:45.554Z","1.2.2":"2024-12-06T11:23:52.323Z","1.2.1":"2024-10-18T09:40:45.701Z","1.2.0":"2024-09-12T11:33:46.010Z","1.1.1":"2024-07-08T08:22:46.734Z","1.1.0":"2024-04-25T08:27:53.611Z","1.0.1":"2023-08-15T12:17:56.521Z","1.0.0":"2023-08-15T12:13:05.144Z"},"users":{},"author":{"name":"Holepunch"},"repository":{"url":"git+https://github.com/holepunchto/text-decoder.git","type":"git"},"versions":{"1.2.7":{"name":"text-decoder","version":"1.2.7","author":{"name":"Holepunch"},"license":"Apache-2.0","_id":"text-decoder@1.2.7","maintainers":[{"name":"mafintosh","email":"mathiasbuus@gmail.com"},{"name":"kasperisager","email":"kasperisager@hey.com"}],"homepage":"https://github.com/holepunchto/text-decoder#readme","bugs":{"url":"https://github.com/holepunchto/text-decoder/issues"},"dist":{"shasum":"5d073a9a74b9c0a9d28dfadcab96b604af57d8ba","tarball":"http://registry-npm.ywwl.com/text-decoder/download/text-decoder-1.2.7.tgz","fileCount":6,"integrity":"sha512-vlLytXkeP4xvEq2otHeJfSQIRyWxo/oZGEbXrtEEF9Hnmrdly59sUbzZ/QgyWuLYHctCHxFF4tRQZNQ9k60ExQ==","signatures":[{"sig":"MEUCIQD8936h6nkw/0HgGGG1xLIxUhfpC75EBBI8QulbIbHcqgIgaW+qPIJm3cp1otxmH0GK9Qg4Ke22VT+vz1aaXe9av0E=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":19130,"size":6277,"noattachment":false,"key":"/text-decoder/-/text-decoder-1.2.7.tgz"},"exports":{".":"./index.js","./package":"./package.json"},"gitHead":"7d61ece8d9f89788b7a209125ada4b0209038a9f","scripts":{"lint":"prettier --check . && lunte","test":"npm run test:node && npm run test:bare","format":"prettier --write .","test:bare":"brittle-bare test.js","test:node":"brittle-node test.js"},"_npmUser":{"name":"kasperisager","email":"kasperisager@hey.com"},"repository":{"url":"git+https://github.com/holepunchto/text-decoder.git","type":"git"},"_npmVersion":"11.6.4","description":"Streaming text decoder that preserves multibyte Unicode characters","directories":{},"_nodeVersion":"24.10.0","dependencies":{"b4a":"^1.6.4"},"_hasShrinkwrap":false,"devDependencies":{"lunte":"^1.3.0","brittle":"^3.3.2","prettier":"^3.6.2","prettier-config-holepunch":"^1.0.0"},"_npmOperationalInternal":{"tmp":"tmp/text-decoder_1.2.7_1771237259473_0.946208210801762","host":"s3://npm-registry-packages-npm-production"},"publish_time":1771237259609,"_cnpm_publish_time":1771237259609},"1.2.6":{"name":"text-decoder","version":"1.2.6","author":{"name":"Holepunch"},"license":"Apache-2.0","_id":"text-decoder@1.2.6","maintainers":[{"name":"mafintosh","email":"mathiasbuus@gmail.com"},{"name":"kasperisager","email":"kasperisager@hey.com"}],"homepage":"https://github.com/holepunchto/text-decoder#readme","bugs":{"url":"https://github.com/holepunchto/text-decoder/issues"},"dist":{"shasum":"593f57c785b0d4ff381d50ea5372d7ec40f5a163","tarball":"http://registry-npm.ywwl.com/text-decoder/download/text-decoder-1.2.6.tgz","fileCount":7,"integrity":"sha512-27FeW5GQFDfw0FpwMQhMagB7BztOOlmjcSRi97t2oplhKVTZtp0DZbSegSaXS5IIC6mxMvBG4AR1Sgc6BX3CQg==","signatures":[{"sig":"MEQCIAjbGMGa44xESL+/xxBtPT0Tk13h4AyOYtle2HtiLOQlAiABZhTRo/ztImtCpFbI0yeVH4G5JDb2a6mbiqaQgbpIyA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":17911,"size":6111,"noattachment":false,"key":"/text-decoder/-/text-decoder-1.2.6.tgz"},"main":"index.js","browser":{"./lib/utf8-decoder.js":"./lib/browser-decoder.js","./lib/pass-through-decoder.js":"./lib/browser-decoder.js"},"gitHead":"14cc9056be10925aaeaaeb610faf5b8bd38acf52","scripts":{"lint":"prettier --check . && lunte","test":"npm run test:node && npm run test:bare","format":"prettier --write .","test:bare":"brittle-bare test.js","test:node":"brittle-node test.js"},"_npmUser":{"name":"kasperisager","email":"kasperisager@hey.com"},"repository":{"url":"git+https://github.com/holepunchto/text-decoder.git","type":"git"},"_npmVersion":"11.6.4","description":"Streaming text decoder that preserves multibyte Unicode characters","directories":{},"_nodeVersion":"24.10.0","dependencies":{"b4a":"^1.6.4"},"react-native":{"./lib/utf8-decoder.js":"./lib/utf8-decoder.js","./lib/pass-through-decoder.js":"./lib/pass-through-decoder.js"},"_hasShrinkwrap":false,"devDependencies":{"lunte":"^1.3.0","brittle":"^3.3.2","prettier":"^3.6.2","prettier-config-holepunch":"^1.0.0"},"_npmOperationalInternal":{"tmp":"tmp/text-decoder_1.2.6_1771018087829_0.3002012872709128","host":"s3://npm-registry-packages-npm-production"},"publish_time":1771018087979,"_cnpm_publish_time":1771018087979},"1.2.5":{"name":"text-decoder","version":"1.2.5","author":{"name":"Holepunch"},"license":"Apache-2.0","_id":"text-decoder@1.2.5","maintainers":[{"name":"mafintosh","email":"mathiasbuus@gmail.com"},{"name":"kasperisager","email":"kasperisager@hey.com"}],"homepage":"https://github.com/holepunchto/text-decoder#readme","bugs":{"url":"https://github.com/holepunchto/text-decoder/issues"},"dist":{"shasum":"128e589d1baa43ddcc59eda35b46fd000fa79c22","tarball":"http://registry-npm.ywwl.com/text-decoder/download/text-decoder-1.2.5.tgz","fileCount":7,"integrity":"sha512-ymKEOrjEhNE0+Gehpn2Dw59Vp2fNG0DQvCRAJpCjVqB1Pkj1AMBzDpow4H9kSa6XqO/wZrb5TLxEigx+nEaiBA==","signatures":[{"sig":"MEUCIQCsK7Dae23ejsqyJHRI1LO3tfB1nk2gCOUF8iHMYkZHHAIgX+N8U/cNOG2/Y0J6jXdSxH3iEaL7CybxE8mNim4res4=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":17884,"size":6097,"noattachment":false,"key":"/text-decoder/-/text-decoder-1.2.5.tgz"},"main":"index.js","browser":{"./lib/utf8-decoder.js":"./lib/browser-decoder.js","./lib/pass-through-decoder.js":"./lib/browser-decoder.js"},"gitHead":"37f4e61a0ea51632d0ff3448060263e48d1243aa","scripts":{"lint":"prettier --check . && lunte","test":"npm run test:node && npm run test:bare","format":"prettier --write .","test:bare":"brittle-bare test.js","test:node":"brittle-node test.js"},"_npmUser":{"name":"kasperisager","email":"kasperisager@hey.com"},"repository":{"url":"git+https://github.com/holepunchto/text-decoder.git","type":"git"},"_npmVersion":"11.6.4","description":"Streaming text decoder that preserves multibyte Unicode characters","directories":{},"_nodeVersion":"24.10.0","dependencies":{"b4a":"^1.6.4"},"react-native":{"./lib/utf8-decoder.js":"./lib/utf8-decoder.js","./lib/pass-through-decoder.js":"./lib/pass-through-decoder.js"},"_hasShrinkwrap":false,"devDependencies":{"lunte":"^1.3.0","brittle":"^3.3.2","prettier":"^3.6.2","prettier-config-holepunch":"^1.0.0"},"_npmOperationalInternal":{"tmp":"tmp/text-decoder_1.2.5_1770997984217_0.12529734589264652","host":"s3://npm-registry-packages-npm-production"},"publish_time":1770997984435,"_cnpm_publish_time":1770997984435},"1.2.4":{"name":"text-decoder","version":"1.2.4","author":{"name":"Holepunch"},"license":"Apache-2.0","_id":"text-decoder@1.2.4","maintainers":[{"name":"mafintosh","email":"mathiasbuus@gmail.com"},{"name":"kasperisager","email":"kasperisager@hey.com"}],"homepage":"https://github.com/holepunchto/text-decoder#readme","bugs":{"url":"https://github.com/holepunchto/text-decoder/issues"},"dist":{"shasum":"ba17505b2efa3b44982c18be5ab58b1f52de053d","tarball":"http://registry-npm.ywwl.com/text-decoder/download/text-decoder-1.2.4.tgz","fileCount":7,"integrity":"sha512-mzlffA3tBNhziEHPK5L5InZg1d/ElNIpJhnhbDRNUtem/edZcJ5zg5FgwKKKOyklxk+6Jt+TrSu83musmvrDlg==","signatures":[{"sig":"MEUCIGQ2hAg9CiOsDM4lPJzBfZ7kFqazdruCL0lAevjFCICqAiEAzUVkFyoN6glm+jvGuKv0p8IEOuA1jEyrMtB6Y5m1BfE=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":17854,"size":6098,"noattachment":false,"key":"/text-decoder/-/text-decoder-1.2.4.tgz"},"main":"index.js","browser":{"./lib/utf8-decoder.js":"./lib/browser-decoder.js","./lib/pass-through-decoder.js":"./lib/browser-decoder.js"},"gitHead":"e742731bd11d5a68b7dfbd00d695274208b40d1b","scripts":{"lint":"prettier --check . && lunte","test":"npm run test:node && npm run test:bare","format":"prettier --write .","test:bare":"brittle-bare test.js","test:node":"brittle-node test.js"},"_npmUser":{"name":"kasperisager","email":"kasperisager@hey.com"},"repository":{"url":"git+https://github.com/holepunchto/text-decoder.git","type":"git"},"_npmVersion":"11.6.4","description":"Streaming text decoder that preserves multibyte Unicode characters","directories":{},"_nodeVersion":"24.10.0","dependencies":{"b4a":"^1.6.4"},"react-native":{"./lib/utf8-decoder.js":"./lib/utf8-decoder.js","./lib/pass-through-decoder.js":"./lib/pass-through-decoder.js"},"_hasShrinkwrap":false,"devDependencies":{"lunte":"^1.3.0","brittle":"^3.3.2","prettier":"^3.6.2","prettier-config-holepunch":"^1.0.0"},"_npmOperationalInternal":{"tmp":"tmp/text-decoder_1.2.4_1770973172266_0.21879344825827274","host":"s3://npm-registry-packages-npm-production"},"publish_time":1770973172407,"_cnpm_publish_time":1770973172407},"1.2.3":{"name":"text-decoder","version":"1.2.3","description":"Streaming text decoder that preserves multibyte Unicode characters","main":"index.js","browser":{"./lib/pass-through-decoder.js":"./lib/browser-decoder.js","./lib/utf8-decoder.js":"./lib/browser-decoder.js"},"react-native":{"./lib/pass-through-decoder.js":"./lib/pass-through-decoder.js","./lib/utf8-decoder.js":"./lib/utf8-decoder.js"},"scripts":{"test":"standard && brittle test.js"},"repository":{"type":"git","url":"git+https://github.com/holepunchto/text-decoder.git"},"author":{"name":"Holepunch"},"license":"Apache-2.0","bugs":{"url":"https://github.com/holepunchto/text-decoder/issues"},"homepage":"https://github.com/holepunchto/text-decoder#readme","dependencies":{"b4a":"^1.6.4"},"devDependencies":{"brittle":"^3.3.2","standard":"^17.0.0"},"_id":"text-decoder@1.2.3","gitHead":"f8f535a663210b8bd7a0a43246fdd5d122dfd168","_nodeVersion":"23.3.0","_npmVersion":"10.9.0","dist":{"integrity":"sha512-3/o9z3X0X0fTupwsYvR03pJ/DjWuqqrfwBgTQzdWDiQSm9KitAyz/9WqsT2JQW7KV2m+bC2ol/zqpW37NHxLaA==","shasum":"b19da364d981b2326d5f43099c310cc80d770c65","tarball":"http://registry-npm.ywwl.com/text-decoder/download/text-decoder-1.2.3.tgz","fileCount":7,"unpackedSize":17581,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICtfEYqZ7OqXnI2saES2/j3+LwV05k42IkHmAopXqw9bAiEAroH41uSs6qjNg0A95522N6J1gdKMT5NaOI6l5C3xujc="}],"size":6004,"noattachment":false,"key":"/text-decoder/-/text-decoder-1.2.3.tgz"},"_npmUser":{"name":"kasperisager","email":"kasperisager@hey.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/text-decoder_1.2.3_1734160845377_0.49688375153232966"},"_hasShrinkwrap":false,"publish_time":1734160845554,"maintainers":[{"name":"mafintosh","email":"mathiasbuus@gmail.com"},{"name":"kasperisager","email":"kasperisager@hey.com"}],"_cnpm_publish_time":1734160845554},"1.2.2":{"name":"text-decoder","version":"1.2.2","author":{"name":"Holepunch"},"license":"Apache-2.0","_id":"text-decoder@1.2.2","homepage":"https://github.com/holepunchto/text-decoder#readme","bugs":{"url":"https://github.com/holepunchto/text-decoder/issues"},"dist":{"shasum":"63dd2401c43895cecb292e2407db184b50ad60ac","tarball":"http://registry-npm.ywwl.com/text-decoder/download/text-decoder-1.2.2.tgz","fileCount":7,"integrity":"sha512-/MDslo7ZyWTA2vnk1j7XoDVfXsGk3tp+zFEJHJGm0UjIlQifonVFwlVbQDFh8KJzTBnT8ie115TYqir6bclddA==","signatures":[{"sig":"MEQCIALi62AS7IPtlKjNBgPUuIGQlx1XfPzN6Cd17cL7PRxTAiABtuu0Jhla0wlTrJbEh2taDIlqjQG61ONULRiBdURoJw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":17433,"size":5984,"noattachment":false,"key":"/text-decoder/-/text-decoder-1.2.2.tgz"},"main":"index.js","browser":{"./lib/utf8-decoder.js":"./lib/browser-decoder.js","./lib/pass-through-decoder.js":"./lib/browser-decoder.js"},"gitHead":"edeed8439c04dd91dff314487049ab1aa1e1668f","scripts":{"test":"standard && brittle test.js"},"_npmUser":{"name":"kasperisager","email":"kasperisager@hey.com"},"repository":{"url":"git+https://github.com/holepunchto/text-decoder.git","type":"git"},"_npmVersion":"10.9.0","description":"Streaming text decoder that preserves multibyte Unicode characters","directories":{},"_nodeVersion":"23.2.0","dependencies":{"b4a":"^1.6.4"},"_hasShrinkwrap":false,"devDependencies":{"brittle":"^3.3.2","standard":"^17.0.0"},"_npmOperationalInternal":{"tmp":"tmp/text-decoder_1.2.2_1733484232140_0.4695188321160044","host":"s3://npm-registry-packages"},"publish_time":1733484232323,"maintainers":[{"name":"mafintosh","email":"mathiasbuus@gmail.com"},{"name":"kasperisager","email":"kasperisager@hey.com"}],"_cnpm_publish_time":1733484232323},"1.2.1":{"name":"text-decoder","version":"1.2.1","author":{"name":"Holepunch"},"license":"Apache-2.0","_id":"text-decoder@1.2.1","homepage":"https://github.com/holepunchto/text-decoder#readme","bugs":{"url":"https://github.com/holepunchto/text-decoder/issues"},"dist":{"shasum":"e173f5121d97bfa3ff8723429ad5ba92e1ead67e","tarball":"http://registry-npm.ywwl.com/text-decoder/download/text-decoder-1.2.1.tgz","fileCount":7,"integrity":"sha512-x9v3H/lTKIJKQQe7RPQkLfKAnc9lUTkWDypIQgTzPJAq+5/GCDHonmshfvlsNSj58yyshbIJJDLmU15qNERrXQ==","signatures":[{"sig":"MEUCIQDsRL3drUf/rJy8Z7fwer5YD6kfwuahD6Gx6Y0NbowOVwIgZHZxfDS9DqZcoIxK8RKrNS0C362MwA2mwJrmnKH/frs=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":17316,"size":5958,"noattachment":false,"key":"/text-decoder/-/text-decoder-1.2.1.tgz"},"main":"index.js","browser":{"./lib/utf8-decoder.js":"./lib/browser-decoder.js","./lib/pass-through-decoder.js":"./lib/browser-decoder.js"},"gitHead":"f0372643d12e059481b0ee70e4794beb6734456e","scripts":{"test":"standard && brittle test.js"},"_npmUser":{"name":"kasperisager","email":"kasperisager@hey.com"},"repository":{"url":"git+https://github.com/holepunchto/text-decoder.git","type":"git"},"_npmVersion":"10.8.3","description":"Streaming text decoder that preserves multibyte Unicode characters","directories":{},"_nodeVersion":"22.9.0","_hasShrinkwrap":false,"devDependencies":{"brittle":"^3.3.2","standard":"^17.0.0"},"_npmOperationalInternal":{"tmp":"tmp/text-decoder_1.2.1_1729244445505_0.052335614547837306","host":"s3://npm-registry-packages"},"publish_time":1729244445701,"maintainers":[{"name":"mafintosh","email":"mathiasbuus@gmail.com"},{"name":"kasperisager","email":"kasperisager@hey.com"}],"_cnpm_publish_time":1729244445701},"1.2.0":{"name":"text-decoder","version":"1.2.0","description":"Streaming text decoder that preserves multibyte Unicode characters","main":"index.js","browser":{"./lib/pass-through-decoder.js":"./lib/browser-decoder.js","./lib/utf8-decoder.js":"./lib/browser-decoder.js"},"scripts":{"test":"standard && brittle test.js"},"repository":{"type":"git","url":"git+https://github.com/holepunchto/text-decoder.git"},"author":{"name":"Holepunch"},"license":"Apache-2.0","bugs":{"url":"https://github.com/holepunchto/text-decoder/issues"},"homepage":"https://github.com/holepunchto/text-decoder#readme","dependencies":{"b4a":"^1.6.4"},"devDependencies":{"brittle":"^3.3.2","standard":"^17.0.0"},"_id":"text-decoder@1.2.0","gitHead":"593ea993665fc4e18422e85685fd232b1a38579f","_nodeVersion":"20.17.0","_npmVersion":"10.8.3","dist":{"integrity":"sha512-n1yg1mOj9DNpk3NeZOx7T6jchTbyJS3i3cucbNN6FcdPriMZx7NsgrGpWWdWZZGxD7ES1XB+3uoqHMgOKaN+fg==","shasum":"85f19d4d5088e0b45cd841bdfaeac458dbffeefc","tarball":"http://registry-npm.ywwl.com/text-decoder/download/text-decoder-1.2.0.tgz","fileCount":7,"unpackedSize":17433,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDMQxLFSe9lJ7eGQ3qR3vVXgcHEwjriaM4WSuXAtsgJmAiBrbdL2YiTdiDa391QY5nWj3NytS2SYF10LDFyytQYN7A=="}],"size":5960,"noattachment":false,"key":"/text-decoder/-/text-decoder-1.2.0.tgz"},"_npmUser":{"name":"kasperisager","email":"kasperisager@hey.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/text-decoder_1.2.0_1726140825855_0.24369847138853773"},"_hasShrinkwrap":false,"publish_time":1726140826010,"maintainers":[{"name":"mafintosh","email":"mathiasbuus@gmail.com"},{"name":"kasperisager","email":"kasperisager@hey.com"}],"_cnpm_publish_time":1726140826010},"1.1.1":{"name":"text-decoder","version":"1.1.1","description":"Streaming text decoder that preserves multibyte Unicode characters","main":"index.js","browser":{"./lib/pass-through-decoder.js":"./lib/browser-decoder.js","./lib/utf8-decoder.js":"./lib/browser-decoder.js"},"scripts":{"test":"standard && brittle test.js"},"repository":{"type":"git","url":"git+https://github.com/holepunchto/text-decoder.git"},"author":{"name":"Holepunch"},"license":"Apache-2.0","bugs":{"url":"https://github.com/holepunchto/text-decoder/issues"},"homepage":"https://github.com/holepunchto/text-decoder#readme","dependencies":{"b4a":"^1.6.4"},"devDependencies":{"brittle":"^3.3.2","standard":"^17.0.0"},"_id":"text-decoder@1.1.1","gitHead":"be62bc0d500be6a61daca53367f79906ab4986b3","_nodeVersion":"22.3.0","_npmVersion":"10.8.1","dist":{"integrity":"sha512-8zll7REEv4GDD3x4/0pW+ppIxSNs7H1J10IKFZsuOMscumCdM2a+toDGLPA3T+1+fLBql4zbt5z83GEQGGV5VA==","shasum":"5df9c224cebac4a7977720b9f083f9efa1aefde8","tarball":"http://registry-npm.ywwl.com/text-decoder/download/text-decoder-1.1.1.tgz","fileCount":7,"unpackedSize":17160,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDd3QvJ/NLmAFm8kQX9o6ZskL91SO0K1LYRTSg6G9577wIhAJppPxsV1kr8a+y3O+8+HjwXsHNP9GlELX2h5W+s8MW/"}],"size":5942,"noattachment":false,"key":"/text-decoder/-/text-decoder-1.1.1.tgz"},"_npmUser":{"name":"kasperisager","email":"kasperisager@hey.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/text-decoder_1.1.1_1720426966587_0.06507570662669804"},"_hasShrinkwrap":false,"publish_time":1720426966734,"maintainers":[{"name":"mafintosh","email":"mathiasbuus@gmail.com"},{"name":"kasperisager","email":"kasperisager@hey.com"}],"_cnpm_publish_time":1720426966734},"1.1.0":{"name":"text-decoder","version":"1.1.0","description":"Streaming text decoder that preserves multibyte Unicode characters","main":"index.js","scripts":{"test":"standard && brittle test.js"},"repository":{"type":"git","url":"git+https://github.com/holepunchto/text-decoder.git"},"author":{"name":"Holepunch"},"license":"Apache-2.0","bugs":{"url":"https://github.com/holepunchto/text-decoder/issues"},"homepage":"https://github.com/holepunchto/text-decoder#readme","dependencies":{"b4a":"^1.6.4"},"devDependencies":{"brittle":"^3.3.2","standard":"^17.0.0"},"_id":"text-decoder@1.1.0","gitHead":"97866f2af37a65b141ff4fa4da4cdc9a66f316f5","_nodeVersion":"21.7.3","_npmVersion":"10.5.0","dist":{"integrity":"sha512-TmLJNj6UgX8xcUZo4UDStGQtDiTzF7BzWlzn9g7UWrjkpHr5uJTK1ld16wZ3LXb2vb6jH8qU89dW5whuMdXYdw==","shasum":"3379e728fcf4d3893ec1aea35e8c2cac215ef190","tarball":"http://registry-npm.ywwl.com/text-decoder/download/text-decoder-1.1.0.tgz","fileCount":6,"unpackedSize":16717,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDKeXW/OUAM8xY9j08VJje3qZphz0FR1i8vdod2y5g68wIgHHWWPe4/8Gmhpbbb8tgV+tSq7udw+vLezkRWj/PN86E="}],"size":5808,"noattachment":false,"key":"/text-decoder/-/text-decoder-1.1.0.tgz"},"_npmUser":{"name":"kasperisager","email":"kasperisager@hey.com"},"directories":{},"maintainers":[{"name":"mafintosh","email":"mathiasbuus@gmail.com"},{"name":"kasperisager","email":"kasperisager@hey.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/text-decoder_1.1.0_1714033673443_0.30746857192834876"},"_hasShrinkwrap":false,"publish_time":1714033673611,"_cnpm_publish_time":1714033673611},"1.0.1":{"name":"text-decoder","version":"1.0.1","description":"Streaming text decoder that preserves multibyte Unicode characters","main":"index.js","scripts":{"test":"standard && brittle test.js"},"repository":{"type":"git","url":"git+https://github.com/holepunchto/text-decoder.git"},"author":{"name":"Holepunch"},"license":"Apache-2.0","bugs":{"url":"https://github.com/holepunchto/text-decoder/issues"},"homepage":"https://github.com/holepunchto/text-decoder#readme","devDependencies":{"brittle":"^3.3.2","standard":"^17.0.0"},"gitHead":"1370bfd82dc3ddc63f6f130d1c6ccc31b36b07f4","_id":"text-decoder@1.0.1","_nodeVersion":"20.4.0","_npmVersion":"9.7.2","dist":{"integrity":"sha512-eZZZaQDXNilFGh9u7Ge0ylxRI4iVVzV2n3AcB27S15CI0xvsFfN4KYqQnuOrqvF/mkk8GKb1zfd5Wd4QXCDHxA==","shasum":"02276282748d0e0137cba8c1c6afbded24c20b45","tarball":"http://registry-npm.ywwl.com/text-decoder/download/text-decoder-1.0.1.tgz","fileCount":6,"unpackedSize":16184,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAKZZFBBQus9R5jjVqHn5KK1lIr4I+V7MhV30DfXRNNjAiATLUv2i/P9FG5LmoYgP7BVmePA1DgUZELtcXb/EMkpJw=="}],"size":5656,"noattachment":false,"key":"/text-decoder/-/text-decoder-1.0.1.tgz"},"_npmUser":{"name":"kasperisager","email":"kasperisager@hey.com"},"directories":{},"maintainers":[{"name":"kasperisager","email":"kasperisager@hey.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/text-decoder_1.0.1_1692101876316_0.6355354566150824"},"_hasShrinkwrap":false,"publish_time":1692101876521,"_cnpm_publish_time":1692101876521},"1.0.0":{"name":"text-decoder","version":"1.0.0","description":"Streaming text decoder that preserves multibyte Unicode characters","main":"index.js","scripts":{"test":"standard && brittle test.js"},"repository":{"type":"git","url":"git+https://github.com/holepunchto/text-decoder.git"},"author":{"name":"Holepunch"},"license":"Apache-2.0","bugs":{"url":"https://github.com/holepunchto/text-decoder/issues"},"homepage":"https://github.com/holepunchto/text-decoder#readme","devDependencies":{"brittle":"^3.3.2","standard":"^17.0.0"},"gitHead":"aef37e21501dbd4332918e035f4d943d160b20a7","_id":"text-decoder@1.0.0","_nodeVersion":"20.4.0","_npmVersion":"9.7.2","dist":{"integrity":"sha512-Z4OrKlxHLei5mxwYCzYUI4nc3Laxh6L5DlyByHcbriIp3xWPsYPXWdoJh0oPtrOhNHbia4RltTllAeOE2IGYvQ==","shasum":"c4e79ba83ec64900fb38544615625518a0807c12","tarball":"http://registry-npm.ywwl.com/text-decoder/download/text-decoder-1.0.0.tgz","fileCount":6,"unpackedSize":16039,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDyRYka//4WyqymHTFoMUQfW5fdGmbzUOn/GNSndBisqwIgKD+YiLhE+h1iQxEAF0hngmzlLhjE4KgL3Gj3f4ZW1cQ="}],"size":5635,"noattachment":false,"key":"/text-decoder/-/text-decoder-1.0.0.tgz"},"_npmUser":{"name":"kasperisager","email":"kasperisager@hey.com"},"directories":{},"maintainers":[{"name":"kasperisager","email":"kasperisager@hey.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/text-decoder_1.0.0_1692101584989_0.7204568813955017"},"_hasShrinkwrap":false,"publish_time":1692101585144,"_cnpm_publish_time":1692101585144}},"readme":"# text-decoder\n\nStreaming text decoder that preserves multibyte Unicode characters.\n\n```\nnpm i text-decoder\n```\n\n## Usage\n\n```js\nconst TextDecoder = require('text-decoder')\n\nconst td = new TextDecoder()\n\ntd.push(Buffer.of(0xf0, 0x9f, 0x92)) // returns ''\ntd.push(Buffer.of(0xa9)) // returns '💩'\n```\n\n## API\n\n#### `const td = new TextDecoder([encoding])`\n\nCreate a text decoder. `encoding` defaults to `utf8`.\n\n#### `const string = td.push(data)`\n\nPush either a `Buffer` or a `string` to the text decoder. Returns the decoded string, buffering any partial data.\n\n#### `const string = td.end([data])`\n\nEnd the decoder, optionally pushing a final piece of data. Returns the decoded string.\n\n## License\n\nApache-2.0\n","_attachments":{},"homepage":"https://github.com/holepunchto/text-decoder#readme","bugs":{"url":"https://github.com/holepunchto/text-decoder/issues"},"license":"Apache-2.0"}