Socket
Socket
Sign inDemoInstall

@polkadot/x-textencoder

Package Overview
Dependencies
2
Maintainers
2
Versions
727
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @polkadot/x-textencoder

A TextDecoder replacement


Version published
Weekly downloads
116K
decreased by-0.91%
Maintainers
2
Created
Weekly downloads
 

Changelog

Source

12.4.2 Aug 23, 2023

Changes:

  • Fix u8aTo{BigInt, Bn, Number} for non-negative i{8, 16, 32...} inputs
  • Extend u8aToBuffer with hasBuffer check
  • Adjust util tests (extract input/output arrays)

Readme

Source

@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();

FAQs

Last updated on 23 Aug 2023

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc