Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/guillaumemorin/npm-insights
📦🔮📦 More accurate view on how your packages are used 📦🔮📦
https://github.com/guillaumemorin/npm-insights
analytics download insights npm real-time
Last synced: 2 months ago
JSON representation
📦🔮📦 More accurate view on how your packages are used 📦🔮📦
- Host: GitHub
- URL: https://github.com/guillaumemorin/npm-insights
- Owner: guillaumemorin
- Created: 2018-06-08T22:12:27.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2023-01-04T03:32:08.000Z (about 2 years ago)
- Last Synced: 2024-10-04T16:06:47.733Z (3 months ago)
- Topics: analytics, download, insights, npm, real-time
- Language: JavaScript
- Homepage: https://npm-insights-app.now.sh/
- Size: 2.26 MB
- Stars: 6
- Watchers: 3
- Forks: 1
- Open Issues: 15
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
📦🔮📦 npm-insights 📦🔮📦
## 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-insights-app.now.sh/ **[your_package_name]** (like **https://npm-insights-app.now.sh/react-styled-toggle** for example) and you should now be able to visualize something like this:
![landing](/docs/landing.png)
![home1](/docs/home1.png)
![home2](/docs/home2.png)