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

pipeview-cli

v1.0.0

Published

Sales pipeline CLI — contacts, deals, pipeline analysis, forecasting across HubSpot and Pipedrive from your terminal

Readme

Sales pipeline CLI — inspect contacts, deals, pipelines, and activity feeds across HubSpot and Pipedrive from your terminal. Pro features include revenue forecasting, deal scoring, churn detection, cohort analysis, hygiene reports, and cross-CRM sync.

Architecture

graph TD
    CLI[pipeview CLI] --> FREE[Free Commands]
    CLI --> PRO[Pro Commands]
    FREE --> C[contacts]
    FREE --> D[deals]
    FREE --> P[pipeline]
    FREE --> S[search]
    FREE --> A[activity]
    FREE --> T[timeline]
    PRO --> F[forecast]
    PRO --> SC[score]
    PRO --> CH[churn]
    PRO --> CO[cohort]
    PRO --> H[hygiene]
    PRO --> SY[sync]
    C & D & P & S & A & T & F & SC & CH & CO & H --> HS[HubSpotAdapter]
    C & D & P & S & A & T & F & SC & CH & CO & H --> PD[PipedriveAdapter]
    SY --> HS
    SY --> PD

Installation

npm install -g pipeview-cli

Quick Start

# Set credentials
export HUBSPOT_ACCESS_TOKEN=your-private-app-token
# or
export PIPEDRIVE_API_TOKEN=your-api-token
export PIPEDRIVE_COMPANY_DOMAIN=yourcompany

# List contacts
pipeview contacts --provider hubspot

# List open deals
pipeview deals --provider pipedrive --stage "Proposal Made"

# View pipeline structure
pipeview pipeline --provider hubspot

# Search contacts
pipeview search --provider hubspot "acme"

# Activity feed
pipeview activity --provider pipedrive --deal 101

# Contact timeline
pipeview timeline --provider hubspot contact-id-here

Commands

Free

| Command | Description | |---------|-------------| | pipeview contacts | List contacts with stage/owner filters | | pipeview deals | List open deals with stage/pipeline filters | | pipeview pipeline | View pipeline structure and stages | | pipeview search <query> | Search contacts by name/email | | pipeview activity | Activity feed (calls, emails, meetings) | | pipeview timeline <contact-id> | Full activity timeline for a contact |

Pro (requires PRO_LICENSE=CPK-...)

| Command | Description | |---------|-------------| | pipeview forecast | Weighted revenue forecast — 3 scenarios | | pipeview score | Deal health score 0-100 with risk factors | | pipeview churn | At-risk customer detection | | pipeview cohort | Customer cohort analysis by acquisition month | | pipeview hygiene | CRM data quality report (duplicates, stale deals) | | pipeview sync | Dry-run diff between two CRMs |

All commands support --json for machine-readable output.

Authentication

| Provider | Required env vars | |----------|------------------| | HubSpot | HUBSPOT_ACCESS_TOKEN | | Pipedrive | PIPEDRIVE_API_TOKEN + PIPEDRIVE_COMPANY_DOMAIN | | Salesforce | SALESFORCE_ACCESS_TOKEN + SALESFORCE_INSTANCE_URL |

Examples

Forecast (Pro)

export PRO_LICENSE=CPK-your-license-key
pipeview forecast --provider hubspot --months 6
pipeview forecast --provider hubspot --json | jq '.scenarios[1].total_value'

Score (Pro)

pipeview score --provider pipedrive
pipeview score --provider hubspot --deal deal-id-123

Churn (Pro)

pipeview churn --provider hubspot --days 14

Hygiene (Pro)

pipeview hygiene --provider pipedrive --json | jq '.summary'

Sync (Pro)

pipeview sync --source hubspot --target pipedrive

Development

npm install
npm run build
npm test

License

MIT — Pro features require a license key from craftpipe.dev.