Simple utf8 encoder/decoder which using TextEncoder/TextDecoder classes.
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);
The MIT License (MIT)