node package manager
Stop writing boring code. Discover, share, and reuse within your team. Create a free org »

uuencode

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