graphcommons/npm-dependency-network

Name: npm-dependency-network

Owner: Graph Commons

Description: Mapping the dependency of Javascript packages.

Created: 2016-03-31 19:02:03.0

Updated: 2017-11-19 12:36:50.0

Pushed: 2016-03-31 20:19:18.0

Homepage:

Size: 5

Language: Python

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

NPM Dependency Network

A python script that fetches an npm module and it's dependencies. Creates a graph on graphcommons.com and returns the url of created graph.

Usage
thon fetch.py --access_token=[YOUR_GRAPHCOMMONS_ACCESS_TOKEN] --depth=3 --package_name=react

ted Graph URL:
s://graphcommons.com/graphs/c8522ab2-35db-43c4-aa75-0b9de7280cba
Options
access_token
  API Access to use Graph Commons API. You can get this token from 
  your profile page on graphcommons.com

package_name
  NPM package that will be fetched

depth
  Max depth of dependencies

This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.