# @types/btoa

> TypeScript definitions for btoa

Latest version **1.2.5** (published 2023-11-07) · MIT license · 0 weekly downloads

## Install

```sh
npm install @types/btoa
pnpm add @types/btoa
yarn add @types/btoa
bun add @types/btoa
```

## Health

**Score 45/100 (D)** — status: abandoned.

Positive: has types; no vulnerabilities; high maintenance score; popular repo; extremely popular.

Warnings: low downloads; no esm support.

Negative: abandoned.

## Facts

| | |
|---|---|
| Version | 1.2.5 |
| Published | 2023-11-07 |
| First published | 2018-05-08 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 2.9 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 51465 |
| Maintainers | types |

## Links

- npm: https://www.npmjs.com/package/@types/btoa
- Repository: https://github.com/DefinitelyTyped/DefinitelyTyped
- Homepage: https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/btoa
- npm.io page: https://npm.io/package/@types/btoa

## Dependencies (1)

- [@types/node](https://npm.io/package/@types/node.md) *

## Recent versions

- 1.2.5 (latest) — 2023-11-07
- 1.2.3 (ts2.8) — 2019-03-29
- 1.2.4 — 2023-10-17
- 1.2.2 — 2019-02-13
- 1.2.1 — 2019-01-30
- 1.2.0 — 2018-05-08

## README

# Installation
> `npm install --save @types/btoa`

# Summary
This package contains type definitions for btoa (https://git.coolaj86.com/coolaj86/btoa.js.git).

# Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/btoa.
## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/btoa/index.d.ts)
````ts
/// <reference types="node" />

declare function btoa(str: string | Buffer): string;

export = btoa;

````

### Additional Details
 * Last updated: Mon, 06 Nov 2023 22:41:05 GMT
 * Dependencies: [@types/node](https://npmjs.com/package/@types/node)

# Credits
These definitions were written by [John Wright](https://github.com/johngeorgewright), and [Alex Brick](https://github.com/bricka).

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