Package Exports
- @multiformats/murmur3
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@multiformats/murmur3) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
js-murmur3
Multiformats hash functions for MurmurHash3
const { multihash } = require('multiformats')()
const murmur3 = require('@multiformats/murmur3')
multihash.add(murmur3)
const data = new Uint8Array([...someData])
const hash = await multihash.hash(data, 'murmur3-128')