Repository URL to install this package:
Version:
0.6.0 ▾
|
gateway-proxy
/
usr
/
share
/
gateway-proxy
/
app
/
node_modules
/
data-uri-to-buffer
/
dist
/
src
/
index.d.ts
|
---|
/**
* Returns a `Buffer` instance from the given data URI `uri`.
*
* @param {String} uri Data URI to turn into a Buffer instance
* @return {Buffer} Buffer instance from Data URI
* @api public
*/
/// <reference types="node" />
declare function dataUriToBuffer(uri: string): dataUriToBuffer.MimeBuffer;
declare namespace dataUriToBuffer {
interface MimeBuffer extends Buffer {
type: string;
typeFull: string;
charset: string;
}
}
export = dataUriToBuffer;