# is-data-uri

> check data whether data-uri or not?

Latest version **0.1.0** (published 2015-12-16) · MIT license · 0 weekly downloads

## Install

```sh
npm install is-data-uri
pnpm add is-data-uri
yarn add is-data-uri
bun add is-data-uri
```

## 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.1.0 |
| Published | 2015-12-16 |
| First published | 2015-12-16 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Node | >=0.10.0 |
| Dependencies | 1 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 4 |
| Author | ragingwind |
| Maintainers | ragingwind |

## Links

- npm: https://www.npmjs.com/package/is-data-uri
- Repository: https://github.com/ragingwind/is-data-uri
- Homepage: https://github.com/ragingwind/is-data-uri#readme
- Issues: https://github.com/ragingwind/is-data-uri/issues
- npm.io page: https://npm.io/package/is-data-uri

## Dependencies (1)

- [data-uri-regex](https://npm.io/package/data-uri-regex.md) ^0.1.2

## Recent versions

- 0.1.0 (latest) — 2015-12-16

## README

# is-data-uri [![Build Status](https://travis-ci.org/ragingwind/is-data-uri.svg?branch=master)](https://travis-ci.org/ragingwind/is-data-uri)

> check data whether data-uri or not?


## Install

```
$ npm install --save is-data-uri
```


## Usage

```js
const isDataUri = require('is-data-uri');

isDataUri('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAA==');
//=> true
```


## API

### isDataUri(data)

#### data

Type: `string`

String of data-uri which you want to test

## License

MIT © [ragingwind](http://ragingwind.me)

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