epub-chinese-converter
Version:
A small util to convert epub files from Simplified Chinese to Traditional Chinese
16 lines (15 loc) • 394 B
TypeScript
import { Metadata as EpubMetadata } from './utils/types';
export declare namespace Book {
type Metadata = EpubMetadata | object;
type ChapterText = string;
type Chapter = object & {
text: ChapterText;
};
type Chapters = {
[id: string]: Chapter;
};
type BookWithMeta = {
metadata: Metadata;
chapters: Chapters;
};
}