# z85

> ZeroMQ Base-85 Encoding

Latest version **0.0.2** (published 2014-03-19) · MIT license · 0 weekly downloads

## Install

```sh
npm install z85
pnpm add z85
yarn add z85
bun add z85
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.2 |
| Published | 2014-03-19 |
| First published | 2014-02-08 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 13 |
| Author | Michael Sealand |
| Maintainers | msealand |
| Keywords | z85, zmq, zeromq, zap, curve |

## Links

- npm: https://www.npmjs.com/package/z85
- Repository: https://github.com/msealand/z85.node
- Issues: https://github.com/msealand/z85.node/issues
- npm.io page: https://npm.io/package/z85

## Recent versions

- 0.0.2 (latest) — 2014-03-19
- 0.0.1 — 2014-02-08

## README

[![Build Status](https://travis-ci.org/msealand/z85.node.png)](https://travis-ci.org/msealand/z85.node)
[![Coverage Status](https://coveralls.io/repos/msealand/z85.node/badge.png)](https://coveralls.io/r/msealand/z85.node)

#z85

[ZeroMQ Base-85 Encoding](http://rfc.zeromq.org/spec:32) for node.js

## Intallation

	$ npm install z85
	
## Example

The [test case](http://rfc.zeromq.org/spec:32#toc3) in the rfc:

```js
var z85 = require('z85');

var bytes = new Buffer([0x86, 0x4F, 0xD2, 0x6F, 0xB5, 0x59, 0xF7, 0x5B]);
	result = z85.encode(bytes);
	
console.log('Encoded:', result); // HelloWorld

var string = 'HelloWorld',
	result = z85.decode(string);
	
console.log('Decoded:', result.toString('hex')); // 864fd26fb559f75b
```
	
## Running tests

Install dev dependencies:

	$ npm install

Test:

	$ npm test

With code coverage info (using istanbul):

	$ npm install -g istanbul
	$ make test-cov
	
_A full code coverage report can be found in coverage/lcov-report/index.html after the tests complete_

---
_Source: https://npm.io/package/z85 · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
