{"name":"@cto.af/textdecoder","version":"0.1.0","description":"Quick wrapper that finds TextDecoder or polyfills a bad implementation","main":"index.js","scripts":{"test":"node test.js","test:all":"nve 4,6,8,10,12,14,16,17 node test.js","lint":"eslint . --ext js"},"repository":{"type":"git","url":"git+https://github.com/hildjj/ctoaf-textdecoder.git"},"keywords":["TextDecoder","utf8","utf-8","polyfill"],"author":{"name":"Joe Hildebrand","email":"joe-github@cursive.net"},"license":"MIT","devDependencies":{"@cto.af/eslint-config":"^0.0.12","eslint":"^8.2.0","eslint-plugin-ava":"^13.1.0","eslint-plugin-jsdoc":"^37.0.3","eslint-plugin-node":"^11.1.0"},"engines":{"node":">=4.9.1"},"gitHead":"7802843df4b9945acade3b39f9b04d8b87dae531","bugs":{"url":"https://github.com/hildjj/ctoaf-textdecoder/issues"},"homepage":"https://github.com/hildjj/ctoaf-textdecoder#readme","_id":"@cto.af/textdecoder@0.1.0","_nodeVersion":"17.0.1","_npmVersion":"8.1.3","dist":{"integrity":"sha512-UwxZnNZf+EbMOktwirYnjZgGT7kDmXIJiZqW8pgIQI2s6MFoDi0TZdg61tLXfL8pRyfT67usVe4b+9e7On5M7w==","shasum":"46ada63b615a4c918fd8946040d9dec43bd26d09","tarball":"http://registry-npm.ywwl.com/@cto.af/textdecoder/download/@cto.af/textdecoder-0.1.0.tgz","fileCount":4,"unpackedSize":5859,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhzedtCRA9TVsSAnZWagAAc+EQAJ/kwny3NhU/u+0OvZM9\nC9c9eOJBzhp+6uKO6mGE/v5kq5onYy2uGSyKTEseUtC+e6sidWTXCqiigNy9\n6F+475L5Qfi5tdrBLU2q46HDKOjUpw6WL5S+F79M8KTH2YeuAn4KlqoPL3ph\n3a+fN66gBBvPLvgaqbwz83ARw+orfDII/5Ia0bcu/6B2lO8vpUFzhBuxJAm3\ndumrG/pLuEUr+TDN3RoSU/IY/hzzvwruhW2HO04KoVhf/xoOW1Efn/FqQcld\n1ZoQ7JLqtikvEdLRerYfdOI9dnngkXyvrT0P88cR2TnmdsjCDp38jt1YXwZW\nb1s+Uw7ISOZZCzhgRNgCflYV+WdEmgc2m7Uw6G2kaVotkCKej37gcKhN3mj/\nYMd91ldwB4PH0WugMH7413z6Ghcx9Ub5ZHBLKVgp3ljFTsdGr56uC4RmLs/2\nsgtZiY1CQxGiDlBxS0paa60mMk57Dj5f2VtICTWTMhd3sHthWKXXCf/wZYG1\nqbVVhjhnTzctc8UIBAU7H6EFGnWcwJdVBF2pgZOGm2C9mtpn7zyh3u1N96s7\nutEvqKzZ7IjZDAoFi9+gnsW+y4HQ00wMfeCTiudnTegoXhiLpv+jEXRBKLBs\niEIy6/lI9A2sF4FV/Ao2kuD5WJuVMaVGu/OhHw3G18rIHUUIWmSvzZXXrAOc\nNYZt\r\n=veki\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDmPDHZqVaiQsHT8Uf9S/zu3yzn/uEEB/ofAou7EvKhkwIgNSBJDOgOFPb4PbV0+LlyyALQhvJVOetkFbF90JVL+IU="}],"size":2903,"noattachment":false,"key":"/@cto.af/textdecoder/-/@cto.af/textdecoder-0.1.0.tgz"},"_npmUser":{"name":"hildjj","email":"joe-github@cursive.net"},"directories":{},"maintainers":[{"name":"hildjj","email":"joe-github@cursive.net"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/textdecoder_0.1.0_1636841248013_0.44718513447712116"},"_hasShrinkwrap":false,"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 a dirty one\nfor 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","publish_time":1636841248228,"_cnpm_publish_time":1636841248228,"dist-tags":{"latest":"0.3.0"}}