langgraph-checkpointer-filesystem
v1.0.0
Published
A file-based checkpointer for LangGraph.
Maintainers
Readme
LangGraph Checkpointer FileSaver
A file-based checkpointer for LangGraph that stores checkpoints and writes to the filesystem.
Installation
npm install langgraph-checkpointer-filesaverUsage
import { FileSaver } from 'langgraph-checkpointer-filesaver'
const checkpointer = new FileSaver('./checkpoints')
const graph = new StateGraph(State).compile({ checkpointer })Development
Building
pnpm buildTesting
The project uses Node.js built-in test runner for testing:
# Run tests once
pnpm test
# Run tests in watch mode
pnpm test:watch