fast-text-encoding

Fast polyfill for TextEncoder and TextDecoder, only supports UTF-8

APACHE-2.0 License

Downloads
20M
Stars
100
Committers
6

Bot releases are visible (Hide)

fast-text-encoding - June 2020 Latest Release

Published by samthor over 4 years ago

  • Supports passing ArrayBuffer directly
  • Includes XHR fastpath for some browsers
fast-text-encoding - April 2020

Published by samthor over 4 years ago

  • don't wrap Uint8Array if already provided (tiny speed boost)
  • includes sourcemap
fast-text-encoding - March 2020

Published by samthor over 4 years ago

  • Supports very long strings in decoder
  • Supports null bytes in encoder
  • Ignore/drop encoding param for encoder, support other "UTF-8" string variants in decoder
  • Works on IE11 without polyfill
Package Rankings
Top 24.09% on Repo1.maven.org
Top 1.7% on Npmjs.org
Badges
Extracted from project README
Test
Related Projects