Lightweight read-only API for processing EPUB documents.
using var pub = Publication.Open(@"Samples/how-to-think-about-the-economy.epub");
Assert.Equal("How to Think about the Economy", pub.Package.Title);
Assert.Equal("en-US", pub.Package.Language);
foreach (var content in pub.Package.Navigation)
{
XDocument doc = content.Open();
// Useful in conjunction with Devlooped.Web for CSS-selectors
string? title = doc.CssSelectElement("head title")?.Value;
// ...
}