isaacs/npm — pull request #1709 by bwilkins (2011-11-14 09:33:20+00:00)
Title: Adding a 'lock' command to npm

The two patches on head add a lock command to npm.
This behaves in a similar manner to rails' bundle lock.
Running 'npm lock' in a directory with a package.json file and node_modules directory will scan node_modules and pull the names and versions out, adding them to the current package.json file as dependencies.