@smoores/epub is a Node.js library that allows users to inspect, modify, and create EPUB 3 publications. The library primarily focuses on providing access to the metadata, manifest, and spine of EPUB publications, which are essential components of the format. Users can interact with the library through various APIs, ranging from higher level functions that abstract away implementation details to lower level APIs that require knowledge of the EPUB structure. Additionally, the library offers utility methods for parsing, manipulating, and building XML documents, essential for working with EPUB publications that heavily rely on the XML format.
The content provides a comprehensive guide on how to use the library, including instructions on reading from existing EPUB files, creating EPUBs from scratch, and adding chapters with detailed examples. It also emphasizes the importance of understanding the EPUB 3 specification to effectively utilize the library’s functionalities.
The library’s development is a part of the Storyteller monorepo. For detailed information on the library’s API, users can refer to the provided API documentation.
Overall, @smoores/epub is a powerful tool for handling EPUB 3 publications in Node.js, offering a wide range of functionalities for working with EP
https://www.npmjs.com/package/@smoores/epub