You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A modern, TypeScript-based WebFinger client that runs in both browsers and Node.js environments.
Features
โจ Modern ES6+ support - Built with TypeScript, works with modern JavaScript
๐ Security-first - SSRF protection, blocks private/internal addresses by default
๐ก๏ธ Production-ready - Prevents localhost/LAN access per ActivityPub security guidelines
๐ Flexible fallbacks - Supports host-meta fallback mechanisms
๐ Universal - Works in browsers and Node.js
๐ฆ Zero dependencies - Lightweight and self-contained
โก Fast - Efficient WebFinger discovery and caching
bun run test# Run complete test suite
bun run lint # Code linting
See the Development Guide for detailed testing information and individual test commands.
Security
webfinger.js includes comprehensive SSRF protection, blocking private networks and validating redirects by default. For detailed security information, see Security Documentation.
Contributing
Contributions are welcome! Please see the Development Guide for setup instructions, coding guidelines, and contribution workflow.
License
This project is licensed under the AGPL License - see the license file for details.