node package manager
Love JavaScript? Your insights can make it even better. Take the 2017 JavaScript Ecosystem Survey »

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