ebcdic-ascii
    TypeScript icon, indicating that this package has built-in type declarations

    1.0.2 • Public • Published

    ebcdic-ascii

    Node.js module for converting between EBCDIC and ASCII (ISO-8859-1). Supported EBCDIC codesets:

    • 0037: English
    • 0273: German

    EBCDIC codesets were taken from longpelaexpertise.com.

    Usage

    import EBCDIC from "ebcdic-ascii"
     
    const converter = new EBCDIC("0037")
     
    converter.toASCII("E385A2A340D485A2A2818785")
    // returns "Test Message"
     
    converter.toEBCDIC("54657374204D657373616765")
    // returns "E385A2A340D485A2A2818785"

    Check out index.d.ts for documentation

    Install

    npm i ebcdic-ascii

    DownloadsWeekly Downloads

    347

    Version

    1.0.2

    License

    MIT

    Unpacked Size

    98.3 kB

    Total Files

    20

    Last publish

    Collaborators

    • voakie