zloirock/core-js

`TextEncoder` and `TextDecoder`

Open

#926 ouverte le 12 avr. 2021

Voir sur GitHub
 (6 commentaires) (3 réactions) (0 assignés)JavaScript (1 609 forks)batch import
help wantedweb standards

Métriques du dépôt

Stars
 (23 771 stars)
Métriques de merge PR
 (Aucune PR mergée en 30 j)

Description

There is already good browser support for these, but Node.js does not have these at all, so testing code that uses them is an issue if you're using jest w/ babel or something like that.

Having a polyfill for these that just 'works out of the box' would be great. There's a very good polyfill at the page below.

https://developer.mozilla.org/en-US/docs/Web/API/TextEncoder

Guide contributeur