<commit_before>
[![package-dependents](http://i.imgur.com/nehBMvB.png)](#)

# package-dependents

 [![Support me on Patreon][badge_patreon]][patreon] [![Buy me a book][badge_amazon]][amazon] [![PayPal][badge_paypal_donate]][paypal-donations] [![Version](https://img.shields.io/npm/v/package-dependents.svg)](https://www.npmjs.com/package/package-dependents) [![Downloads](https://img.shields.io/npm/dt/package-dependents.svg)](https://www.npmjs.com/package/package-dependents)

> Get the npm dependents of a given package.

## :cloud: Installation

```sh
$ npm i --save package-dependents
```


## :clipboard: Example



```js
// Dependencies
var PackageDependents = require("package-dependents");

// Get is-there's dependents
PackageDependents("is-there", function (err, packages) {
    packages.forEach(function (c) {
        console.log(c.name + (c.author && c.author.name ? " by " + c.author.name : ""));
    });
});
// =>
// a-csv by jillix
// artstack-downloader by Ionică Bizău
// bible by Ionică Bizău
// blah by Ionică Bizău
// cdnjs-importer by Ionică Bizău
// cecil by <NAME>
// engine-tools by jillix
// f-watcher by Ionică Bizău
// fontify by <NAME>
// fwatcher by Ionică Bizău
// generator-leptir by <NAME>
// gif-cli by Ionică Bizău
// git-issues by <NAME>
// git-stats by Ionică Bizău
// git-stats-importer by Ionică Bizău
// gpm by Ionică Bizău
// grunt-md5assets by peters
// hal-rc
// heroku-docker by <NAME>is
// idea by Ionică Bizău
// jisc_build by <NAME>
// low-cli by <NAME>
// node-sass-json-importer
// panes by <NAME>
// parent-search by <NAME>
// payname by <NAME>
// ramda-cli by <NAME>
// reindex-cli by Reindex
// singular_sake by <NAME>
// sourcegate by <NAME>
// tithe by Ionică Bizău
// uturi-caching
// valkyrja by srcspider
// web-term by Ionică Bizău
```

## :question: Get Help

There are few ways to get help:

 1. Please [post questions on Stack Overflow](https://stackoverflow.com/questions/ask). You can open issues with questions, as long you add a link to your Stack Overflow question.
 2. For bug reports and feature requests, open issues. :bug:
 3. For direct and quick help from me, you can [use Codementor](https://www.codementor.io/johnnyb). :rocket:


## :memo: Documentation


### `PackageDependents(name, version, callback)`
Get the dependents of a given packages. The callback function is called with
an error and an array of objects.

#### Params
- **String** `name`: The package name.
- **String** `version`: The package version (default: `"latest"`).
- **Function** `callback`: The callback function.



## :yum: How to contribute
Have an idea? Found a bug? See [how to contribute][contributing].


## :sparkling_heart: Support my projects

I open-source almost everything I can, and I try to reply everyone needing help using these projects. Obviously,
this takes time. You can integrate and use these projects in your applications *for free*! You can even change the source code and redistribute (even resell it).

However, if you get some profit from this or just want to encourage me to continue creating stuff, there are few ways you can do it:

 - Starring and sharing the projects you like :rocket:
 - [![PayPal][badge_paypal]][paypal-donations]—You can make one-time donations via PayPal. I'll probably buy a ~~coffee~~ tea. :tea:<commit_msg>Updated docs<commit_after><!-- Please do not edit this file. Edit the `blah` field in the `package.json` instead. If in doubt, open an issue. -->

[![package-dependents](http://i.imgur.com/nehBMvB.png)](#)

# package-dependents

 [![Support me on Patreon][badge_patreon]][patreon] [![Buy me a book][badge_amazon]][amazon] [![PayPal][badge_paypal_donate]][paypal-donations] [![Version](https://img.shields.io/npm/v/package-dependents.svg)](https://www.npmjs.com/package/package-dependents) [![Downloads](https://img.shields.io/npm/dt/package-dependents.svg)](https://www.npmjs.com/package/package-dependents)

> Get the npm dependents of a given package.

## :cloud: Installation

```sh
$ npm i --save package-dependents
```


## :clipboard: Example



```js
// Dependencies
var PackageDependents = require("package-dependents");

// Get is-there's dependents
PackageDependents("is-there", function (err, packages) {
    packages.forEach(function (c) {
        console.log(c.name + (c.author && c.author.name ? " by " + c.author.name : ""));
    });
});
// =>
// a-csv by jillix
// artstack-downloader by <NAME>
// bible by <NAME>
// blah by <NAME>
// cdnjs-importer by <NAME>
// cecil by <NAME>
// engine-tools by jillix
// f-watcher by <NAME>
// fontify by <NAME>
// fwatcher by <NAME>
// generator-leptir by <NAME>
// gif-cli by Ionică Bizău
// git-issues by <NAME>
// git-stats by Ionică Bizău
// git-stats-importer by Ionică Bizău
// gpm by Ionică Bizău
// grunt-md5assets by peters
// hal-rc
// heroku-docker by <NAME>
// idea by Ionică Bizău
// jisc_build by <NAME>
// low-cli by <NAME>
// node-sass-json-importer
// panes by <NAME>
// parent-search by Ionică Bizău
// payname by <NAME>
// ramda-cli by <NAME>
// reindex-cli by Reindex
// singular_sake by <NAME>
// sourcegate by <NAME>
// tithe by Ionică Bizău
// uturi-caching
// valkyrja by srcspider
// web-term by Ionică Bizău
```



## :question: Get Help

There are few ways to get help:

 1. Please [post questions on Stack Overflow](https://stackoverflow.com/questions/ask). You can open issues with questions, as long you add a link to your Stack Overflow question.
 2. For bug reports and feature requests, open issues. :bug:
 3. For direct and quick help, you can [use Codementor](https://www.codementor.io/johnnyb). :rocket:


## :memo: Documentation


### `PackageDependents(name, version, callback)`
Get the dependents of a given packages. The callback function is called with
an error and an array of objects.

#### Params

- **String** `name`: The package name.
- **String** `version`: The package version (default: `"latest"`).
- **Function** `callback`: The callback function.



## :yum: How to contribute
Have an idea? Found a bug? See [how to contribute][contributing].


## :sparkling_heart: Support my projects

I open-source almost everything I can, and I try to reply everyone needing help using these projects. Obviously,
this takes time. You can integrate and use these projects in your applications *for free*! You can even change the source code and redistribute (even resell it).

However, if you get some profit from this or just want to encourage me to continue creating stuff, there are few ways you can do it:

 - Starring and sharing the projects you like :rocket:
 - [![PayPal][badge_paypal]][paypal-donations]—You can make one-time donations via PayPal. I'll probably buy a ~~coffee~~ tea. :tea:
{'fraction_non_alphanumeric': 0.13918757467144563, 'fraction_numerical': 0.0011947431302270011, 'mean_word_length': 3.8528985507246376, 'pattern_counts': {'":': 0, '<': 35, '<?xml version=': 0, '>': 39, 'https://': 12, 'lorem ipsum': 0, 'www.': 6, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 4, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1126967', 'n_tokens_mistral': 2289, 'n_tokens_neox': 2185, 'n_words': 753}