# void-protection

> Protect your data

Latest version **1.0.0** (published 2022-09-04) · MIT license · 0 weekly downloads

## Install

```sh
npm install void-protection
pnpm add void-protection
yarn add void-protection
bun add void-protection
```

## Health

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

Positive: has types; no vulnerabilities; high quality score.

Warnings: low downloads; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.0 |
| Published | 2022-09-04 |
| First published | 2022-09-04 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 8.1 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Mrthomas20121 |
| Maintainers | mrthomas20121 |
| Keywords | protection, encryption, encrypt, void |

## Links

- npm: https://www.npmjs.com/package/void-protection
- Repository: https://github.com/JS-Void-Packages/void-protection
- Homepage: https://github.com/JS-Void-Packages/void-protection#readme
- Issues: https://github.com/JS-Void-Packages/void-protection/issues
- npm.io page: https://npm.io/package/void-protection

## Dependencies (1)

- [hashids](https://npm.io/package/hashids.md) ^2.2.10

## Alternatives

- [@sindresorhus/slugify](https://npm.io/package/@sindresorhus/slugify.md) — 3.7M weekly downloads
- [solid-js](https://npm.io/package/solid-js.md) — 2.7M weekly downloads
- [expo-glass-effect](https://npm.io/package/expo-glass-effect.md) — 2.5M weekly downloads
- [nanoassert](https://npm.io/package/nanoassert.md) — 780.8K weekly downloads
- [@ffmpeg/ffmpeg](https://npm.io/package/@ffmpeg/ffmpeg.md) — 529.5K weekly downloads

## Recent versions

- 1.0.0 (latest) — 2022-09-04

## README

# void-protection
Void Protection let you encrypt/decrypt a string/array of string or a file.
## Getting Started
```js
const Protection = require('void-protection')

// let prot = new Protection() works as well.
let prot = new Protection('salt', true)
console.log(prot.encodeFile('./test.txt')) // return the content and save the file if saveToDisk(boolean in the constructor) is set to true
console.log(prot.encodeString('morbius'))
console.log(prot.encodeStringArray(['morb', 'ius']))
```

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