@multiformats/murmur3
Advanced tools
Comparing version 0.0.8 to 0.0.9
{ | ||
"name": "@multiformats/murmur3", | ||
"version": "0.0.8", | ||
"version": "0.0.9", | ||
"description": "", | ||
"exports": { | ||
"import": { | ||
"require": "./cjs/index.js", | ||
"import": "./esm/index.js", | ||
"browser": "./esm/index.js" | ||
} | ||
"require": "./cjs/index.js", | ||
"import": "./esm/index.js", | ||
"browser": "./esm/index.js" | ||
}, | ||
@@ -12,0 +10,0 @@ "scripts": { |
@@ -6,8 +6,10 @@ # js-murmur3 | ||
```js | ||
const { multihash } = require('multiformats')() | ||
const murmur3 = require('@multiformats/murmur3') | ||
import { create } from 'multiformats' | ||
import murmur2 from '@multiformats/murmur3' | ||
const multiformats = create() | ||
const { multihash } = multiformats | ||
multihash.add(murmur3) | ||
const data = new Uint8Array([...someData]) | ||
const hash = await multihash.hash(data, 'murmur3-128') | ||
``` |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
3014
15