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

leadstrategist

v0.1.0

Published

Read-only CLI for Danish company data (CVR) and annual-report financials from Lead Strategist: look up companies, search by industry/size/revenue, fetch financials.

Downloads

178

Readme

leadstrategist

Command-line access to Danish company data (CVR) and structured annual-report financials from Lead Strategist. Look up any company by CVR number, search by name, industry, size or revenue, and pull financial history, from your terminal or scripts.

  • Read-only. The CLI only reads data. It can't change anything in the data or your account.
  • Around 948,000 Danish companies; annual-report figures (revenue, gross profit, EBIT, net income, equity, assets, employees) for around 460,000 of them.
  • No dependencies. Node.js 20 or newer.

Install

npm i -g leadstrategist        # then: leadstrategist --help
# or run without installing:
npx leadstrategist --help

Get an API key (free trial)

  1. Sign up at https://leadstrategist.dk/login?mode=signup and confirm your email.
  2. Under Konto / Account, create an API key (ls_live_...).

New accounts get a one-off free 14-day trial with 2,000 credits (as of 1 Oct 2026; the current numbers are always on https://leadstrategist.dk/en/pricing). Once card payments are open, a payment card is required to start the trial: you add it under Konto / Account (0 kr is charged), the 14 days start that day, and if you cancel before day 14 ends, nothing is charged; otherwise it continues as the plan you chose. Until payments open, no card is needed and the 14 days start at your first successful call. Every successful lookup costs 1 credit. Failed lookups (errors, unknown CVR) cost nothing. The trial is shared with the Lead Strategist MCP server and REST API, and there is one trial per company email domain. whoami, health and login are not metered. There is no lasting free plan. After the trial, you need prepaid credits or a plan (see https://leadstrategist.dk/priser; payments are not open yet). whoami shows your own limit.

Log in

leadstrategist login          # paste your key (input is hidden); it is checked, then saved
leadstrategist whoami         # plan and remaining calls

The key is saved with file mode 600 in ~/.config/leadstrategist/config.json (Linux), ~/Library/Application Support/leadstrategist/config.json (macOS) or %APPDATA%\leadstrategist\config.json (Windows). In CI, set LEADSTRATEGIST_API_KEY instead.

Examples

# Company card by CVR number (1 call)
leadstrategist company 10007127

# Financial history, newest first; one fiscal year (1 call)
leadstrategist financials 10007127
leadstrategist financials 10007127 --year 2024

# Search (1 call): name, industry code, industry text, size, revenue
leadstrategist search --name novo --limit 5
leadstrategist search --industry-code 620100 --min-employees 50 --max-employees 250
leadstrategist search --industry software --min-revenue 10000000 --limit 10
leadstrategist search --industry-code 620100 --offset 20      # next page

# JSON for scripts
leadstrategist company 10007127 --json | jq -r .data.company_name

Search leaves out companies with reklamebeskyttelse (Danish marketing protection) unless you pass --include-protected. Protected companies are always flagged and must not be contacted for marketing.

Commands

| Command | What it does | Metered | |---|---|---| | login [--key KEY] | Check and save your API key | no | | logout | Delete the saved key | no | | whoami (alias usage) | Plan, calls used/remaining, trial dates | no | | health | API status | no | | company <cvr> | Company snapshot | 1 call | | financials <cvr> [--year Y] [--limit N] | Annual-report financials | 1 call | | search [filters] | Company search | 1 call |

Search filters: --name, --industry-code, --industry, --status, --min-employees, --max-employees, --min-revenue, --max-revenue (DKK), --municipality (kommune name or code, e.g. Aarhus or 751), --city (postal town prefix or postnummer, e.g. 8000), --region, --include-protected, --limit (1–50), --offset. Global options: --json, --key, --api-url / --base-url, -h/--help, -v/--version.

Environment variables: LEADSTRATEGIST_API_KEY, LEADSTRATEGIST_API_URL (default https://leadstrategist.dk/api/v1; a bare https://leadstrategist.dk works too), LEADSTRATEGIST_CONFIG_DIR.

Exit codes: 0 ok · 1 error · 2 usage error · 3 missing/invalid key · 4 trial/quota used up · 5 not found.

Links

  • Sign up: https://leadstrategist.dk/login?mode=signup
  • REST API (OpenAPI 3.1): https://leadstrategist.dk/api/v1/openapi.json
  • Docs, including MCP setup for ChatGPT, Claude and Cursor: https://leadstrategist.dk/docs
  • Contact: [email protected]

Data licence: Data from the Danish Central Business Register (CVR), Danish Business Authority, CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Credit the source when you reuse the data.

MIT License.