JSPM

xdata-library

1.0.0
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 2
  • Score
    100M100P100Q16552F
  • License ISC

xdata library

Package Exports

  • xdata-library

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (xdata-library) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

xdata is a util to process data, like encoding, decoding, convert encoding methods.

Supported encodings

  1. Node.js Native encodings: utf8, ucs2 / utf16le, ascii, binary, base64, hex

  2. Unicode: UTF-16BE, UTF-16 (with BOM)

  3. Single-byte:

    • Windows codepages: 874, 1250-1258 (aliases: cpXXX, winXXX, windowsXXX)
    • ISO codepages: ISO-8859-1 - ISO-8859-16
    • IBM codepages: 437, 737, 775, 808, 850, 852, 855-858, 860-866, 869, 922, 1046, 1124, 1125, 1129, 1133, 1161-1163 (aliases cpXXX, ibmXXX)
    • Mac codepages: maccroatian, maccyrillic, macgreek, maciceland, macroman, macromania, macthai, macturkish, macukraine, maccenteuro, macintosh
    • KOI8 codepages: koi8-r, koi8-u, koi8-ru, koi8-t
    • Miscellaneous: armscii8, rk1048, tcvn, georgianacademy, georgianps, pt154, viscii, iso646cn, iso646jp, hproman8, tis620
  4. Multi-byte:

    • Japanese: Shift_JIS, Windows-31j, Windows932, EUC-JP
    • Chinese: GB2312, GBK, GB18030, Windows936, EUC-CN
    • Korean: KS_C_5601, Windows949, EUC-KR
    • Taiwan/Hong Kong: Big5, Big5-HKSCS, Windows950

Reference

Online Tools