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

@ikenga/pkg-sales

v0.4.0

Published

Sales — Pipeline, Forecast, Won over the production sales schema. Multi-file iframe pkg; deterministic CSS vendoring build.

Readme

com.ikenga.sales

Sales domain surface for the Ikenga desktop. Pipeline (list + kanban) · Forecast · Won.

Stage enum

Per the R-04 Pipeline-stages convention (plans/atelier/06-skill-action-contract.md §Pipeline-stages), the sales domain owns the sales_deals.stage TEXT column. Values are lowercase kebab:

| Stage | Type | Description | |---|---|---| | lead | open | Unqualified opportunity | | qualified | open | Fit confirmed; demo/scoping in progress | | proposal | open | Proposal or MSA in flight | | negotiation | open | Terms under negotiation | | closing | open | Signed / countersign pending | | won | terminal | Deal closed-won | | lost | terminal | Deal closed-lost |

The Won view (?view=2) queries sales_deals WHERE stage = 'won'. There is no sales_deals_won table — won deals are rows on sales_deals filtered by stage.

Migration

0043_sales_domain.sql — adds app-layer columns to sales_deals:

ALTER TABLE sales_deals ADD COLUMN title TEXT;
ALTER TABLE sales_deals ADD COLUMN owner TEXT;
ALTER TABLE sales_deals ADD COLUMN next_action TEXT;
ALTER TABLE sales_deals ADD COLUMN next_action_mode TEXT;   -- confirm | silent | approve
ALTER TABLE sales_deals ADD COLUMN win_probability REAL;

No stored age_days — derived client-side from days_in_stage (existing column) or stage_entered_date.

Views

| View | URL param | Description | |---|---|---| | Pipeline — list | ?view=0 (default) | Deal rows grouped by stage; .ip-split list + detail | | Pipeline — kanban | ?view=0 + seg toggle | .kb-col columns per stage; drag to advance | | Forecast | ?view=1 | KPI cells + weighted funnel + expected-close bar chart | | Won | ?view=2 | KPI cells + table of stage='won' deals |

CSS naming

  • Kit classes: .frame* · .dense-row--pipeline · .ip-split* · .split-row* · .kb-* · .nav-group[data-kind] · .atelier-state.is-* · .tag · .chip · .btn* · .seg*
  • Domain residue (.sl-*): .sl-forecast-* · .sl-kpi-* · .sl-funnel-* · .sl-month-* · .sl-won-* · .sl-won-badge · .sl-won-amt

Workspace tint

data-workspace="sessions" — warm amber-ochre active nav indicator; differentiates from mail (amber) and outbound (red-orange).

Data sources

Tables declared in manifest.json sqlite.tables:

  • sales_deals — primary pipeline; app-layer columns added by 0043_sales_domain.sql
  • sales_activities — deal activity timeline in the detail pane
  • sales_forecasts — Forecast view KPIs (falls back to client-side aggregation)
  • sales_lead_scores — optional deal row score display
  • contacts — resolves contact name/email for deal rows