Use jq and grep to Find Unused Dependencies in a Project

Cameron Nokes
InstructorCameron Nokes

Share this video with your friends

Send Tweet

In this lesson, we'll apply our jq skills and write a script that gets a list of dependencies from package.json and greps for usages of every package. If a package is unused, it's marked for removal.