Skip to content

CodeDotJS/dep-graph

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation


D E P - G R A P H

Packages count that a repository depends on!

Install

$ npm install --save dep-graph-count

Usage

const depGraphCount = require('dep-graph-count');

depGraphCount('facebook', 'react').then(res => {
  console.log(res);
  //  { repositories: '1,147,374', packages: '46,145' }

  // or

  console.log(res.repositories);
  // 1,147,374

  // or

  console.log(res.packages);
  // 46,145
});

API

depGraphCount(username, repository)

depGraphCount(organization, repository)

typeof username/organization - string

tyepof repository - string

Related

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

License

MIT - Copyright © Rishi Giri

About

⚓ Packages count that a repository depends on!

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published