JSPM

  • Created
  • Published
  • Downloads 5
  • Score
    100M100P100Q53758F

tools for writing to and from old ibm style punch cards

Package Exports

  • punchcard

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 (punchcard) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

Punchcard!

an ebcdic encoder/decoder, an ibm-style punchcard hole number encoder, and a formatter to print lulzy ascii cards. Well, kinda lulzy.

See?

% node hiworld.js 
hello world! on a punchcard: 
.____________
|987654321ABC\
| ▘       ▘ ▘ |
|    ▘    ▘ ▘ |
|      ▘   ▘  |
|      ▘   ▘  |
|   ▘      ▘  |
|             |
|   ▘     ▘▘  |
|   ▘      ▘  |
|▘         ▘  |
|      ▘   ▘  |
|     ▘   ▘ ▘ |
| ▘     ▘  ▘  |
l_____________j

So does it actually work yet?

I don't know yet! I'll need to write a decoder first!