create-hash
Advanced tools
Weekly downloads
Readme
Node style hashes for use in the browser, with native hash functions in node.
API is the same as hashes in node:
var createHash = require('create-hash')
var hash = createHash('sha224')
hash.update('synchronous write') // optional encoding parameter
hash.digest() // synchronously get result with optional encoding parameter
hash.write('write to it as a stream')
hash.end() // remember it's a stream
hash.read() // only if you ended it as a stream though
To get the JavaScript version even in node do require('create-hash/browser')
FAQs
create hashes for browserify
The npm package create-hash receives a total of 6,838,467 weekly downloads. As such, create-hash popularity was classified as popular.
We found that create-hash demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 5 open source maintainers collaborating on the project.
Did you know?
Socket installs a GitHub app to automatically flag issues on every pull request and report the health of your dependencies. Find out what is inside your node modules and prevent malicious activity before you update the dependencies.