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

skedapt

v0.0.5

Published

A zero-config Angular adaptive skeleton loader directive that decorates the real host element and auto-injects shimmer styles.

Downloads

639

Readme

Skedapt

skedapt is a zero-config adaptive skeleton loader for Angular.

It decorates the real host element instead of asking you to manually calculate height and width, so the skeleton naturally follows the container's own layout.

Compatibility

Angular 16 through 20.

Install

npm install skedapt

No global stylesheet import is required.

Usage

Import the standalone directive:

import { SkeDaptDirective } from 'skedapt';

Then apply it on the same element that would normally receive your loading class:

<div
  class="flex flex-col gap-1 border-r border-common-border-color px-4 py-4"
  [skedapt]="payeeSummaryLoading"
>
  <span class="font-700 text-[10px] uppercase tracking-widest text-common-secondary-font-color">
    This Month
  </span>
  <span class="text-lg font-extrabold leading-tight text-common-primary-font-color">
    {{ payeeSummary?.total_paid_in_month | currency }}
  </span>
</div>

This replaces patterns like:

[ngClass]="payeeSummaryLoading ? 'skelton_loader' : ''"

Behavior

  • No @use 'skedapt/styles'; setup is needed.
  • The shimmer styles are injected automatically when the directive is used.
  • The skeleton overlays the actual host element, so it adapts to padding, border radius, and live layout changes.
  • Existing content stays in place, which keeps the parent size stable during loading.
  • skeDapt still works as a legacy alias, but skedapt is the preferred API going forward.

Theme Variables

skedapt exposes its own CSS variables so consumers can theme the skeleton globally without relying on app-specific tokens:

  • --skedapt-surface
  • --skedapt-highlight
  • --skedapt-radius

Default fallbacks:

  • --skedapt-surface: #d9e6f4
  • --skedapt-highlight: rgba(255, 255, 255, 0.5)
  • --skedapt-radius: 10px

Example global setup:

:root {
  --skedapt-surface: #d9e6f4;
  --skedapt-highlight: rgba(255, 255, 255, 0.5);
  --skedapt-radius: 10px;
}

.dark-theme {
  --skedapt-surface: #1f3a40;
  --skedapt-highlight: rgba(255, 255, 255, 0.18);
}

When the app switches theme classes, the skeleton colors switch automatically too.

Optional Legacy Style Export

skedapt/styles is still published for compatibility, but importing it is optional.

Build

ng build skedapt

Publish

cd dist/skedapt
npm publish

Test

ng test