@polkadot/x-textencoder
v13.2.2
Published
A TextDecoder replacement
Downloads
566,721
Readme
@polkadot/x-textencoder
A cross-environment TextEncoder.
Install it via yarn add @polkadot/x-textencoder
import { TextEncoder } from '@polkadot/x-textencoder';
...
const encoder = new TextEncoder();