Installation
Features
TypeScript support
Written in TypeScript with full type definitions
Cross-platform
Works in all modern browsers, Node.js, and browser extensions
Lightweight
Minimal dependencies
Built for scale
Designed with caching and rate-limiting built-in
Exports
Name | Description |
---|---|
ThreatDetector | A simple interface for detecting phishing URLs |
Storage | Storage cache implementation for ThreatDetector |
Relay | A message relay for sharing events between browser extension contexts |
ChainPatrolClient | Used to create a client that connects to the ChainPatrol API |