Skip to content

ullenius/rle-js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.