version-to-commit
cli and function for returning the git sha commit hash for a certain npm module and version.
Works by checking the gitHead
attribute on the registry. This is not available
on all packages and versions. If you have an idea how to deal with it otherwise,
let me know.
usage
var toCommit =
The second and the third parameter are optional and will default to latest
and https://registry.npmjs.org
.
cli
usage: version-to-commit [modulename] [version]
Defaults to the module in the current working directory and the latest
version.