Created
June 26, 2019 03:06
-
-
Save bkhanale/9aee62f0c98e6d2068f2e5628053d980 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def npm_outdated_command(): | |
""" | |
Executes `npm outdated --json` in the project directory and returns the | |
output in the form of json. | |
""" | |
out = run('npm outdated --json', stdout=Capture()) | |
data = json.loads(out.stdout.text) | |
return data |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment