@cd-z/epub-constructor
Version:
This is a react library that creates an epub structure. This library only provides the file structure. To get a valid epub file it is needed to to create files from the provided data and compress them to a epub file.
10 lines (9 loc) • 361 B
TypeScript
import { EpubSettings } from '../../types';
/**
* Generates metadata for an EPUB file based on the provided settings.
* If any setting is missing, default values will be used.
*
* @param epubSettings - The settings for the EPUB file.
* @returns The generated metadata string.
*/
export declare function createMetadata(epubSettings: EpubSettings): string;