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

the-angular

v0.0.14

Published

Angular UI building blocks, dialogs, tables, and form utilities.

Readme

the-angular

Angular-ready UI primitives and utilities extracted from the Rentzoma admin surface. The package bundles:

  • Standalone layout building blocks (sidenav, headers, skeletons, footers)
  • Form builders and dynamic form controllers
  • Data tables, upload flows, and dialog helpers
  • Shared services (authentication, IndexedDB, REST helpers, Paytm checkout, etc.)
  • Typed interfaces for menus, dialogs, login state, and NGXS actions

Use it to bootstrap a dashboard/Admin app without re-building the same UX scaffolding.

Installation

npm install the-angular
# or
yarn add the-angular

Peer dependencies

the-angular assumes you already ship with Angular & Angular Material:

| Package | Tested version | | --- | --- | | @angular/core, @angular/common, @angular/router, @angular/forms | ^21.0.0 | | @angular/material | ^17.0.0 | | @ngxs/store (if you use the NGXS helpers) | ^4.0.0 |

If your Angular workspace already exposes a path alias for the library, nothing else is required. Otherwise add "paths": {"the-angular": ["./node_modules/the-angular/public-api"]} inside your tsconfig.

What's inside?

| Area | Highlights | | --- | --- | | Layout | SidenavComponent, PageTitleComponent, HeaderComponent, FooterComponent, skeleton loaders, sticky action bar | | Forms | FormDynamicComponent, InputDynamicComponent, helpers for dropdowns, chip inputs, validation binding and dialog-driven forms | | Dialogs | Login dialog, confirm/select image dialogs powered by Angular Material | | Tables & Lists | TableMaterialComponent, paginator helpers, sort utility | | Uploads | Opinionated image picker + drag-n-drop directive, snack-bar feedback | | Services | AuthService, DialogService, DynamicFormService, FormDataService, IndexedDBService, Paytm checkout client, etc. | | Interfaces | Menu + action contracts, dialog payloads, login state, NGXS actions |

Everything is exported via public-api.ts, so consumers can cherry-pick what they need:

import { SidenavComponent, Menu, FormDynamicComponent } from 'the-angular';

Quick start

1. Admin shell with sidenav

// app.component.ts
import { Component } from '@angular/core';
import { SidenavComponent, Menu } from 'the-angular';

@Component({
  standalone: true,
  imports: [SidenavComponent],
  template: `<the-sidenav [menus]="menus"><router-outlet /></the-sidenav>`
})
export class AppComponent {
  menus: Menu[] = [
    { name: 'Dashboard', route: '/' },
    { name: 'Clients', route: '/clients', child: [{ name: 'Add', route: '/clients/add' }] },
  ];
}

2. Dynamic form workflow

import { Component } from '@angular/core';
import { FormDynamicComponent, FormBase } from 'the-angular';

@Component({
  standalone: true,
  imports: [FormDynamicComponent],
  template: `<the-form-dynamic [inputs]="fields" (formOutput)="save($event)"></the-form-dynamic>`
})
export class ProfileFormComponent {
  fields: FormBase[] = [
    { key: 'name', controlType: 'textbox', label: 'Full name', validators: ['required'] },
    { key: 'active', controlType: 'toggle', label: 'Active user', value: true },
  ];

  save(payload: Record<string, unknown>): void {
    // send to API
  }
}

Development & publishing

  1. Install workspace dependencies
    npm install
  2. Build the library (outputs to dist/the-angular)
    npx ng build the-angular
  3. Test any consuming Angular app via the workspace path alias (see angular/tsconfig.json).
  4. Publish when ready
    cd dist/the-angular
    npm publish --access public

Contributing / extending

  • Keep exports curated in public-api.ts – anything not exported is considered internal.
  • Add usage notes or API docs for new modules to this README.
  • Prefer standalone components to cut down on extra NgModule wiring.

Issues & PRs are welcome via the GitHub project referenced in package.json.