* 3.7 * Update new rules * RegExp * formatBalance cleanups * Revert * Formatting * fill * format test fix * cleanups * Cleanups * Expand bip39 tests * Cleanups * Cleanups
@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();