
Security News
GitHub to Block pull_request_target Workflows by Default Starting December 2
GitHub is tightening GitHub Actions security with new restrictions on privileged pull request workflows. Here's what changes and how maintainers are affected.
@libp2p/ping
Advanced tools
Implementation of Ping Protocol
The ping service implements the libp2p ping spec allowing you to make a latency measurement to a remote peer.
import { createLibp2p } from 'libp2p'
import { ping } from '@libp2p/ping'
import { multiaddr } from '@multiformats/multiaddr'
const node = await createLibp2p({
services: {
ping: ping()
}
})
const rtt = await node.services.ping.ping(multiaddr('/ip4/...'))
console.info(rtt)
$ npm i @libp2p/ping
<script> tagLoading this module through a script tag will make its exports available as Libp2pPing in the global namespace.
<script src="https://unpkg.com/@libp2p/ping/dist/index.min.js"></script>
Licensed under either of
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
Implementation of Ping Protocol
The npm package @libp2p/ping receives a total of 52,322 weekly downloads. As such, @libp2p/ping popularity was classified as popular.
We found that @libp2p/ping demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 6 open source maintainers collaborating on the project.

Security News
GitHub is tightening GitHub Actions security with new restrictions on privileged pull request workflows. Here's what changes and how maintainers are affected.

Security News
/Application Security
A practical guide to securing GitHub Actions against supply chain attacks, covering malicious pull requests, credential theft, dependency risks, and release pipelines.

Security News
Composer 2.11 adds dependency cooldowns, joining package managers that delay new releases to reduce supply chain risks while allowing urgent security updates.