{"id":23201149,"url":"https://github.com/codedotjs/dep-graph","last_synced_at":"2025-10-13T22:02:20.556Z","repository":{"id":87437303,"uuid":"143345094","full_name":"CodeDotJS/dep-graph","owner":"CodeDotJS","description":":anchor: Packages count that a repository depends on!","archived":false,"fork":false,"pushed_at":"2018-08-02T21:56:30.000Z","size":5,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-20T00:41:17.651Z","etag":null,"topics":["dependents","package","repository"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/CodeDotJS.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-08-02T21:08:08.000Z","updated_at":"2018-08-02T21:56:31.000Z","dependencies_parsed_at":"2023-04-20T16:31:50.502Z","dependency_job_id":null,"html_url":"https://github.com/CodeDotJS/dep-graph","commit_stats":{"total_commits":10,"total_committers":1,"mean_commits":10.0,"dds":0.0,"last_synced_commit":"8b494aea6de83993820ba26f5ca620eb588f5630"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CodeDotJS%2Fdep-graph","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CodeDotJS%2Fdep-graph/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CodeDotJS%2Fdep-graph/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CodeDotJS%2Fdep-graph/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/CodeDotJS","download_url":"https://codeload.github.com/CodeDotJS/dep-graph/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247314677,"owners_count":20918886,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["dependents","package","repository"],"created_at":"2024-12-18T15:13:59.542Z","updated_at":"2025-10-13T22:02:20.505Z","avatar_url":"https://github.com/CodeDotJS.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n\u003cbr\u003e\n\t\u003cb\u003eD E P - G R A P H\u003c/b\u003e\n\t\u003cbr\u003e\n\t\u003cbr\u003e\n\t\u003ca href=\"https://travis-ci.org/CodeDotJS/dep-graph\"\u003e\u003cimg src=\"https://travis-ci.org/CodeDotJS/dep-graph.svg?branch=master\"\u003e\u003c/a\u003e\n\t\u003cimg src=\"https://img.shields.io/badge/code_style-XO-5ed9c7.svg\"\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003ePackages count that a repository depends on!\u003c/p\u003e\n\n\n\n### Install\n\n```\n$ npm install --save dep-graph-count\n```\n\n### Usage\n\n```js\nconst depGraphCount = require('dep-graph-count');\n\ndepGraphCount('facebook', 'react').then(res =\u003e {\n  console.log(res);\n  //  { repositories: '1,147,374', packages: '46,145' }\n\n  // or\n\n  console.log(res.repositories);\n  // 1,147,374\n\n  // or\n\n  console.log(res.packages);\n  // 46,145\n});\n```\n\n\n### `API`\n\n#### __`depGraphCount(username, repository)`__\n\n\n#### __`depGraphCount(organization, repository)`__\n\n\n__`typeof`__ `username/organization`  __-__ __`string`__\n\n__`tyepof`__ `repository`\n __-__ __`string`__\n\n\n### Related\n\n- __[`depg`](https://github.com/CodeDotJS/depg)__ `:` `Command line tool to find total dependents on a repository!`\n\n## License\n\nMIT - Copyright \u0026copy; [Rishi Giri](http://rishi.ml)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodedotjs%2Fdep-graph","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcodedotjs%2Fdep-graph","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodedotjs%2Fdep-graph/lists"}