Skip to content

Instantly share code, notes, and snippets.

@ubergoober
Created June 3, 2015 18:35
Show Gist options
  • Select an option

  • Save ubergoober/d429a34f686af3db57cc to your computer and use it in GitHub Desktop.

Select an option

Save ubergoober/d429a34f686af3db57cc to your computer and use it in GitHub Desktop.
Get current node modules and their versions that are installed.
#run command from root of node project after npm install has been run.
ls node_modules | xargs -I % grep \"_id\" node_modules/%/package.json
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment