# nodejs-base64

> The ultimate shortcut to the base64 encode/decode functions.

Latest version **2.0.0** (published 2021-04-18) · Unlicense license · 0 weekly downloads

## Install

```sh
npm install nodejs-base64
pnpm add nodejs-base64
yarn add nodejs-base64
bun add nodejs-base64
```

## Health

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

Positive: no vulnerabilities.

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

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 2.0.0 |
| Published | 2021-04-18 |
| First published | 2018-02-26 |
| Weekly downloads | 0 |
| License | Unlicense |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 5.7 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 4 |
| Author | Anton Ivanov |
| Maintainers | anton-ivanov |
| Keywords | base64, encoding, decoding, base64-encode, base64-decode, base-64-encode, base-64-decode |

## Links

- npm: https://www.npmjs.com/package/nodejs-base64
- Repository: https://github.com/catcher-in-the-try/nodejs-base64
- Homepage: https://github.com/catcher-in-the-try/nodejs-base64#readme
- Issues: https://github.com/catcher-in-the-try/nodejs-base64/issues
- npm.io page: https://npm.io/package/nodejs-base64

## Alternatives

- [flatbuffers](https://npm.io/package/flatbuffers.md) — 6.0M weekly downloads
- [jwt-simple](https://npm.io/package/jwt-simple.md) — 259.5K weekly downloads
- [@exodus/patch-broken-hermes-typed-arrays](https://npm.io/package/@exodus/patch-broken-hermes-typed-arrays.md) — 28.5K weekly downloads
- [@native-to-anchor/buffer-layout](https://npm.io/package/@native-to-anchor/buffer-layout.md) — 12.2K weekly downloads
- [binary-parser-encoder](https://npm.io/package/binary-parser-encoder.md) — 5.3K weekly downloads

## Recent versions

- 2.0.0 (latest) — 2021-04-18
- 1.0.3 — 2018-07-12
- 1.0.2 — 2018-02-27
- 1.0.1 — 2018-02-26
- 1.0.0 — 2018-02-26

## README

# Base64 for Node.js - Encode and decode using base64 in Node.js #

The ultimate shortcut for the base64 encode/decode functions in Node.js.

TypeScript types available.

## Usage ##

```js
const { base64encode, base64decode } = require('nodejs-base64');

let encoded = base64encode('hey there'); // "aGV5ICB0aGVyZQ=="
let decoded = base64decode(encoded); // "hey there"
```

## Installation ##

Install from command line:

```
npm i --save nodejs-base64
```

## Requirements ##

Tested on Node 8-14. May not work on Node below 7.8.

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