@exodus/text-encoding-utf8

utf-8 only polyfill for TextEncoder/TextDecoder, using Buffer

Usage no npm install needed!

<script type="module">
  import exodusTextEncodingUtf8 from 'https://cdn.skypack.dev/@exodus/text-encoding-utf8';
</script>

README

@exodus/text-encoding-utf8

utf-8 only polyfill for TextEncoder/TextDecoder, using Buffer

see the full polyfill: https://github.com/inexorabletash/text-encoding/

const { TextEncoder, TextDecoder } = require('@exodus/text-encoding-utf8')

// use as you would the browser built-ins