Skip to content

Latest commit

 

History

History
41 lines (28 loc) · 821 Bytes

README.md

File metadata and controls

41 lines (28 loc) · 821 Bytes

rle-js

Features

  • Vanilla node - no dependencies.
  • Unix-style pipe support.

How to use it

Encoding:

$ node rle-encode.js < input.txt

Decoding:

$ node rle-decode.js < rle-encoded.txt

Requirements

  • Node v8.x

Running tests

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.

Licence

LGPL v2.1 only.

See COPYING.

Further reading:

Libraries

  • Uses jstinytest (MIT licence) for testing.