https://github.com/indexzero/npm-comp-stat-www
A set of statistical visualizations for npm packages
https://github.com/indexzero/npm-comp-stat-www
Last synced: about 1 year ago
JSON representation
A set of statistical visualizations for npm packages
- Host: GitHub
- URL: https://github.com/indexzero/npm-comp-stat-www
- Owner: indexzero
- Created: 2014-05-20T08:50:11.000Z (about 12 years ago)
- Default Branch: master
- Last Pushed: 2014-10-28T21:55:13.000Z (over 11 years ago)
- Last Synced: 2025-04-01T18:59:02.378Z (about 1 year ago)
- Language: JavaScript
- Homepage: https://github.com/indexzero/npm-comp-stat-www
- Size: 312 KB
- Stars: 2
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# npm-comp-stat-www
The web view for a comprehensive set of analysis information for npm packages and authors / domain experts.


## Usage
In order to run the web server you'll need to generate the [codependencies] and [static-stats] for the package you want to view
```
# Install npm-comp-stat-www
cd path/to/npm-comp-stat-www
npm install
# Generate the codependencies graph
./node_modules/bin/npm-codependencies -r https://skimdb.nodejitsu.com -p $PACKAGE_NAME
mv "$PACKAGE_NAME.json" public/json/codeps/
# Generate the static analysis statistics
./node_modules/bin/npm-static-stats -r http://skimdb.nodejitsu.com -p $PACKAGE_NAME
mv "$PACKAGE_NAME.json" public/json/static-stats/
# Run the server and open the page for $PACKAGE_NAME
./bin/server
open http://localhost:8080/?p=$PACKAGE_NAME
```
##### License: MIT
##### Author: [Charlie Robbins](https://github.com/indexzero)
##### Contributors: [Jane Kim](https://github.com/janecakemaster)
[codependencies]: https://github.com/indexzero/npm-codepedencies
[static-stats]: https://github.com/indexzero/npm-static-stats