2025-05-01 17:26:17 -04:00
2025-05-01 17:26:17 -04:00
2025-05-01 17:26:17 -04:00
2025-05-01 17:26:17 -04:00
2025-05-01 17:26:17 -04:00
2025-05-01 17:26:17 -04:00
2025-05-01 17:26:17 -04:00

ngx-pendo-lite-workspace

This workspace contains the Angular library for integrating Pendo.io analytics into Angular applications.

Development

Library

The main library code is in the projects/ngx-pendo-lite directory.

Build

Run npm run build:lib to build the library. The build artifacts will be stored in the dist/ngx-pendo-lite directory.

Running unit tests

Run npm run test:lib to execute the unit tests for the library via Karma.

Publishing

After building the library, you can publish it to npm with:

npm run publish:lib

Or do a dry run first:

npm run publish:lib:dry

Versioning

The library follows Semantic Versioning.

To bump the version:

# For patch releases (bug fixes)
npm run version:patch

# For minor releases (new features, backward compatible)
npm run version:minor

# For major releases (breaking changes)
npm run version:major

Features

  • Easy integration with Angular's dependency injection
  • Type-safe wrapper for all Pendo functionality
  • Server-side rendering (SSR) support
  • Comprehensive testing

Library Usage

// Import in your app module
import { NgModule } from '@angular/core';
import { BrowserModule } from '@angular/platform-browser';
import { PendoModule } from 'ngx-pendo-lite';
import { AppComponent } from './app.component';

@NgModule({
  declarations: [AppComponent],
  imports: [
    BrowserModule,
    PendoModule.forRoot({
      apiKey: 'YOUR_PENDO_API_KEY'
    })
  ],
  bootstrap: [AppComponent]
})
export class AppModule { }

For more details, see the library's own README.

License

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

Description
Pendo Angular wrapper
Readme MIT 148 KiB
Languages
TypeScript 91.4%
JavaScript 8.6%