This package has been deprecated

Author message:

v2.0.0 is limited to UTF-8. Use 1.0.1 or text-encoding package instead.

emailjs-stringencoding

2.0.0 • Public • Published

emailjs-stringencoding

Build Status JavaScript Style Guide ES6+

This is a slimmed down version of Joshua Bell's String Encoding Polyfill which only supports UTF-8, mainly to reach a reduced build size and to work across all JS runtimes.

Usage

npm install --save emailjs-stringencoding
import { encode, decode } from 'emailjs-stringencoding'
const uint8array = encode(string);
const string = decode(uint8array);

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Published

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 1.0.1
    1,810
  • 1.0.0
    2

Package Sidebar

Install

npm i emailjs-stringencoding

Weekly Downloads

614

Version

2.0.0

License

none

Last publish

Collaborators

  • andris
  • felixhammerl
  • nifgraup