node-ejs-renderer/node_modules/thingies/es2020/dataUri.d.ts

9 lines
244 B
TypeScript
Raw Permalink Normal View History

2024-06-09 13:55:01 -04:00
/**
* Creates a data URI from a string of data.
*
* @param data The data to convert to a data URI.
* @param mime The MIME type of the data.
* @returns The data URI.
*/
export declare const dataUri: (data: string, mime: string) => string;