Package Version Checker
CRITICAL: Always check latest version before installing ANY package.
Check Version
# Check latest version
bun info <package>
# Examples
bun info gsap
bun info lenis
bun info @react-three/fiber
bun info framer-motion
Install with Version
# Install latest
bun add gsap@latest
# Install specific version
bun add gsap@3.12.5
Check Darkroom Package Versions
# Lenis (smooth scroll)
bun info lenis
# Hamo (performance hooks)
bun info hamo
# Tempus (RAF management)
bun info tempus
Check Outdated Packages
# List outdated packages in project
bun outdated
Why This Matters
- Security - Old versions may have vulnerabilities
- Features - Latest versions have new APIs
- Compatibility - Mismatched versions cause issues
- Training data - Your knowledge may be outdated
Workflow
- Check version -
bun info <package> - Fetch docs - Use context7 for current documentation
- Install -
bun add <package>@latest - Verify - Check
package.jsonhas correct version
Output
Report:
- Package: Name
- Latest version: Current release
- Your version: What's in package.json (if applicable)
- Action: Install/update recommendation
