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

@ssgoi/angular

v7.4.1

Published

Native app-like page transitions for Angular. Make a web app, PWA or WebView app feel native.

Readme

@ssgoi/angular

Native app-like page transitions for Angular. Make a web app, PWA or WebView app (Capacitor, Tauri, Ionic) feel like a native app without replacing your router.

SSGOI live showcase

Live demos · Hero, Zoom, Film, and Sheet in motion

npm install @ssgoi/angular

Agent setup guide: https://ssgoi.dev/llms.txt

Router helpers

Install this framework package once; router helpers are optional subpaths. These router helpers are experimental APIs and may change.

| Router | Import | API | | -------------- | ----------------------- | -------------------- | | Angular Router | @ssgoi/angular/router | SsgoiRouteBoundary |

See the framework guide for wiring and limits.

Setup

Create one SSGOI root above the router outlet.

import { Component, signal } from "@angular/core";
import { RouterOutlet } from "@angular/router";
import { Ssgoi, type SsgoiConfig } from "@ssgoi/angular";
import { drill } from "@ssgoi/angular/view-transitions";

@Component({
  selector: "app-root",
  standalone: true,
  imports: [RouterOutlet, Ssgoi],
  template: `
    <main
      ssgoi
      [config]="config()"
      style="position:relative;z-index:0;overflow-x:clip"
    >
      <router-outlet />
    </main>
  `,
})
export class AppComponent {
  protected readonly config = signal<SsgoiConfig>({
    transitions: [{ on: "/posts/**", except: "/posts", transition: drill() }],
  });
}

Route boundary

Use the experimental standalone directive on the routed page's single DOM root:

import { Component } from "@angular/core";
import { SsgoiRouteBoundary } from "@ssgoi/angular/router";

@Component({
  standalone: true,
  imports: [SsgoiRouteBoundary],
  template: `<article *ssgoiRouteBoundary="let route">{{ route.id }}</article>`,
})
export class PostComponent {}

It recreates the embedded view on pathname changes, including parameterized routes that reuse the same component. Query-only navigation preserves it. Use key: 'shell' for a persistent region. Keep RouterOutlet in the application; custom reuse caches and auxiliary outlet coordination are not handled.

Config

import type { SsgoiConfig } from "@ssgoi/angular";
import { drill, slide, zoom } from "@ssgoi/angular/view-transitions";

const config: SsgoiConfig = {
  transitions: [
    {
      on: "/posts/**",
      except: "/posts",
      transition: drill(),
    },
    {
      from: "/gallery",
      to: "/gallery/*",
      transition: zoom(),
    },
    {
      ordered: ["/tabs/a", "/tabs/b"],
      transition: slide(),
    },
  ],
};
  • on: route family.
  • from/to: precise pair.
  • ordered: directional sequence.
  • Scroll is automatic: on and from/to restore from and reset to; ordered restores both. Override with preserveScroll: { from: boolean, to: boolean }, or share one position across the rule's pages with preserveScroll: "shared".
  • Patterns support exact paths, a * path segment, and suffix **.
  • Higher priority wins before path specificity.

Effect index

  • fade: unrelated pages.
  • drill: list → detail.
  • slide: ordered tabs.
  • axis: sibling destinations.
  • sheet: modal-like routes.
  • zoom: card/image → detail.
  • hero: shared elements and page chrome.
  • scroll: vertical sequences.
  • strip, film, rotate, blind, jaemin: expressive transitions.

Options: https://ssgoi.dev/llms.txt#7-transition-index

API

  • [ssgoi]: creates the root transition context.
  • [config]: accepts SsgoiConfig.
  • [host]: accepts an optional HostAnimation.
  • data-ssgoi-transition: marks a route boundary.
  • injectSsgoi(): returns the transition context.
  • [ssgoiTransition]: deprecated; use the data attribute.

License

MIT