@zeroclickai/analytics
v1.1.0
Published
Core ZeroClick Analytics detection library. Detects AI-generated traffic from ChatGPT, Claude, Perplexity, and other AI systems.
Downloads
48
Keywords
Readme
@zeroclickai/analytics
Core ZeroClick Analytics detection library. Detects AI-generated traffic from ChatGPT, Claude, Perplexity, and other AI systems.
Installation
npm install @zeroclickai/analyticsQuick Start
import { detectAi } from '@zeroclickai/analytics';
const aiDetection = await detectAi(request);
if (aiDetection) {
// ${aiDetection.type} traffic from ${aiDetection.provider}
// Example: "crawl traffic from openai"
}Documentation
See the main repository README for complete documentation, examples, and usage guides.
Development
npm run build # Compile TypeScript
npm test # Run tests
npm run lint # Check code quality
npm run format # Format code