Our new LangChain Academy Course Deep Research with LangGraph is now live! Enroll for free.
OSS (v1-alpha)
LangChain and LangGraph
splitChapters
false
npm install @langchain/community @langchain/core epub2 html-to-text
import { EPubLoader } from "@langchain/community/document_loaders/fs/epub"; const loader = new EPubLoader("src/document_loaders/example_data/example.epub"); const docs = await loader.load();
import { EPubLoader } from "@langchain/community/document_loaders/fs/epub"; const loader = new EPubLoader( "src/document_loaders/example_data/example.epub", { splitChapters: false, } ); const docs = await loader.load();