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

@pantarey.io/ngx-guided-tour-lite

v0.2.1

Published

A lightweight, dependency-free library for creating guided product tours for Angular

Readme

@pantarey.io/ngx-guided-tour-lite

A lightweight, dependency-free guided tour library for Angular — made for onboarding flows and feature tours.

Used in production at pantarey.io.

  • Zero dependencies — only @angular/core as peer dependency
  • JSON-driven tours — define tours as JSON objects or pass a JSON string directly; store tours in a database, load them from an API, or keep them in static files
  • Embedded CSS — works out of the box, no extra stylesheets to import
  • Fully themeable — 12 CSS custom properties to match any brand
  • Mobile-ready — responsive positioning with separate mobileSteps for small screens
  • Multi-language — built-in locale resolution with per-step translations
  • Smart positioning — auto-repositions when elements move or resize (e.g. accordion, animation)
  • Interactive steps — gate steps (wait for click → wait for target), typewriter fill, pause & resume
  • Glass-morphism design — dark, modern popover with blur, gradients, and smooth transitions

Installation

npm install @pantarey.io/ngx-guided-tour-lite

Quick Start

import { GuidedTourService } from '@pantarey.io/ngx-guided-tour-lite';

@Component({ ... })
export class MyComponent {
  private tour = inject(GuidedTourService);

  startTour() {
    this.tour.startTour({
      options: {
        overlayOpacity: 0.6,
        showProgress: true,
      },
      steps: [
        {
          selector: '#step-1',
          side: 'bottom',
          text: {
            en: { title: 'Welcome', description: 'This is the first step.' },
            de: { title: 'Willkommen', description: 'Das ist der erste Schritt.' },
          },
        },
        {
          selector: '#step-2',
          side: 'right',
          text: {
            en: { title: 'Next Feature', description: 'Here is another feature.' },
          },
        },
      ],
      onComplete: () => console.log('Tour finished!'),
    });
  }
}

API

GuidedTourService

Provided in root — just inject it.

| Method | Description | |---|---| | startTour(config) | Start a tour. Accepts GuidedTourConfig object or JSON string. | | destroy() | Stop the tour and clean up. | | active | Signal<boolean> — whether a tour is currently running. |

GuidedTourConfig

interface GuidedTourConfig {
  options?: {
    overlayOpacity?: number;   // Default: 0.6
    allowClose?: boolean;      // Default: true (Escape + click outside)
    showProgress?: boolean;    // Default: false ("1 / 5" counter)
    stagePadding?: number;     // Default: 12
    stageRadius?: number;      // Default: 10
    locale?: string;           // Default: navigator.language
    labels?: GuidedTourLabels; // Default: English
  };
  steps: GuidedTourStep[];
  mobileSteps?: GuidedTourStep[];  // Used when viewport ≤ 600px
  onComplete?: () => void;
}

GuidedTourStep

interface GuidedTourStep {
  selector: string;
  side?: 'top' | 'bottom' | 'left' | 'right';
  align?: 'start' | 'center' | 'end';
  action?: 'info' | 'gate' | 'pauseAndResume' | 'destroyOnClick' | 'typewriterFill';
  text?: Partial<Record<string, GuidedTourText>>;
  showPopover?: boolean;
  // ... see source for full type
}

Step Actions

| Action | Behavior | |---|---| | info (default) | Normal step with Next/Back buttons | | gate | Waits for user to click the highlighted element, then waits for gateSelector to appear before advancing | | pauseAndResume | Pauses tour on click, polls for resumeSelector, then resumes remaining steps | | destroyOnClick | Ends the tour when user clicks the highlighted element | | typewriterFill | Types text into form fields char-by-char, then auto-advances |

Labels

Override button text for any language:

{
  options: {
    labels: {
      prev: 'Zurück',
      next: 'Weiter',
      done: 'Fertig',
      close: 'Schließen',
    },
  },
}

Theming

Override CSS custom properties to match your brand:

:root {
  --guided-tour-primary: #3b82f6;        /* Accent color */
  --guided-tour-bg: #1a1a2e;             /* Popover background */
  --guided-tour-text: #fff;              /* Primary text */
  --guided-tour-text-secondary: rgba(255,255,255,.78);
  --guided-tour-text-muted: rgba(255,255,255,.35);
  --guided-tour-border: rgba(255,255,255,.1);
  --guided-tour-divider: rgba(255,255,255,.06);
  --guided-tour-arrow-bg: #1a1a2e;
  --guided-tour-z-index: 10000;
  --guided-tour-max-width: 400px;
  --guided-tour-radius: 16px;
  --guided-tour-font: inherit;
}

Compatibility

  • Angular 19+ (uses signal from @angular/core)
  • Works with standalone components and NgModules
  • No zone.js dependency

Used by

License

MIT — Pantarey GmbH