# base64-decode-utils

> A (very) small library providing utility methods to decode base64 strings using Node Buffer API

Latest version **0.0.2** (published 2016-07-14) · MIT license · 0 weekly downloads

## Install

```sh
npm install base64-decode-utils
pnpm add base64-decode-utils
yarn add base64-decode-utils
bun add base64-decode-utils
```

## 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 | 2016-07-14 |
| First published | 2016-07-08 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 2 |
| Author | Francesco |
| Maintainers | francesco |
| Keywords | base64, decode, byte, int |

## Links

- npm: https://www.npmjs.com/package/base64-decode-utils
- Repository: https://github.com/ceccode/base64-decode-utils
- Homepage: https://github.com/ceccode/base64-decode-utils#readme
- Issues: https://github.com/ceccode/base64-decode-utils/issues
- npm.io page: https://npm.io/package/base64-decode-utils

## Alternatives

- [eslint-plugin-sonarjs](https://npm.io/package/eslint-plugin-sonarjs.md) — 2.9M weekly downloads
- [eslint-config-expo](https://npm.io/package/eslint-config-expo.md) — 1.5M weekly downloads
- [@matter/protocol](https://npm.io/package/@matter/protocol.md) — 63.5K weekly downloads
- [@eventcatalog/linter](https://npm.io/package/@eventcatalog/linter.md) — 24.8K weekly downloads
- [@inrupt/eslint-config-base](https://npm.io/package/@inrupt/eslint-config-base.md) — 4.5K weekly downloads

## Recent versions

- 0.0.2 (latest) — 2016-07-14
- 0.0.1 — 2016-07-08

## README

# Base64 decode utils

A small library providing utility methods to decode base64 strings using Node Buffer API.

[![Build Status](https://travis-ci.org/ceccode/base64-decode-utils.svg?branch=master)](https://travis-ci.org/ceccode/base64-decode-utils)
[![Known Vulnerabilities](https://snyk.io/test/github/ceccode/base64-decode-utils/badge.svg)](https://snyk.io/test/github/ceccode/base64-decode-utils)
[![https://david-dm.org/ceccode/base64-decode-utils.svg](https://david-dm.org/ceccode/base64-decode-utils.svg)](https://david-dm.org/ceccode/base64-decode-utils.svg)


## Installation

```
npm install base64-decode-utils
```

## Usage

```
const base64DecodeUtils = require('base64-decode-utils');


const encoded = "SGVsbG8gV29ybGQh";
base64DecodeUtils.decodeToString(encoded); //Hello World!

```

## API

```
  decodeToString(stream)
  decodeToHex(stream)
  decodeToUtf8FromHex(stream)
  decodeToIntFromByte(stream)
  decode(stream, 'string') //default decode byte stream to int

```

## Test

```
npm test
```

## Coverage

```
npm run-script test-travis
```


## License

[MIT license](LICENSE)

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