Socket
Socket
Sign inDemoInstall

web-encoding

Package Overview
Dependencies
24
Maintainers
2
Versions
15
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    web-encoding

TextEncoder and TextDecoder APIs from Encoding Standard APIs in a universal package


Version published
Weekly downloads
1.9M
increased by1.85%
Maintainers
2
Install size
9.93 MB
Created
Weekly downloads
 

Readme

Source

web-encoding

Node.js CI package downloads styled with prettier

This package provides TextEncoder and TextDecoder Encoding Standard APIs in a universal package. In the browsers it just exposes existing globals, in nodejs it exposes globals in newer node versions and ones from util module in older versions, and in the React Native environments it exposes these from the @zxing/text-encoding polyfill (installed as an optional dependency).

Package also works as ES module and CommonJS module.

Usage

import { TextEncoder, TextDecoder } from "web-encoding"

Install

npm install web-encoding

Keywords

FAQs

Last updated on 20 Apr 2021

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