punchcard

tools for writing to and from old ibm style punch cards

npm install punchcard
1 downloads in the last month

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!

npm loves you