Integrate with the EPUB files - document loader using LangChain JavaScript.
This example goes over how to load data from EPUB files. By default, one document will be created for each chapter in the EPUB file, you can change this behavior by setting the splitChapters option to false.