ipfs storage for images and other nontext items. for use with etica - runs on etica network and currencys
https://collect.etica-stats.org
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
439 B
15 lines
439 B
/// <reference types="node" /> |
|
export interface MimeBuffer extends Buffer { |
|
type: string; |
|
typeFull: string; |
|
charset: string; |
|
} |
|
/** |
|
* Returns a `Buffer` instance from the given data URI `uri`. |
|
* |
|
* @param {String} uri Data URI to turn into a Buffer instance |
|
* @returns {Buffer} Buffer instance from Data URI |
|
* @api public |
|
*/ |
|
export declare function dataUriToBuffer(uri: string): MimeBuffer; |
|
export default dataUriToBuffer;
|
|
|