# @types/parse-data-url

> TypeScript definitions for parse-data-url

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

## Install

```sh
npm install @types/parse-data-url
pnpm add @types/parse-data-url
yarn add @types/parse-data-url
bun add @types/parse-data-url
```

## 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 | 3.0.2 |
| Published | 2023-11-07 |
| First published | 2020-10-12 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 3.3 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 51438 |
| Maintainers | types |

## Links

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

## Dependencies (1)

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

## Recent versions

- 3.0.2 (latest) — 2023-11-07
- 3.0.0 (ts3.2) — 2020-10-12
- 3.0.1 — 2023-10-18

## README

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

declare function parseDataUrl(s: string): false | parseDataUrl.DataUrl;

declare namespace parseDataUrl {
    interface DataUrl {
        mediaType: string;
        contentType: string;
        charset: string;
        base64: boolean;
        data: string;
        toBuffer(): Buffer;
    }
}

export = parseDataUrl;

````

### Additional Details
 * Last updated: Tue, 07 Nov 2023 09:09:39 GMT
 * Dependencies: [@types/node](https://npmjs.com/package/@types/node)

# Credits
These definitions were written by [Jaime Filho](https://github.com/jaimeadf).

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