@ai-sdk-tools/store weekly downloads statistics
By ai-sdk-tools (5 listings) · npm · AI SDKs
A drop-in replacement for @ai-sdk/react that automatically syncs chat state to Zustand stores
@ai-sdk-tools/store has 25,719 recorded weekly downloads on npm, a decrease of 48.5% over the past 30 days, ranking #693 of 2,256 tracked listings.
About @ai-sdk-tools/store
@ai-sdk-tools/store
A high-performance drop-in replacement for @ai-sdk/react with advanced state management, built-in optimizations, and zero configuration required.
Performance Features
• 3-5x faster than standard @ai-sdk/react • O(1) message lookups with hash map indexing • Batched updates to minimize re-renders • Memoized selectors with automatic caching • Message virtualization for large chat histories • Advanced throttling with scheduler.postTask • Deep equality checks to prevent unnecessary updates
Installation
Debug Configuration
The store package includes a debug utility that can be configured to control logging:
Environment Variable
Set DEBUG=true to enable debug logging:
By default, debug logging is disabled unless DEBUG=true is set.
Quick Start
-
Wrap Your App
-
Use Chat Hooks
-
Access State from Any Component
Advanced Features
Message Virtualization
Perfect for large chat histories:
Memoized Selectors
Cache expensive computations:
Fast Message Lookups
O(1) performance for message access:
Migration from @ai-sdk/react
Before:
After:
Performance Benchmarks
| Scenario | @ai-sdk/react | @ai-sdk-tools/store | Improvement |
| 1000 messages | 120ms | 35ms | 3.4x faster | | Message lookup | O(n) | O(1) | 10-100x faster | | Complex filtering | 45ms | 12ms | 3.8x faster | | Re-render frequency | High | Minimal | 5x fewer |
API Reference
Hooks
Provider
TypeScript Support
Full generic support with custom message types:
Contributing
Contributions are welcome! See the contributing guide for details.
License
MIT
Description from the npm listing.
- ai
- ai-sdk
- react
- zustand
- state-management
- chat
- llm
- vercel
README badge
Show your rank in a README or on your website. The badge updates automatically.
Charts
Images: 30d · 1y · all time · 1600×900 dark
Adoption over time
7/30/90-day growth
Ranking history
Listing placement
Listing placement
Filled points are observed values; hollow points come from Internet Archive snapshots of the listing page. Dashed segments span periods with no observations — values between points are not interpolated.
Each band is one page of 20. Weekly downloads on a linear scale. Placement is projected from weekly downloads, so it can differ from the marketplace's own sort order. Hover a dot to see the listing.
Recent observations
Full history (121)Similar npm AI SDKs plugins
All 20 @ai-sdk-tools/store alternativesData source
Weekly downloads (trailing 7 complete days) come from the official npm downloads API. Downloads include CI and mirrors and are not equivalent to installs or users. npm publishes no ratings.
Listing: https://www.npmjs.com/package/@ai-sdk-tools/store. First seen Oct 16, 2026; last successful collection Oct 19, 2026. See the methodology.