Sign Up for Free

RunKit +

Try any Node.js package right in your browser

This is a playground to test code. It runs a full Node.js environment and already has all of npm’s 400,000 packages pre-installed, including know-your-deps with all npm packages installed. Try it out:

var knowYourDeps = require("know-your-deps")

This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.

know-your-deps v4.0.0

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

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.

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.

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

Thanks to Hal for the PR.

RunKit is a free, in-browser JavaScript dev environment for prototyping Node.js code, with every npm package installed. Sign up to share your code.
Sign Up for Free