Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/chriszarate/know-your-deps

Picks a random dependency from your project and splains it to you.
https://github.com/chriszarate/know-your-deps

npm security vulnerabilities

Last synced: 21 days ago
JSON representation

Picks a random dependency from your project and splains it to you.

Awesome Lists containing this project

README

        

# Know Your Dependencies!

This is a command-line NPM module that picks a random dependency from your
project and gives you some info about it.

You probably have a lot of dependencies that you've never heard of and you have
absolutely no idea what they do. Is that a good thing? Probably not.
[That's the whole point of this.][blog-post]

```sh
cd my-hot-shit-js-project
npx know-your-deps
```

It looks for a `package-lock.json` in the folder you run it in.

## But I use Yarn.

Well, aren't you fancy.

```sh
yarn global add know-your-deps
cd my-hot-shit-js-project
know-your-deps
```

Thanks to [Hal][hal] for the PR.

[blog-post]: https://chris.zarate.org/know-your-dependencies
[hal]: https://hal.codes/