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

nq-skeleton-loader

v0.0.1

Published

A highly flexible wrapper around generic PrimeNG skeleton utilities (`p-skeleton`, `p-table`) that helps rapidly scaffold different types of loading states for your UI.

Downloads

84

Readme

NqSkeletonLoadingComponent

A highly flexible wrapper around generic PrimeNG skeleton utilities (p-skeleton, p-table) that helps rapidly scaffold different types of loading states for your UI.

Features

  • Pre-configured Patterns: Provides 'list', 'card', 'table', and 'line' pre-configured arrangements.
  • Signal-Based: Powered entirely by modern Angular inputs and natively optimized computed properties.
  • Custom Sizing & Shapes: Easily manipulate dimensions, shapes, and counts without worrying about deeply nested CSS.

Usage

Basic Patterns

Show a basic list skeleton (default)

<nq-skeleton-loading type="list" [count]="5" />

Show a complex card/profile skeleton

<nq-skeleton-loading type="card" [count]="2" />

Show a complete table skeleton layout

<nq-skeleton-loading type="table" [count]="10" [columns]="6" />

Options & Inputs

| Input | Type | Default | Description | |-------|------|---------|-------------| | type | 'line' \| 'card' \| 'table' \| 'list' | 'list' | Dictates which rendering template / shape matrix is selected. | | count | number | 5 | Specifies how many repeated items are shown. (Acts as rows for table and generic repeating items for list and card). | | columns | number | 4 | specifically dictates column headers/cells length when type is table. | | width | string \| undefined | undefined | Passes a distinct width (e.g. '100%', '200px') | | height | string \| undefined | undefined | Passes a distinct height (e.g. '30px') | | size | string \| undefined | undefined | Shorthand identical width/height useful mainly for circle shapes. | | shape | 'rectangle' \| 'circle' | 'rectangle' | Geometry format of the inline skeletons. | | borderRadius | string \| undefined | undefined | Fine-grained control over border radius on blocks. | | animation | 'wave' \| 'none' | 'wave' | Controls the ambient CSS glowing motion on the skeletons. | | containerClass | string | '' | Applies classes to the outer wrapper elements enclosing the repeating nodes. | | styleClass | string | '' | Applies class strings directly onto the inner low-level p-skeleton directives. |

Note on Container vs Style Classes

  • containerClass: Ideal for spacing layouts for entire lists.
  • styleClass: Ideal when you are tweaking margins on singular repeated line or list skeleton elements.