# unseen-data

> Convert data to an unseen zero-width binary string

Latest version **1.0.4** (published 2018-06-20) · MIT license · 0 weekly downloads

## Install

```sh
npm install unseen-data
pnpm add unseen-data
yarn add unseen-data
bun add unseen-data
```

## Health

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

Positive: has types; no vulnerabilities.

Warnings: low downloads; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.4 |
| Published | 2018-06-20 |
| First published | 2018-06-20 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 4 |
| Unpacked size | 4.8 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 8 |
| Author | samdenty99 |
| Maintainers | samdd |

## Links

- npm: https://www.npmjs.com/package/unseen-data
- Repository: https://github.com/samdenty99/unseen-data
- npm.io page: https://npm.io/package/unseen-data

## Dependencies (4)

- [pako](https://npm.io/package/pako.md) ^1.0.6
- [base4](https://npm.io/package/base4.md) ^1.0.0
- [circular-json](https://npm.io/package/circular-json.md) ^0.5.4
- [@types/circular-json](https://npm.io/package/@types/circular-json.md) ^0.4.0

## Recent versions

- 1.0.4 (latest) — 2018-06-20
- 1.0.3 — 2018-06-20
- 1.0.2 — 2018-06-20
- 1.0.1 — 2018-06-20
- 1.0.0 — 2018-06-20

## README

# unseen-data

Convert data to an unseen zero-width binary string.

## Example

```ts
import Unseen from 'unseen-data'
const unseen = new Unseen({ compression: true })

const encoded = unseen.encode('Hello world!')
// encoded = '​﻿​​​‍​‍‌​‍​‌‍‌‌‌‍﻿​‌‍﻿​‌‍﻿﻿​‍​​‌﻿‌﻿‌‍﻿﻿‌﻿​‍‌‍﻿​‌‍‌​​‍​‌​‍​‍'

const decoded = unseen.decode(encoded)
// decoded = 'Hello world!'
```

## Options

Options can be passed as an object in the constructor.

### `compression?: boolean`

By default, data is compressed with [pako](https://www.npmjs.com/package/pako) to reduce the length of the resulting strings.

### `charset?: [string, string, string, string]`

By default, `unseen-data` uses a Base4 charset consisting of four different types of invisible characters.

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