Skip to content

askdoppler/doppler-js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Doppler JS

Doppler JS is a collection of JavaScript/TypeScript packages for AI SEO monitoring and analytics. It helps you track and analyze traffic from AI platforms like ChatGPT and Perplexity, providing insights into how AI agents interact with your website.

Packages

The core package that provides AI traffic detection and logging capabilities. Framework-agnostic, it can be used with any Node.js application.

npm install @askdoppler/core

A Nuxt 3 module that integrates Doppler's AI traffic detection into your Nuxt application with zero configuration.

npm install @askdoppler/nuxt

Features

  • 🔍 AI Traffic Detection: Automatically identifies requests from AI platforms
  • 🎯 Intent Inference: Determines if traffic is from browsing or crawling
  • 📊 Analytics: Logs and analyzes AI traffic patterns
  • 🛠 Framework Support: Works with Nuxt, Next.js, Express, and more
  • Performance: Non-blocking operations for optimal performance

Quick Start

  1. Install the package for your framework:

    # For Nuxt
    npm install @askdoppler/nuxt
    
    # For other frameworks
    npm install @askdoppler/core
  2. Set up your API key:

    DOPPLER_API_KEY=your-api-key-here
  3. View your analytics at askdoppler.com

Development

This is a monorepo containing multiple packages. Each package has its own README with specific development instructions.

Prerequisites

  • Node.js >= 18
  • npm or yarn

Building

# Build all packages
npm run build

# Build specific package
cd packages/core && npm run build
cd packages/nuxt && npm run build

Testing

# Run tests for all packages
npm test

# Run tests for specific package
cd packages/core && npm test

Contributing

  1. Fork the repository
  2. Create your feature branch (git checkout -b feature/amazing-feature)
  3. Commit your changes (git commit -m 'Add some amazing feature')
  4. Push to the branch (git push origin feature/amazing-feature)
  5. Open a Pull Request

License

This project is licensed under the MIT License - see the LICENSE file for details.

Support

For support, email hello@askdoppler.com or visit askdoppler.com.

About

Doppler JS SDK to monitor AI traffic on your website

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published