{"id":15672789,"url":"https://github.com/doowb/module-dependents","last_synced_at":"2025-09-11T14:04:18.686Z","repository":{"id":57300677,"uuid":"54602056","full_name":"doowb/module-dependents","owner":"doowb","description":"Get the list of npm modules that depend on the specified npm module.","archived":false,"fork":false,"pushed_at":"2017-12-27T20:14:12.000Z","size":19,"stargazers_count":15,"open_issues_count":1,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-04-30T06:39:59.389Z","etag":null,"topics":["api","dependencies","dependents","javascript","modules","nodejs","npm","npm-api","package","registry","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}},"created_at":"2016-03-24T00:20:12.000Z","updated_at":"2021-04-12T21:54:39.000Z","dependencies_parsed_at":"2022-08-26T23:23:19.164Z","dependency_job_id":null,"html_url":"https://github.com/doowb/module-dependents","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/doowb%2Fmodule-dependents","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/doowb%2Fmodule-dependents/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/doowb%2Fmodule-dependents/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/doowb%2Fmodule-dependents/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/doowb","download_url":"https://codeload.github.com/doowb/module-dependents/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252776497,"owners_count":21802463,"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","dependencies","dependents","javascript","modules","nodejs","npm","npm-api","package","registry","streaming","streams"],"created_at":"2024-10-03T15:31:49.062Z","updated_at":"2025-05-06T21:49:13.700Z","avatar_url":"https://github.com/doowb.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# module-dependents [![NPM version](https://img.shields.io/npm/v/module-dependents.svg?style=flat)](https://www.npmjs.com/package/module-dependents) [![NPM monthly downloads](https://img.shields.io/npm/dm/module-dependents.svg?style=flat)](https://npmjs.org/package/module-dependents)  [![NPM total downloads](https://img.shields.io/npm/dt/module-dependents.svg?style=flat)](https://npmjs.org/package/module-dependents) [![Linux Build Status](https://img.shields.io/travis/doowb/module-dependents.svg?style=flat\u0026label=Travis)](https://travis-ci.org/doowb/module-dependents) [![Windows Build Status](https://img.shields.io/appveyor/ci/doowb/module-dependents.svg?style=flat\u0026label=AppVeyor)](https://ci.appveyor.com/project/doowb/module-dependents)\n\n\u003e Get the list of npm modules that depend on any other npm module.\n\n## Install\n\nInstall with [npm](https://www.npmjs.com/):\n\n```sh\n$ npm install --save module-dependents\n```\n\nInstall with [yarn](https://yarnpkg.com):\n\n```sh\n$ yarn add module-dependents\n```\n\n## Usage\n\n```js\nvar moduleDependents = require('module-dependents');\n```\n\n## API\n\n### [moduleDependents](index.js#L31)\n\nGet the list of npm modules that depend on any other npm module.\n\n**Params**\n\n* `name` **{String}**: Name of module to retrieve dependents for.\n* `options` **{Object}**: Options to pass along to [npm-api-dependents](https://github.com/doowb/npm-api-dependents)\n* `options.raw` **{Function}**: Optionally specify to get a raw object with a `name` property for each dependent.\n* `returns` **{Stream}**: Returns an object stream with each object being an instance of `Repo` from the [npm-api](https://github.com/doowb/npm-api) module.\n\n**Example**\n\n```js\n// returns a stream\nmoduleDependents('micromatch')\n  .on('data', function(dependent) {\n    console.log(dependent.name);\n  });\n```\n\n## About\n\n### Related projects\n\n* [npm-api-dependents](https://www.npmjs.com/package/npm-api-dependents): npm-api plugin for getting module dependents. | [homepage](https://github.com/doowb/npm-api-dependents \"npm-api plugin for getting module dependents.\")\n* [npm-api](https://www.npmjs.com/package/npm-api): Base class for retrieving data from the npm registry. | [homepage](https://github.com/doowb/npm-api \"Base class for retrieving data from the npm registry.\")\n\n### Contributing\n\nPull requests and stars are always welcome. For bugs and feature requests, [please create an issue](../../issues/new).\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%2Fmodule-dependents","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdoowb%2Fmodule-dependents","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdoowb%2Fmodule-dependents/lists"}