Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@multiformats/murmur3

Package Overview
Dependencies
Maintainers
4
Versions
34
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@multiformats/murmur3 - npm Package Compare versions

Comparing version 0.0.8 to 0.0.9

10

package.json
{
"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": {

8

README.md

@@ -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')
```
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc