Socket
Socket
Sign inDemoInstall

@polkadot/x-textencoder

Package Overview
Dependencies
3
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
96K
decreased by-20.12%
Maintainers
2
Created
Weekly downloads
 

Changelog

Source

10.4.1 Feb 12, 2023

Contributed:

  • Locale support for number formatting (Thanks to https://github.com/alko89)
  • Ledger support for Picasso (Thanks to https://github.com/carlosala)

Changes:

  • Add isClass helper (checks if input is actual Class Constructor)
  • Adjust isChildClass to rely on new isClass
  • Upgrade dependencies to latest stable versions

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 12 Feb 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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc