@tpmjs/tools-timeline-from-text
Extract dated events from text and return normalized timeline
Test @tpmjs/tools-timeline-from-text (timelineFromTextTool) with AI-powered execution
0/2000 characters
Install this tool and use it with the AI SDK
npm install @tpmjs/tools-timeline-from-textpnpm add @tpmjs/tools-timeline-from-textyarn add @tpmjs/tools-timeline-from-textbun add @tpmjs/tools-timeline-from-textdeno add npm:@tpmjs/tools-timeline-from-textimport { timelineFromTextTool } from '@tpmjs/tools-timeline-from-text';import { generateText } from 'ai';
import { openai } from '@ai-sdk/openai';
import { timelineFromTextTool } from '@tpmjs/tools-timeline-from-text';
const result = await generateText({
model: openai('gpt-4o'),
tools: { timelineFromTextTool },
prompt: 'Your prompt here...',
});
console.log(result.text);(text: string) => Promise<unknown>Available configuration options
textstringThe text to extract timeline events from
Schema extracted: 3/1/2026, 4:27:49 AM
ERROR: No README data found!
Downloads/month
12
GitHub Stars
0
Quality Score