# @jswork/next-arraybuffer2url

> Array buffer to blob url.

Latest version **1.0.0** (published 2021-07-09) · MIT license · 0 weekly downloads

## Install

```sh
npm install @jswork/next-arraybuffer2url
pnpm add @jswork/next-arraybuffer2url
yarn add @jswork/next-arraybuffer2url
bun add @jswork/next-arraybuffer2url
```

## Health

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

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.0 |
| Published | 2021-07-09 |
| First published | 2021-07-09 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 4.8 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | afei |
| Maintainers | afeiship |
| Keywords | next, array, buffer, blob, url, arraybuffer |

## Links

- npm: https://www.npmjs.com/package/@jswork/next-arraybuffer2url
- Homepage: https://github.com/afeiship/next-arraybuffer2url
- npm.io page: https://npm.io/package/@jswork/next-arraybuffer2url

## 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

- 1.0.0 (latest) — 2021-07-09

## README

# next-arraybuffer2url
> Array buffer to blob url.

[![version][version-image]][version-url]
[![license][license-image]][license-url]
[![size][size-image]][size-url]
[![download][download-image]][download-url]

## installation
```bash
npm install -S @jswork/next-arraybuffer2url
```

## usage
```js
import '@jswork/next-arraybuffer2url';

const xhrOverride = new XMLHttpRequest();
xhrOverride.responseType = 'arraybuffer';
$.ajax({
  url: '/url/of/your/binary/data',
  method: 'GET',
  xhr: function() {
      return xhrOverride;
  }
}).then(function (responseData) {
  const url = nx.arraybuffer2url(responseData);

  // <img src={url} />
});
```

## license
Code released under [the MIT license](https://github.com/afeiship/next-arraybuffer2url/blob/master/LICENSE.txt).

[version-image]: https://img.shields.io/npm/v/@jswork/next-arraybuffer2url
[version-url]: https://npmjs.org/package/@jswork/next-arraybuffer2url

[license-image]: https://img.shields.io/npm/l/@jswork/next-arraybuffer2url
[license-url]: https://github.com/afeiship/next-arraybuffer2url/blob/master/LICENSE.txt

[size-image]: https://img.shields.io/bundlephobia/minzip/@jswork/next-arraybuffer2url
[size-url]: https://github.com/afeiship/next-arraybuffer2url/blob/master/dist/next-arraybuffer2url.min.js

[download-image]: https://img.shields.io/npm/dm/@jswork/next-arraybuffer2url
[download-url]: https://www.npmjs.com/package/@jswork/next-arraybuffer2url

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