We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
utf8
The package is published 7 years ago but still has a million weekly downloads and 1k dependents. It doesn’t specify Node version.
Can be replaced by native TextEncoder.encode and TextDecoder.decode (both since Node 8.3) used with String.fromCharCode.apply().
The text was updated successfully, but these errors were encountered:
good catch
although I cant seem to find where the downloads are coming from, so it may be that a lot are in private repos
the largest npm consumer seems to be this (at only ~200k/week):
https://www.npmjs.com/package/react-native-fs
Sorry, something went wrong.
Oh, React Native is a special beast. Apparently it uses a JS engine called Hermes by default, and while Hermes has added TextEncoder just in this year, support for TextDecoder is not high priority. Looks like this package might stick to utf8 for a while.
No branches or pull requests
The package is published 7 years ago but still has a million weekly downloads and 1k dependents. It doesn’t specify Node version.
Can be replaced by native TextEncoder.encode and TextDecoder.decode (both since Node 8.3) used with String.fromCharCode.apply().
The text was updated successfully, but these errors were encountered: