Files
common/packages/x-textdecoder/README.md
T
Jaco Greeff 0f05954dc5 Move @polkadot/x-{fetch,textdecoder,textencoder,ws} (#737)
* Move @polkadot/x-{fetch,textdecoder,textencoder,ws}

* Adjust copyrights

* Fix jest aliassing

* tsconfig resolution
2020-10-29 21:28:22 +01:00

13 lines
220 B
Markdown

# @polkadot/x-textdecoder
A cross-environment TextDecoder.
Install it via `yarn add @polkadot/x-textdecoder`
```js
import TextDecoder from '@polkadot/x-textdecoder';
...
const decoder = new TextDecoder('utf-8');
```