Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

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

Notifications You must be signed in to change notification settings

Gozala/web-encoding

Folders and files

NameName
Last commit message
Last commit date

Latest commit

History

36 Commits

Repository files navigation

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

About

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

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Contributors 6

AltStyle によって変換されたページ (->オリジナル) /