{"name":"@cto.af/textdecoder","version":"0.2.1","keywords":["TextDecoder","utf8","utf-8","polyfill"],"author":{"name":"Joe Hildebrand","email":"joe-github@cursive.net"},"license":"MIT","_id":"@cto.af/textdecoder@0.2.1","maintainers":[{"name":"hildjj","email":"joe-github@cursive.net"}],"homepage":"https://github.com/hildjj/ctoaf-textdecoder#readme","bugs":{"url":"https://github.com/hildjj/ctoaf-textdecoder/issues"},"dist":{"shasum":"91c98cc8e25e4847faa4a01373b72c338772496b","tarball":"http://registry-npm.ywwl.com/@cto.af/textdecoder/download/@cto.af/textdecoder-0.2.1.tgz","fileCount":5,"integrity":"sha512-66riEkMQ2MkWsf/GnupRz8y/aHy3y21UjSdHJ9/c4GyhEZ/OWAPeeHtgon2Gp4gDP8OVTSNVtpFLwufGI2agGA==","signatures":[{"sig":"MEQCIDfE3ulwp6Uq2R8gRlZAZCEtW7G6I07gvcMXOwHMLUMAAiBweTuHpvPqQvYdK1rZ52TeZ9TeIaefGLf2BdckZet1ZA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@cto.af%2ftextdecoder@0.2.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":8486,"size":3435,"noattachment":false,"key":"/@cto.af/textdecoder/-/@cto.af/textdecoder-0.2.1.tgz"},"main":"index.js","engines":{"node":">=5.10.0"},"gitHead":"6e713ac860e9a32c02cbdb2797736a1e29c5445c","_npmUser":{"name":"hildjj","actor":{"name":"hildjj","type":"user","email":"joe-github@cursive.net"},"email":"joe-github@cursive.net"},"repository":{"url":"git+https://github.com/hildjj/ctoaf-textdecoder.git","type":"git"},"_npmVersion":"10.9.2","description":"Quick wrapper that finds TextDecoder or polyfills a bad implementation","directories":{},"_nodeVersion":"22.16.0","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/textdecoder_0.2.1_1750518345394_0.7823360447326837","host":"s3://npm-registry-packages-npm-production"},"readme":"# Simple TextDecoder polyfill\n\nI needed this in two different projects, so I pulled it out.  All of the\nexisting TextDecoder polyfills try to do too much for what I needed.  The goal\nhere is to NOT require any Unicode tables, keeping this as small as possible.\n\nThis just finds the best TextDecoder instance it can, and mocks in an adequate\none for old or broken environments.\n\n## Use\n\n```js\nconst TextDecoder = require('@cto.af/textdecoder')\n```\n\n## API\n\nSee [MDN](https://developer.mozilla.org/en-US/docs/Web/API/TextDecoder)\n\n[![Tests](https://github.com/hildjj/ctoaf-textdecoder/actions/workflows/node.js.yml/badge.svg)](https://github.com/hildjj/ctoaf-textdecoder/actions/workflows/node.js.yml)\n[![codecov](https://codecov.io/gh/hildjj/ctoaf-textdecoder/graph/badge.svg?token=JRWVG7UFKQ)](https://codecov.io/gh/hildjj/ctoaf-textdecoder)\n","publish_time":1750518345581,"_cnpm_publish_time":1750518345581,"dist-tags":{"latest":"0.3.0"}}