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

@faskai/ui-commons

v0.0.0-alpha.23

Published

Common UI components for Fask applications.

Readme

Fask UI Commons

A collection of reusable React components and data exports for Fask applications.

Data Exports

Beta Marketing Content

Centralized marketing content for Beta features and offers that can be used across different projects with client-specific styling.

betaMarketingFeatures

Array of feature objects with emoji, title, and description:

import { betaMarketingFeatures } from '@faskai/ui-commons';

// Each feature contains:
// { emoji: string, title: string, description: string }

Features included:

  • Fastest Voice - Industry-leading response times
  • 🧠 Self-Learning - Fine-tune with your data
  • 👆 Easiest Setup - 1-click deployment worldwide
  • 🌍 Any Language - Human-sounding in 100+ languages
  • 🎥 Truly Multi-Modal - Voice, Video, and Text channels
  • 📈 Massively Scalable - Unlimited concurrent calls and agents

betaOfferData

Beta launch offer content with structured data:

import { betaOfferData } from '@faskai/ui-commons';

// Contains:
// - badge: "LIMITED TIME"
// - title: "🚀 Beta Launch Special"
// - description: string
// - callouts: Array<{emoji, title, description}>
// - cta: {text, url}
// - disclaimer: string

Callouts included:

  • 💰 50% OFF First Year - Exclusive Beta pricing
  • 🤝 Priority Support - Direct access to founders

Usage Example

import { betaMarketingFeatures, betaOfferData } from '@faskai/ui-commons';

function BetaFeatures() {
  return (
    <section>
      {/* Features */}
      {betaMarketingFeatures.map((feature) => (
        <div key={feature.title}>
          <span>{feature.emoji}</span>
          <h3>{feature.title}</h3>
          <p>{feature.description}</p>
        </div>
      ))}
      
      {/* Beta Offer */}
      <div>
        <h2>{betaOfferData.title}</h2>
        <p>{betaOfferData.description}</p>
        {betaOfferData.callouts.map((callout) => (
          <div key={callout.title}>
            <span>{callout.emoji}</span>
            <h4>{callout.title}</h4>
            <p>{callout.description}</p>
          </div>
        ))}
        <a href={betaOfferData.cta.url}>{betaOfferData.cta.text}</a>
      </div>
    </section>
  );
}

Components

GTMProvider

Google Tag Manager integration for tracking and analytics.

import { GTMProvider } from '@faskai/ui-commons';

function App() {
  return (
    <GTMProvider gtmId="GTM-K62S389H">
      {/* Your app content */}
    </GTMProvider>
  );
}

Installation

npm install @faskai/ui-commons
# or
yarn add @faskai/ui-commons

Dependencies

  • React 18+
  • No styling dependencies (bring your own CSS framework)

License

Private - Fask AI

Tracking Events

import { trackEvent, trackConversion, trackLinkedInConversion } from '@faskai/ui-commons';

// Track custom events
trackEvent('button_click', { button_name: 'signup' });

// Track Google Ads conversions
trackConversion('AW-17123441126', 'DshBCLKT8s4aEObzi-U_');

// Track LinkedIn conversions
trackLinkedInConversion('123456789');

Development

# Install dependencies
yarn install

# Build the package
yarn build

# Watch for changes
yarn dev

Publishing

# Build and publish to npm
yarn build
yarn publish

Design Philosophy

This package follows a data-driven approach:

  • Content centralization: Marketing copy and data managed in one place
  • Styling flexibility: Each project implements its own design system
  • Type safety: Full TypeScript support for all exports
  • Zero styling opinions: No CSS dependencies or styling conflicts

Adding New Data

  1. Create your data export in src/data/
  2. Export it from src/index.ts
  3. Build the package with yarn build
  4. Import and use in your client projects with custom styling

Current Exports

  • GTMProvider: Google Tag Manager integration
  • betaMarketingFeatures: Beta feature content array
  • betaOfferData: Beta offer structured data
  • trackEvent: Custom event tracking
  • trackConversion: Google Ads conversion tracking
  • trackLinkedInConversion: LinkedIn Ads conversion tracking
  • trackLinkedInLead: LinkedIn lead tracking