From 5a2ced868e2e22203893299231f2aa9f1451cfc9 Mon Sep 17 00:00:00 2001 From: XLor Date: Tue, 28 Feb 2023 04:09:01 +0800 Subject: [PATCH] docs: usage --- packages/epubook/README.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/packages/epubook/README.md b/packages/epubook/README.md index ec80632..998b3a4 100644 --- a/packages/epubook/README.md +++ b/packages/epubook/README.md @@ -12,6 +12,14 @@ It will support the generation of the [latest epub standard](https://www.w3.org/ npm i epubook ``` +## Usage + +```ts +import { Epubook } from 'epubook' + +await Epubook.create({ title: 'test' }) +``` + ## Resources + [EPUB 3.2 specification](https://www.w3.org/publishing/epub32/)