Skip to content

Instantly share code, notes, and snippets.

@hurrymaplelad
Last active February 23, 2016 19:36
Show Gist options
  • Save hurrymaplelad/7d69c32d60648ea54ac8 to your computer and use it in GitHub Desktop.
Save hurrymaplelad/7d69c32d60648ea54ac8 to your computer and use it in GitHub Desktop.
Extract top-level name, version pairs from npm-shrinkwrap
# requires https://github.com/trentm/json
cat npm-shrinkwrap.json | json dependencies | json --items | json -a key 'value.version' | less
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment