utf8-fl

utf8-fl ====

Usage no npm install needed!

<script type="module">
  import utf8Fl from 'https://cdn.skypack.dev/utf8-fl';
</script>

README

utf8-fl

Simple utf8 encoder/decoder which using TextEncoder/TextDecoder classes.

Example

import {Utf8} from "utf8-fl";

let text = "Some text";

let array = Utf8.encode(text);
let res = Utf8.decode(array);

console.log(text == res, text, array, res);

License

The MIT License (MIT)