# Base64

> Base64 encoding and decoding

Latest version **1.3.0** (published 2023-09-18) · (Apache-2.0 OR WTFPL) license · 0 weekly downloads

## Install

```sh
npm install Base64
pnpm add Base64
yarn add Base64
bun add 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 | 1.3.0 |
| Published | 2023-09-18 |
| First published | 2012-06-10 |
| Weekly downloads | 0 |
| License | (Apache-2.0 OR WTFPL) |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 15.5 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 494 |
| Author | David Chambers |
| Maintainers | davidchambers, michaelficarra |

## Links

- npm: https://www.npmjs.com/package/Base64
- Repository: https://github.com/davidchambers/Base64.js
- Homepage: https://github.com/davidchambers/Base64.js#readme
- Issues: https://github.com/davidchambers/Base64.js/issues
- npm.io page: https://npm.io/package/Base64

## Recent versions

- 1.3.0 (latest) — 2023-09-18
- 1.2.0 — 2023-02-22
- 1.1.0 — 2019-11-02
- 1.0.2 — 2019-02-12
- 1.0.1 — 2017-03-25
- 1.0.0 — 2016-06-14
- 0.3.0 — 2014-04-29
- 0.2.1 — 2014-04-13
- 0.2.0 — 2013-10-09
- 0.1.4 — 2013-10-03
- 0.1.3 — 2013-09-09
- 0.1.2 — 2013-01-16
- 0.1.1 — 2012-12-21
- 0.1.0 — 2012-06-10

## README

# Base64.js

[![CDNJS](https://img.shields.io/cdnjs/v/Base64.svg)](https://cdnjs.com/libraries/Base64)

≈ 700 byte* polyfill for browsers which don't provide [`window.btoa`][1] and
[`window.atob`][2].

Base64.js stems from a [gist][3] by [yahiko][4].

### Running the test suite

    make setup
    make test

\* Minified and gzipped. Run `make bytes` to verify.


[1]: https://developer.mozilla.org/en/DOM/window.btoa
[2]: https://developer.mozilla.org/en/DOM/window.atob
[3]: https://gist.github.com/229984
[4]: https://github.com/yahiko

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