wolfy-reader 0.1.0 → 0.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -1,8 +1,12 @@
1
- # wolfy-reader
1
+ # 📖 wolfy-reader
2
2
 
3
- Read ebooks in the browser — with pages that turn, text you can search, and typography you can change without losing your place.
3
+ [![npm](https://img.shields.io/npm/v/wolfy-reader)](https://www.npmjs.com/package/wolfy-reader)
4
4
 
5
- A from-scratch, MIT-licensed, ESM-only TypeScript reading engine for EPUB, FB2 and plain text. Bytes in, a `Book` out, and a real reading view: paginated and scrolled modes, table-of-contents and link navigation, full-text search, live theme and typography controls, selection events and decorations. Zero runtime dependencies, and untrusted book content renders inside a hardened sandboxed iframe.
5
+ **The ebook reading engine you drop into your own app.** Hand it bytes and an element; it gives you a real reading view pages that turn, text you can search, and typography you can change without losing your place.
6
+
7
+ It is a library, not a reader app. No UI chrome, no routing, no settings screen, no shelf — and it never fetches and never persists. Your app owns the files, the storage and the look; wolfy-reader owns decoding, layout and the reading surface, and hands you a small API to drive them.
8
+
9
+ From-scratch, MIT-licensed, ESM-only TypeScript for EPUB, FB2 and plain text. Zero runtime dependencies, tree-shakeable subpaths, a headless core that runs under Node — and untrusted book content rendered inside a hardened sandboxed iframe.
6
10
 
7
11
  ## Install
8
12
 
@@ -1,4 +1,4 @@
1
- /*! wolfy-reader v0.1.0 | @license MIT | (c) Vitaliy Tkachuk | github.com/vitaliy-tkachuk/wolfy-reader */
1
+ /*! wolfy-reader v0.2.0 | @license MIT | (c) Vitaliy Tkachuk | github.com/vitaliy-tkachuk/wolfy-reader */
2
2
  export { BookError, CorruptContainerError, EncryptedContentError, UnrecognizedFormatError, } from './errors.js';
3
3
  export { open } from './open.js';
4
4
  export { capturePosition, parsePosition, resolvePosition, segmentSentences, serializePosition, } from './position.js';
@@ -1,4 +1,4 @@
1
- /*! wolfy-reader v0.1.0 | @license MIT | (c) Vitaliy Tkachuk | github.com/vitaliy-tkachuk/wolfy-reader */
1
+ /*! wolfy-reader v0.2.0 | @license MIT | (c) Vitaliy Tkachuk | github.com/vitaliy-tkachuk/wolfy-reader */
2
2
  import { CorruptContainerError, EncryptedContentError } from '../../core/index.js';
3
3
  import { sectionLookup } from '../../core/lookup.js';
4
4
  import { openZip, ZipEncryptedEntryError, ZipError } from '../../zip/index.js';
@@ -1,4 +1,4 @@
1
- /*! wolfy-reader v0.1.0 | @license MIT | (c) Vitaliy Tkachuk | github.com/vitaliy-tkachuk/wolfy-reader */
1
+ /*! wolfy-reader v0.2.0 | @license MIT | (c) Vitaliy Tkachuk | github.com/vitaliy-tkachuk/wolfy-reader */
2
2
  import { CorruptContainerError } from '../../core/index.js';
3
3
  import { sectionLookup } from '../../core/lookup.js';
4
4
  import { collapseWhitespace, escapeXmlAttribute, escapeXmlText } from '../../core/text.js';
@@ -1,4 +1,4 @@
1
- /*! wolfy-reader v0.1.0 | @license MIT | (c) Vitaliy Tkachuk | github.com/vitaliy-tkachuk/wolfy-reader */
1
+ /*! wolfy-reader v0.2.0 | @license MIT | (c) Vitaliy Tkachuk | github.com/vitaliy-tkachuk/wolfy-reader */
2
2
  import { sectionLookup } from '../../core/lookup.js';
3
3
  import { collapseWhitespace, escapeXmlText } from '../../core/text.js';
4
4
  /**
package/dist/index.js CHANGED
@@ -1,4 +1,4 @@
1
- /*! wolfy-reader v0.1.0 | @license MIT | (c) Vitaliy Tkachuk | github.com/vitaliy-tkachuk/wolfy-reader */
1
+ /*! wolfy-reader v0.2.0 | @license MIT | (c) Vitaliy Tkachuk | github.com/vitaliy-tkachuk/wolfy-reader */
2
2
  /**
3
3
  * The package root: the browser-facing reader facade plus the headless core it
4
4
  * operates on.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "wolfy-reader",
3
- "version": "0.1.0",
3
+ "version": "0.2.0",
4
4
  "description": "Read ebooks in the browser — pages that turn, text you can search, and typography you can change without losing your place.",
5
5
  "keywords": [
6
6
  "ebook",