zscii

ZSCII-encoded string handling

zscii

ZSCII-encoded string utilities.

Say it with me: "xyzzy".

See the spec.

$ npm install zscii

Something like:

var zscii = require('zscii');
var coder = new zscii.coder(zscii.alphabetForVersion(3), abbrevs);
coder.decode([0x10af, 0x3ead]) //=> "mailbox" 
zstr = coder.encode("mailbox") //=> zstring([0x10af, 0x3ead]) 
zstr.zchars() //=> [24, 6, ...] 

MIT