{"id":15686236,"url":"https://github.com/doowb/npm-api-dependents","last_synced_at":"2025-07-04T22:34:50.966Z","repository":{"id":65990626,"uuid":"54594342","full_name":"doowb/npm-api-dependents","owner":"doowb","description":"npm-api plugin for streaming an npm module's dependents information","archived":false,"fork":false,"pushed_at":"2017-12-27T19:18:21.000Z","size":16,"stargazers_count":9,"open_issues_count":1,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-06-12T04:43:24.144Z","etag":null,"topics":["api","dependents","download-stats","javascript","modules","nodejs","npm","npm-api","repos","streaming","streams"],"latest_commit_sha":null,"homepage":"https://github.com/doowb","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/doowb.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":"2016-03-23T21:29:47.000Z","updated_at":"2019-09-26T21:17:27.000Z","dependencies_parsed_at":"2023-05-23T00:00:46.288Z","dependency_job_id":null,"html_url":"https://github.com/doowb/npm-api-dependents","commit_stats":{"total_commits":14,"total_committers":2,"mean_commits":7.0,"dds":0.0714285714285714,"last_synced_commit":"fef9cd208cfac7600d57aec1adce7b10de130322"},"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/doowb/npm-api-dependents","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/doowb%2Fnpm-api-dependents","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/doowb%2Fnpm-api-dependents/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/doowb%2Fnpm-api-dependents/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/doowb%2Fnpm-api-dependents/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/doowb","download_url":"https://codeload.github.com/doowb/npm-api-dependents/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/doowb%2Fnpm-api-dependents/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":263628221,"owners_count":23490933,"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":["api","dependents","download-stats","javascript","modules","nodejs","npm","npm-api","repos","streaming","streams"],"created_at":"2024-10-03T17:36:38.660Z","updated_at":"2025-07-04T22:34:50.950Z","avatar_url":"https://github.com/doowb.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# npm-api-dependents [![NPM version](https://img.shields.io/npm/v/npm-api-dependents.svg?style=flat)](https://www.npmjs.com/package/npm-api-dependents) [![NPM monthly downloads](https://img.shields.io/npm/dm/npm-api-dependents.svg?style=flat)](https://npmjs.org/package/npm-api-dependents)  [![NPM total downloads](https://img.shields.io/npm/dt/npm-api-dependents.svg?style=flat)](https://npmjs.org/package/npm-api-dependents) [![Linux Build Status](https://img.shields.io/travis/doowb/npm-api-dependents.svg?style=flat\u0026label=Travis)](https://travis-ci.org/doowb/npm-api-dependents) [![Windows Build Status](https://img.shields.io/appveyor/ci/doowb/npm-api-dependents.svg?style=flat\u0026label=AppVeyor)](https://ci.appveyor.com/project/doowb/npm-api-dependents)\n\n\u003e npm-api plugin for getting module dependents.\n\n## Install\n\nInstall with [npm](https://www.npmjs.com/):\n\n```sh\n$ npm install --save npm-api-dependents\n```\n\nInstall with [yarn](https://yarnpkg.com):\n\n```sh\n$ yarn add npm-api-dependents\n```\n\n## Usage\n\n```js\nvar npm = require('npm-api')();\nvar dependents = require('npm-api-dependents');\nnpm.use(dependents());\n\nvar repo = npm.repo('micromatch');\n\n// returns a readable stream\nrepo.dependents()\n  .on('data', function(repo) {\n    console.log(repo);\n  });\n```\n\n## API\n\n### [.dependents](index.js#L38)\n\nGet the dependents for the current repo.\n\n**Params**\n\n* `options` **{Object}**: Options to handle returned results\n* `options.raw` **{Boolean}**: Optional. Set to `true` to receive objects of the form `{ name: 'module' }` instead of [Repo](https://github.com/doowb/npm-api#repo-1) objects.\n* `returns` **{Stream}**: Returns a readable stream (object mode).\n\n**Example**\n\n```js\nvar repo = npm.repo('micromatch');\n\n// returns a readable stream\nrepo.dependents()\n  .on('data', function(repo) {\n    console.log(repo);\n  });\n```\n\n## About\n\n### Contributing\n\nPull requests and stars are always welcome. For bugs and feature requests, [please create an issue](../../issues/new).\n\n### Contributors\n\n| **Commits** | **Contributor** |  \n| --- | --- |  \n| 6 | [doowb](https://github.com/doowb) |  \n| 1 | [ralphtheninja](https://github.com/ralphtheninja) |  \n\n### Building docs\n\n_(This project's readme.md is generated by [verb](https://github.com/verbose/verb-generate-readme), please don't edit the readme directly. Any changes to the readme must be made in the [.verb.md](.verb.md) readme template.)_\n\nTo generate the readme, run the following command:\n\n```sh\n$ npm install -g verbose/verb#dev verb-generate-readme \u0026\u0026 verb\n```\n\n### Running tests\n\nRunning and reviewing unit tests is a great way to get familiarized with a library and its API. You can install dependencies and run tests with the following command:\n\n```sh\n$ npm install \u0026\u0026 npm test\n```\n\n### Author\n\n**Brian Woodward**\n\n* [github/doowb](https://github.com/doowb)\n* [twitter/doowb](https://twitter.com/doowb)\n\n### License\n\nCopyright © 2017, [Brian Woodward](https://github.com/doowb).\nReleased under the [MIT License](LICENSE).\n\n***\n\n_This file was generated by [verb-generate-readme](https://github.com/verbose/verb-generate-readme), v0.6.0, on December 27, 2017._","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdoowb%2Fnpm-api-dependents","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdoowb%2Fnpm-api-dependents","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdoowb%2Fnpm-api-dependents/lists"}