node package manager
Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

shasum

shasum

Single function that return the sha1sum. Installing this is just a little bit quicker than reading the crypto documentation.

var shasum = require('shasum')
shasum(string || buffer || object)

Oh yeah, it works in the browser too, with browserify

License

MIT