@hakatashi/uuencode

Node.js implementation of the Unix program uuencode.

Usage no npm install needed!

<script type="module">
  import hakatashiUuencode from 'https://cdn.skypack.dev/@hakatashi/uuencode';
</script>

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