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

@techleads.fyi/api

v0.3.1

Published

TechLeads API v3 SDK and CLI — website lookup, lead search, enrichment, bulk jobs

Readme

@techleads.fyi/api

TechLeads API v3 SDK + CLI (tlf / techleads) — website lookup, lead search, domain enrichment, and bulk jobs.

Install

npm i @techleads.fyi/api
# global CLI
npm i -g @techleads.fyi/api
# or one-off
npx tlf -d example.com

SDK

import { TechLeads } from '@techleads.fyi/api'

const tl = new TechLeads({ apiKey: process.env.TECHLEADS_API_KEY })

// Website lookup (1 credit; free within 30 days of a prior charge)
const r = await tl.lookup('example.com')
console.log(r.technologies, r.technology_spend)

await tl.lookupBatch(['shopify.com', 'stripe.com'])

// Lead search — count/sample free; results = 1 credit per website
const count = await tl.leadsSearch({
  mode: 'count',
  technologies: ['Shopify', 'Klaviyo'],
  country: 'DE',
})
const leads = await tl.leadsSearch({
  mode: 'results',
  technologies: 'Shopify',
  country: 'US',
  limit: 100,
})

// Enrich domains from the index (or refresh: 'live')
await tl.leadsDomains({ domains: ['shopify.com', 'kinsta.com'], refresh: 'cached' })

// Async bulk lookup (up to 10,000)
const job = await tl.startBulkLookup(['a.com', 'b.com'])
await tl.getBulkJob(job.data!.job_id)

const account = await tl.account()

Base URL defaults to https://techleads.fyi/api/v3.

CLI

tlf login
tlf -d example.com
tlf -d example.com,x.com --format table
tlf -i domains.txt -o out.csv --format csv
tlf -d example.com --json
tlf -d example.com --names
tlf -u

# Lead search
tlf search --tech Shopify --country DE --mode count
tlf search --tech Shopify,Klaviyo --country DE --mode sample
tlf search --tech Shopify --country US --limit 50

# Domain enrichment
tlf domains shopify.com,kinsta.com
tlf domains -i domains.txt --refresh live

# Bulk jobs
tlf bulk -i domains.txt
tlf bulk-status <job_id>
tlf bulk-results <job_id>
tlf bulk-download <job_id> -o out.csv

| Flag / command | Meaning | |------|---------| | -d / --domains | Comma-separated domains | | -i / --input | File, one domain per line | | -o / --output | Write to file | | --format text\|table\|csv\|json | Output format (default text) | | --json | Same as --format json | | --names | Names only (lookup) | | --fresh | Rescan now | | search | Lead search (--tech, --country, --mode, …) | | domains | Enrich domains | | bulk / bulk-status / bulk-results / bulk-download / bulk-cancel | Async bulk jobs | | --key | API key override | | -u / whoami | Account + credits |

Config: ~/.config/techleads/config.json or TECHLEADS_API_KEY.

Docs: https://techleads.fyi/developers

Development

git clone [email protected]:techleads-fyi/api.git
cd api
npm i
npm run build
node bin/tlf.js -h

Publish (maintainers): npm publish --access public (runs prepublishOnly → tsc).