项目作者: CodeDotJS

项目描述 :
:anchor: Packages count that a repository depends on!
高级语言: JavaScript
项目地址: git://github.com/CodeDotJS/dep-graph.git
创建时间: 2018-08-02T21:08:08Z
项目社区:https://github.com/CodeDotJS/dep-graph

开源协议:MIT License

下载





D E P - G R A P H






Packages count that a repository depends on!

Install

  1. $ npm install --save dep-graph-count

Usage

  1. const depGraphCount = require('dep-graph-count');
  2. depGraphCount('facebook', 'react').then(res => {
  3. console.log(res);
  4. // { repositories: '1,147,374', packages: '46,145' }
  5. // or
  6. console.log(res.repositories);
  7. // 1,147,374
  8. // or
  9. console.log(res.packages);
  10. // 46,145
  11. });

API

depGraphCount(username, repository)

depGraphCount(organization, repository)

typeof username/organization - string

tyepof repository
- string

  • depg : Command line tool to find total dependents on a repository!

License

MIT - Copyright © Rishi Giri