fast-text-encoding icon indicating copy to clipboard operation
fast-text-encoding copied to clipboard

Fast polyfill for TextEncoder and TextDecoder, only supports UTF-8

Results 7 fast-text-encoding issues
Sort by recently updated
recently updated
newest added

Some packages that's depend on this package won't work on Node.js ``` RangeError: Failed to construct 'TextDecoder': The encoding label provided ('utf-16le') is invalid. at new k (.../node_modules/fast-text-encoding/text.min.js:1:134) at Object....

Add a ["ponyfill"](https://ponyfill.com/) version that doesn't mutate the global object. So we can use this library without mutating the global environment. ```js import { FastTextEncoder, FastTextDecoder } from 'fast-text-encoding/ponyfill' ```...

Hi, I am wondering why the `fatal` option is not supported. Will setting `fatal=true` will cause any issue when using your library as a polyfill? Many thanks

I added support for fatal mode. Also I extended test suite to cover fatal mode enabled/disabled. Remark: decodeSyncXHR was not touched so it does not support fatal mode. Closes #24

Hi, I'm creating an android app, with a qrcode reader + form that submit on azure service-bus I installed fast-text-encoding and i have this error: TypeError: Cannot read property 'prototype'...

Bumps [esbuild](https://github.com/evanw/esbuild) from 0.15.5 to 0.25.0. Release notes Sourced from esbuild's releases. v0.25.0 This release deliberately contains backwards-incompatible changes. To avoid automatically picking up releases like this, you should either...

dependencies