- Run-length encoding and decoding in JS.
- Vanilla node - no dependencies.
- Unix-style pipe support.
Encoding:
$ node rle-encode.js < input.txt
Decoding:
$ node rle-decode.js < rle-encoded.txt
- Node v8.x
Run run-tests.sh
bash script to invoke the unit tests.
They are written using my fork of jstinytest
which is bundled
inside tests/tinytest.js
.
LGPL v2.1 only.
See COPYING.
- Uses
jstinytest
(MIT licence) for testing.