npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@courseecho/ai-widget-angular

v1.3.0

Published

Angular AI chat widget component for CourseEcho.

Readme

@courseecho/ai-widget-angular

Angular standalone component for AI chat widget - Modern AI assistance for Angular 19+ apps.

npm version Angular License: MIT

Overview

A production-ready Angular component with:

  • Angular 19+ standalone components
  • Full TypeScript support
  • RxJS reactive patterns
  • Zero external dependencies
  • Minimize on load
  • Go offline mode
  • Pre-chat form
  • AI suggestions
  • Booking integration

Installation

npm install @courseecho/ai-widget-angular @courseecho/ai-core-sdk

Quick Start

import { Component } from '@angular/core';
import { AiChatWidgetComponent } from '@courseecho/ai-widget-angular';

@Component({
  selector: 'app-root',
  standalone: true,
  imports: [AiChatWidgetComponent],
  template: '<ai-chat-widget [config]="widgetConfig"></ai-chat-widget>'
})
export class AppComponent {
  widgetConfig = {
    apiKey: 'your-api-key',
    context: { pageType: 'course', entityId: 'course-123' }
  };
}

v2.1+ Features

Minimize on Load

widgetConfig = {
  apiKey: 'your-api-key',
  context: { pageType: 'course' },
  defaultMinimized: true
};

Go Offline + Booking

widgetConfig = {
  apiKey: 'your-api-key',
  context: { pageType: 'course' },
  goOfflineEnabled: true,
  limitExpiredConfig: {
    offlineForm: { 
      title: 'Get in touch', 
      submitEndpoint: '/api/contact' 
    },
    booking: { 
      title: 'Schedule', 
      calendarUrl: 'https://calendly.com/...' 
    }
  }
};

Pre-Chat Form

widgetConfig = {
  apiKey: 'your-api-key',
  context: { pageType: 'course' },
  preChatFormEnabled: true
};

Usage Examples

With Routing

import { Component, OnInit } from '@angular/core';
import { ActivatedRoute } from '@angular/router';
import { AiChatWidgetComponent } from '@courseecho/ai-widget-angular';

@Component({
  selector: 'app-course-details',
  standalone: true,
  imports: [AiChatWidgetComponent],
  template: '<ai-chat-widget [config]="widgetConfig"></ai-chat-widget>'
})
export class CourseDetailsComponent implements OnInit {
  widgetConfig: any;

  constructor(private route: ActivatedRoute) {}

  ngOnInit() {
    this.route.params.subscribe(params => {
      this.widgetConfig = {
        apiKey: 'your-api-key',
        context: { pageType: 'course', entityId: params['courseId'] }
      };
    });
  }
}

With Service Integration

import { Injectable } from '@angular/core';
import { HttpClient } from '@angular/common/http';
import { Observable } from 'rxjs';

@Injectable({ providedIn: 'root' })
export class CourseService {
  constructor(private http: HttpClient) {}

  getCourseContext(courseId: string): Observable<any> {
    return this.http.get(`/api/courses/${courseId}/context`);
  }
}

Authentication

API Key (Recommended):

config = { apiKey: 'key', context: { pageType: 'general' } };

JWT Token:

config = { context: { pageType: 'general' } };
// Pass jwtToken via property binding

Support

  • Docs: https://courseecho.com/docs
  • Issues: https://github.com/COURSEECHO/courseecho-ai-widget-sdk/issues
  • Email: [email protected]

License

MIT 2026 CourseEcho