npm-insights

2.0.1 • Public • Published

logo

📦🔮📦 npm-insights 📦🔮📦

npm version Build Status code style: prettier

Purpose

👉 npm-insights will let you see more accurately how your packages are used by others

Installation

Install npm-insights into the package you want to get analytics for.

npm i --save npm-insights

Configuration

Add a postinstall script to your package.json "scripts"

},
  "scripts": {
    "postinstall": "npm-insights:log"
  }
}

⚠️ Don't forget to bump the version of your package and publish to npm registry the new version with npm-insights ⚠️

Visualization

That's it! Go to https://npm-insight-app.now.sh/ [your_package_name] (like https://npm-insight-app.now.sh/react-styled-toggle for example) and you should now be able to visualize something like this:

landing

home1

home2

/npm-insights/

    Package Sidebar

    Install

    npm i npm-insights

    Weekly Downloads

    11

    Version

    2.0.1

    License

    ISC

    Unpacked Size

    17 kB

    Total Files

    8

    Last publish

    Collaborators

    • guillaumemorin