Socket
Book a DemoInstallSign in
Socket

@ipshipyard/libp2p-inspector-metrics

Package Overview
Dependencies
Maintainers
2
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ipshipyard/libp2p-inspector-metrics

Collect libp2p metrics and send them to browser DevTools

latest
Source
npmnpm
Version
1.0.3
Version published
Maintainers
2
Created
Source

@ipshipyard/libp2p-inspector-metrics

codecov CI

Collect libp2p metrics and send them to browser DevTools

About

Configure your browser-based libp2p node with DevTools metrics:

import { createLibp2p } from 'libp2p'
import { inspectorMetrics } from '@ipshipyard/libp2p-inspector-metrics'

const node = await createLibp2p({
  metrics: inspectorMetrics()
})

Then use the DevTools plugin for Chrome or Firefox to inspect the state of your running node.

Install

$ npm i @ipshipyard/libp2p-inspector-metrics

Browser <script> tag

Loading this module through a script tag will make its exports available as IpshipyardLibp2pInspectorMetrics in the global namespace.

<script src="https://unpkg.com/@ipshipyard/libp2p-inspector-metrics/dist/index.min.js"></script>

Collect libp2p metrics and send them to an inspector

License

Licensed under either of

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

FAQs

Package last updated on 25 Jun 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts