# dataurl2

> Format/Stringify & Parse Data URLs

Latest version **2.0.0** (published 2022-02-01) · MIT license · 0 weekly downloads

## Install

```sh
npm install dataurl2
pnpm add dataurl2
yarn add dataurl2
bun add dataurl2
```

## Health

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

Positive: has types; no vulnerabilities; high quality score.

Warnings: low downloads; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 2.0.0 |
| Published | 2022-02-01 |
| First published | 2022-02-01 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Node | >=13.0.0 |
| Dependencies | 0 |
| Unpacked size | 34.9 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Maintainers | jcoon97 |
| Keywords | dataurl, datauri |

## Links

- npm: https://www.npmjs.com/package/dataurl2
- Repository: https://github.com/jcoon97/dataurl2
- Homepage: https://github.com/jcoon97/dataurl2#readme
- Issues: https://github.com/jcoon97/dataurl2/issues
- npm.io page: https://npm.io/package/dataurl2

## Alternatives

- [base64url](https://npm.io/package/base64url.md) — 6.1M weekly downloads
- [get-installed-path](https://npm.io/package/get-installed-path.md) — 502.9K weekly downloads
- [@uppy/url](https://npm.io/package/@uppy/url.md) — 185.8K weekly downloads
- [@d3fc/d3fc-shape](https://npm.io/package/@d3fc/d3fc-shape.md) — 16.2K weekly downloads
- [localizer](https://npm.io/package/localizer.md) — 226 weekly downloads

## Recent versions

- 2.0.0 (latest) — 2022-02-01

## README

# dataurl2

![GitHub Workflow Status](https://img.shields.io/github/workflow/status/jcoon97/dataurl2/Lint%20&%20Test?label=GitHub%20Actions&style=flat-square)
![npm](https://img.shields.io/npm/v/dataurl2?label=Current%20Version&style=flat-square)
![GitHub issues](https://img.shields.io/github/issues/jcoon97/dataurl2?label=Open%20Issues&style=flat-square)
![GitHub](https://img.shields.io/github/license/jcoon97/dataurl2?label=License&style=flat-square)

> An easy-to-use NodeJS library for parsing and "stringifying" data URLs, originally forked from
> [dataurl](https://github.com/brianloveswords/dataurl).

## Table of Contents

* [Installation](#installation)
* [API Documentation](#api-documentation)
* [Special Thanks](#special-thanks)

## Installation

Before installation, you must ensure that your development environment includes Node.js and a package manager. The
following example uses npm; however, you can also use [pnpm](https://pnpm.io/) or [yarn](https://yarnpkg.com/).

```shell
$ npm install dataurl2
```

## API Documentation

* [Parsing Data URLs](./docs/parsing.md)
* [Stringifying Data URLs](./docs/stringify.md)

## Special Thanks

A special thanks goes out to [brianloveswords](https://github.com/brianloveswords) for creating the original
package, [dataurl](https://github.com/brianloveswords/dataurl). My contribution to this repository was to update its
code to use modern framework(s) and export Typescript typings for use in some of my own personal projects.

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