UNPKG

@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.

9 lines (8 loc) 352 B
import { EpubChapter } from '../../types'; /** * Creates an EPUB chapter file with the provided chapter information. * * @param chapter - The chapter object containing the chapter details. * @returns The created File object representing the chapter file. */ export declare function createChapter(chapter: EpubChapter): import("../../types").File;