epub-maker2
Version:
Easily create epub files with javascript
17 lines (16 loc) • 584 B
TypeScript
/**
* Created by user on 2018/9/24/024.
*/
import { console } from 'debug-color2';
import { IEpubConfig } from '../config';
import { array_unique } from 'array-hyper-unique';
import shortid from 'shortid';
import hashSum from 'hash-sum';
import moment from 'moment';
import BPromise from 'bluebird';
export { hashSum, shortid };
export { array_unique };
export { moment };
export { console };
export { BPromise };
export declare function htmlPreface<T extends Pick<IEpubConfig, 'infoPreface' | 'infoPrefaceHTML'>>(conf: T): T & Pick<IEpubConfig, 'infoPreface' | 'infoPrefaceHTML'>;