data-uri-to-buffer
- Version 6.0.2
- Published
- 16.8 kB
- No dependencies
- MIT license
Install
npm i data-uri-to-buffer
yarn add data-uri-to-buffer
pnpm add data-uri-to-buffer
Overview
Create an ArrayBuffer instance from a Data URI string
Index
Functions
Interfaces
Functions
function dataUriToBuffer
dataUriToBuffer: (uri: string | URL) => import('./common').ParsedDataURI;
Returns a
Buffer
instance from the given data URIuri
.Parameter uri
Data URI to turn into a Buffer instance
Interfaces
interface ParsedDataURI
interface ParsedDataURI {}
Package Files (2)
Dependencies (0)
No dependencies.
Dev Dependencies (6)
Peer Dependencies (0)
No peer dependencies.
Badge
To add a badge like this oneto your package's README, use the codes available below.
You may also use Shields.io to create a custom badge linking to https://www.jsdocs.io/package/data-uri-to-buffer
.
- Markdown[![jsDocs.io](https://img.shields.io/badge/jsDocs.io-reference-blue)](https://www.jsdocs.io/package/data-uri-to-buffer)
- HTML<a href="https://www.jsdocs.io/package/data-uri-to-buffer"><img src="https://img.shields.io/badge/jsDocs.io-reference-blue" alt="jsDocs.io"></a>
- Updated .
Package analyzed in 2378 ms. - Missing or incorrect documentation? Open an issue for this package.