Node.js implementation of the Unix program uuencode.
JavaScript Makefile
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
test
.gitignore
Makefile
README.md
index.js
package.json

README.md

uuencode

Node.js implementation of the Unix program uuencode.

More information on the uuencode encoding can be found here.

Installation

npm install -g uuencode

Examples

The following examples show you how to use uuencode.

var uuencode = require('uuencode');

// encode something
var encoded = uuencode.encode('Unix-to-Unix encoding');
// '556YI>"UT;RU5;FEX(&5N8V]D:6YG\n'

// decode something
var decoded = uuencode.decode('556YI>"UT;RU5;FEX(&5N8V]D:6YG\n');
// 'Unix-to-Unix encoding'

Running Tests

$ npm test

Note the uuencode utility must be installed for all tests to pass.