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

@crczp/training-agenda

v1.1.4

Published

Training Agenda is a library containing components and services to design, organize and play training. It is developed as a frontend of [Training service](https://github.com/cyberrangecz/backend-training)

Readme

CyberRangeᶜᶻ Platform Training Agenda

Training Agenda is a library containing components and services to design, organize and play training. It is developed as a frontend of Training service

The library follows smart-dumb architecture. Smart components are exported from the library, and you can use them at your will. The project contains example implementation with lazy loading modules which you can use as an inspiration. You can modify the behaviour of components by implementing abstract service class and injecting it through Angular dependency injection.

Features

  • Components and services for designing training definitions
  • Components and services for designing training levels
  • Components and services for organizing training instances
  • Components and services for previewing and playing training runs
  • Visualizations of training runs
  • Default routing (overridable)
  • Errors, notifications, and navigation services
  • CanDeactivate interface on all main components
  • Resolvers for all main components

Usage

To use the training agenda in your Angular application follow these steps:

  1. Run npm install @crczp/training-agenda
  2. Install all peer dependencies
  3. Create config class extending TrainingAgendaConfig from the library. Config contains following options:
    • pollingPeriod
    • defaultPaginationSize
    • visualizationConfig
    • topologyConfig
  4. Import specific modules containing components (for example TrainingDefinitionOverviewComponentsModule) and provide config through .forRoot() method.
  5. If you do not override the services, you will also need to provide API service. See Training api.
  6. You need to provide implementation of abstract services ClientErrorHandlerService and ClientNotificationService for error handling and notification displaying.
  7. Optionally, you can override TrainingNavigator service to provide custom navigation if you do not want to use default routes.
  8. Optionally, cou can override and provide own implementation of services

For example, you would add TrainingDefinitionOverviewComponent like this:

  1. Create feature module TrainingDefinitionOverviewModule containing all necessary imports and providers
@NgModule({
  imports: [
    CommonModule,
    TrainingDefinitionOverviewRoutingModule,
    TrainingDefinitionOverviewComponentsModule.forRoot(agendaConfig),
    TrainingApiModule.forRoot(apiConfig),
  ],
  providers: [
    { provide: TrainingErrorHandler, useClass: ClientErrorHandlerService },
    { provide: TrainingNotificationService, useClass: ClientNotificationService },
  ],
})
export class TrainingDefinitionOverviewModule {}
  1. Create routing module importing the TrainingDefinitionOverviewModule
const routes: Routes = [
  {
    path: '',
    component: TrainingDefinitionOverviewComponent,
  },
];
@NgModule({
  imports: [RouterModule.forChild(routes)],
  exports: [RouterModule],
})
export class TrainingDefinitionOverviewRoutingModule {}
  1. Lazy load the module in the parent routing module
  {
    path: TRAINING_DEFINITION_PATH,
    loadChildren: () => import('./lazy-loaded-modules/definition/overview/training-definition-overview.module).then((m) => m.TrainingDefinitionOverviewModule)
  }

Sources: https://github.com/cyberrangecz/frontend-training-agenda