Skip to content

Script to check if your npm dependencies are still maintained

or: Check published time of dependency@latest for each of your dependencies

bash
cat package.json \
| jq '.dependencies, .devDependencies | keys | .[] | "npm info --json "+.   ' -r \
| sh \
| jq '.time[.version] + " - latest " + .name + "@" + .version'