Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

uuencode

zacbarton966.4k0.0.4TypeScript support: definitely-typed

Node.js implementation of the Unix program uuencode.

uuencode, uudecode, encode, decode

readme

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