Skip to content

teeterc/js-uuencode

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

js-uuencode

UUEncode Library for Javascript

Usage: Command line ./bin/uuencode input output ./bin/uudecode input ouput

Streams

var uuencode = require ('uuencode');
var fs = require ('fs');

var inFile = './data/test.raw';

function test(){
    data = "";
    var infs = fs.createReadStream(inFile)
	.on('open', function (){
	    infs
		.pipe(new uuencode({encoder: true}))
		.on('data', function (d){
		})
		.pipe(new uuencode({decoder: true}))
		.on('data', function (d){
		    data += d;
		})
		.on('end', function () {
		    console.log(data);
		});
	})
    };

test();

About

UUEncode Library for Javascript

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published