Skip to content

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

License

Notifications You must be signed in to change notification settings

markus-peltola/ebcdic-ascii

 
 

Repository files navigation

ebcdic-ascii

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

  • 0037: English
  • 0273: German
  • 0278: Finnish/Swedish

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

About

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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 99.7%
  • JavaScript 0.3%