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

npm-telemetry

v1.1.0

Published

See what your npm dependencies are really doing — track file access, network calls, environment reads, dynamic code, and postinstall scripts before installing.

Downloads

218

Readme

📦 npm-telemetry

NPM version NPM downloads

“Dependencies should not be silent.” 💡

Ever installed an npm package and wondered…

“Wait, what exactly is this thing doing on my machine?”

npm-telemetry gives you the truth behind your dependencies—before you trust them.


💡 What It Does

  • Shows which permissions a package actually uses:

    • 🌐 Network access
    • 📁 File system read/write
    • 🔐 Environment variables
    • ⚙️ Child processes
  • Flags dynamic code execution (eval / new Function)

  • Detects postinstall scripts that run automatically

  • Calculates Analysis Coverage so you know how much we could see

Think of it as nutrition labels for npm packages: you don’t blindly trust, you inspect. 🕵️‍♂️


⚡ Installation / Usage

You don’t need to install globally—just run:

npx npm-telemetry <package_name>

Example:

npx npm-telemetry <somepackage>

Output:

🔍 Analysis Report: somepackage

Permissions:
🌐 Network: YES
📁 FS Read: NO
📁 FS Write: NO
🔐 Env Access: NO
⚙️ Child Process: NO
⚠ Dynamic code execution (eval/new Function) detected
⚠ Postinstall script detected: node index.js

📦 Programmatic Usage (New)

npm-telemetry can now be used as a Node.js library in addition to the CLI.

This allows you to integrate telemetry analysis into:

  • CI pipelines
  • Security dashboards
  • Custom scripts
  • Automated dependency checks

✅ CommonJS

const analyzePackage = require("npm-telemetry");

(async () => {
  const result = await analyzePackage("axios");

  console.log(result.coverage);
  console.log(result.report.network);
})();

✅ ES Modules (ESM)

import analyzePackage from "npm-telemetry";

const result = await analyzePackage("axios");

console.log(result.coverage);
console.log(result.report.network);

📊 Returned Object Structure

{
  package: "axios",
  coverage: 92,
  report: {
    fsRead: false,
    fsWrite: false,
    network: true,
    env: false,
    childProcess: false,
    usesEval: false,
    dynamicRequire: false,
    postinstall: null
  }
}

This makes it easy to:

  • Fail builds if certain permissions are detected
  • Build custom risk scoring
  • Store analysis results in a database
  • Compare versions of the same package

🎯 Why This Is Huge

  • Makes dependency behavior visible
  • Changes the trust model of npm
  • Forces maintainers to be explicit about what their package actually does

No more silent surprises. No more hidden horrors.


💭 Philosophy

Every dependency should answer the question:

“What am I doing on your system?”

npm-telemetry gives visibility, honesty, and peace of mind—because software should not be magic. 🧙‍♂️


⚡ Run It Now

npx npm-telemetry <package_name>

…because your dependencies deserve a nutrition label, and so do you. 🍎

👤 Author

cinfinit – part-time coder (NOT AT ALLLLLLL ;)) , full-time curiosity inspector. Building tools to peek behind the curtains of your dependencies and make npm a little less magical , more logical (and a lot safer).

When not staring at ASTs or wrangling eval, you can find me overthinking variable names and writing witty READMEs.


Changelog

[1.1.0] - 2026-02-21

Added

  • ✨ Programmatic API support (require("npm-telemetry"))
  • ✨ ES Module (ESM) support (import analyzePackage from "npm-telemetry")
  • ✨ Dual export support via exports field
  • ✨ Structured analysis result return object

Changed

  • 🔄 Refactored internal architecture to separate:

    • Core analysis engine
    • CLI presentation layer
  • 🔄 CLI now acts as a thin wrapper around the reusable analysis engine

Technical

  • Added dual entry points:

    • "main" for CommonJS
    • "exports" for ESM support
  • Improved package architecture for extensibility and CI integration