shasum-object
get the shasum of a buffer or object
Last updated 7 years ago by goto-bus-stop .
Apache-2.0 · Repository · Bugs · Original npm · Tarball · package.json
$ npm install shasum-object 
SYNC missed versions from official npm registry.

shasum-object

get the shasum of a buffer or object

Install - Usage - License: Apache-2.0

npm travis standard

Install

npm install shasum-object

Usage

var fs = require('fs')
var shasum = require('shasum-object')

shasum('of a string')
shasum(fs.readFileSync('of-a-file.txt'))

shasum({
  of: ['an', 'object']
})

API

shasum(input, algorithm = 'sha1', encoding = 'hex')

Compute the hash for the given input.

License

Apache-2.0

Current Tags

  • 1.0.1                                ...           latest (a year ago)

2 Versions

  • 1.0.1                                ...           a year ago
  • 1.0.0                                ...           7 years ago
Maintainers (1)
Downloads
Total 7
Today 0
This Week 2
This Month 4
Last Day 0
Last Week 0
Last Month 1
Dependencies (1)
Dev Dependencies (3)
Dependents (2)

© 2010 - cnpmjs.org x YWFE | Home | YWFE