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

linkedin-cli

v1.0.0

Published

LinkedIn data extraction CLI - Fetch profiles, companies, jobs, and posts. Professional networking OSINT tool.

Readme

linkedin-cli

LinkedIn data extraction CLI. Fetch profiles, companies, jobs, and posts.

Installation

npm install -g linkedin-cli

Setup

LinkedIn requires authentication. Export your session cookie:

linkedin-cli auth
# Follow prompts to enter cookie from browser

Or set environment variable:

export LINKEDIN_COOKIE="your-li_at-cookie-value"

Usage

# Profile lookup
linkedin-cli profile satyanadella

# Company info
linkedin-cli company microsoft

# Job search
linkedin-cli jobs "software engineer" --location "San Francisco"

# Posts from a user
linkedin-cli posts elonmusk --limit 20

Commands

profile <username>

Get LinkedIn profile data.

linkedin-cli profile satyanadella
linkedin-cli profile username --experience
linkedin-cli profile username --education
linkedin-cli profile username --full

Options:

  • --experience - Include work experience
  • --education - Include education history
  • --skills - Include skills & endorsements
  • --full - Include everything

company <name>

Get company information.

linkedin-cli company microsoft
linkedin-cli company google --employees
linkedin-cli company startup-name --jobs

Options:

  • --employees - List employees (limited)
  • --jobs - Show open positions
  • --about - Company details and stats

jobs <query>

Search for jobs.

linkedin-cli jobs "react developer"
linkedin-cli jobs "data scientist" --location "New York"
linkedin-cli jobs "devops" --remote
linkedin-cli jobs "product manager" --experience entry

Options:

  • --location <place> - Filter by location
  • --remote - Remote jobs only
  • --experience <level> - entry, associate, mid, senior, director
  • --posted <time> - Past 24h, week, month
  • --limit <n> - Number of results

posts <username>

Get user's posts and activity.

linkedin-cli posts satyanadella
linkedin-cli posts username --limit 50
linkedin-cli posts username --reactions

Options:

  • --limit <n> - Number of posts (default: 20)
  • --reactions - Include reaction counts

search <query>

Search people.

linkedin-cli search "software engineer"
linkedin-cli search "CTO" --company google
linkedin-cli search "recruiter" --location "Austin"

Options:

  • --company <name> - Filter by company
  • --location <place> - Filter by location
  • --limit <n> - Number of results

Output Formats

# JSON (default)
linkedin-cli profile username

# Table view
linkedin-cli jobs "developer" -o table

# Save to file
linkedin-cli company microsoft --save company.json

Example Output

{
  "profile": {
    "name": "Satya Nadella",
    "headline": "Chairman and CEO at Microsoft",
    "location": "Greater Seattle Area",
    "connections": "500+",
    "followers": "10M",
    "about": "...",
    "experience": [
      {
        "title": "Chairman and CEO",
        "company": "Microsoft",
        "duration": "10 yrs",
        "location": "Redmond, Washington"
      }
    ]
  }
}

Rate Limiting

LinkedIn has strict rate limits. Built-in delays help avoid blocks:

linkedin-cli search "developer" --delay 3000  # 3s between requests

⚠️ Important Notes

  • Requires valid LinkedIn session cookie
  • Respect LinkedIn's Terms of Service
  • Use reasonable rate limits
  • For personal/research use only

Why linkedin-cli?

  • Powerful - Profiles, companies, jobs, posts
  • Structured data - Clean JSON output
  • Scriptable - Automate research workflows
  • Multiple formats - JSON, CSV, table output

Built by LXGIC Studios

🔗 GitHub · Twitter