Skip to content

๐Ÿ“ฆ๐Ÿ”ฎ๐Ÿ“ฆ More accurate view on how your packages are used ๐Ÿ“ฆ๐Ÿ”ฎ๐Ÿ“ฆ

Notifications You must be signed in to change notification settings

guillaumemorin/npm-insights

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

46 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

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-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

home1

home2

About

๐Ÿ“ฆ๐Ÿ”ฎ๐Ÿ“ฆ More accurate view on how your packages are used ๐Ÿ“ฆ๐Ÿ”ฎ๐Ÿ“ฆ

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published