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

b2b-tools

v0.1.3

Published

[![Angular](https://img.shields.io/badge/Angular-21-red?logo=angular)](https://angular.io/) [![License](https://img.shields.io/badge/license-MIT-green)](LICENSE) [![npm version](https://img.shields.io/npm/v/b2b-tools.svg)](https://www.npmjs.com/package/

Downloads

776

Readme

Angular License npm version Build Status

b2b-tools is a reusable Angular 21 standalone component library designed for scalable, enterprise-ready UI components.


🔗 Repository

The source code for this library is hosted on GitHub:

👉 https://github.com/LuisEmilianoCortes/b2b-tools


🏗️ Technology Stack

  • Angular 21
  • Standalone Components
  • Signals-based state management
  • Strict TypeScript
  • CSS variable theming

📚 Index


🧩 Components

The library currently provides the following core components:


🔹 AdvancedTableComponent

A modular and extensible data table component designed for structured data visualization.

Features

  • Strongly typed column configuration
  • Sorting support
  • Pagination support
  • Flexible cell rendering
  • Standalone usage
  • Domain-agnostic design

Basic Usage

import { AdvancedTableComponent } from 'b2b-tools';
<advanced-table [columns]="columns" [rows]="rows"></advanced-table>

🔹 AdvancedCardComponent

A highly configurable, domain-agnostic card component designed to display summary information and expandable detailed content.

Features

  • Compact and expanded modes
  • Inline / Drawer / Modal expansion
  • Highlight metrics
  • Summary blocks
  • Header actions
  • Tab system
  • Template projection
  • CSS variable theming
  • Signals-based internal state

Basic Usage

import { AdvancedCardComponent } from 'b2b-tools';
<advanced-card
  [config]="cardConfig"
  (action)="onHeaderAction($event)"
  (tabChanged)="onTabChanged($event)"
  (tabAction)="onTabAction($event)"
>
  <ng-template advancedCardTemplate="example" let-cardId="cardId" let-tabId="tabId">
    <div>Example content for {{ cardId }} (tab: {{ tabId }})</div>
  </ng-template>
</advanced-card>

🎨 Theming

Both components support CSS variables for styling customization.

Example:

<advanced-card
  [config]="cardConfig"
  style="--ac-primary: #f58026; --ac-radius: 18px; --ac-overlay: rgba(0,0,0,.55)"
></advanced-card>

Common tokens:

  • --ac-primary
  • --ac-radius
  • --ac-overlay
  • --ac-surface
  • --ac-border
  • --ac-text

📐 Design Principles

  • Domain-agnostic
  • Strongly typed configuration
  • Projection-based extensibility
  • Composable architecture
  • Enterprise-ready scalability
  • Minimal coupling

🔮 Future Enhancements

  • Animation support
  • Accessibility improvements
  • Storybook documentation
  • Public API documentation
  • Context generics support