{"id":16244651,"url":"https://github.com/indexzero/npm-codependencies","last_synced_at":"2025-04-08T11:20:30.560Z","repository":{"id":17204828,"uuid":"19973238","full_name":"indexzero/npm-codependencies","owner":"indexzero","description":"Calculate codependency relationships for npm modules. ","archived":false,"fork":false,"pushed_at":"2014-10-28T21:55:25.000Z","size":488,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-04-01T18:59:02.424Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/indexzero.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}},"created_at":"2014-05-20T08:23:59.000Z","updated_at":"2024-07-03T09:11:58.000Z","dependencies_parsed_at":"2022-09-16T13:21:31.276Z","dependency_job_id":null,"html_url":"https://github.com/indexzero/npm-codependencies","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/indexzero%2Fnpm-codependencies","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/indexzero%2Fnpm-codependencies/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/indexzero%2Fnpm-codependencies/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/indexzero%2Fnpm-codependencies/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/indexzero","download_url":"https://codeload.github.com/indexzero/npm-codependencies/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247829518,"owners_count":21002997,"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":[],"created_at":"2024-10-10T14:20:05.173Z","updated_at":"2025-04-08T11:20:30.524Z","avatar_url":"https://github.com/indexzero.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# npm-codependencies\n\nAnalyze codependency relationships between package `dependencies`, `devDependencies`, `peerDependencies`, and/or `optionalDependencies`.\n\n## Usage\n\nThere are two distinct ways to use `npm-codependencies`:\n\n### 1. Use it programmatically\n\n``` js\nvar codeps = require('npm-codependencies');\n\ncodeps({\n  package:  package,\n  registry: registry,\n  skip:     skip,\n  top:      top,\n  debug:    process.env['DEBUG']\n}, function (err, results) {\n  //\n  // The returned `results` will be the set of the\n  // types of dependencies with respective counts for\n  // the co*dependencies.\n  //\n  console.dir(results.dependencies);\n  console.dir(results.devDependencies);\n});\n```\n\n### 2. Use from the command line\n\n```\nnpm install npm-codependencies -g\nnpm-codependencies -r http://skimdb.nodejitsu.com -p $PACKAGE_NAME\ncat \"$PACKAGE_NAME.json\"\n```\n\n##### License: Apache 2\n##### Author: [Charlie Robbins](https://github.com/indexzero)\n##### Contributors: [Jane Kim](https://github.com/janecakemaster)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Findexzero%2Fnpm-codependencies","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Findexzero%2Fnpm-codependencies","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Findexzero%2Fnpm-codependencies/lists"}