npm-comp-stat-www

1.4.0 • Public • Published

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
Author: Charlie Robbins
License: MIT

Readme

Keywords

none

Package Sidebar

Install

npm i npm-comp-stat-www

Weekly Downloads

0

Version

1.4.0

License

MIT

Last publish

Collaborators

  • indexzero