Security News
GitHub Removes Malicious Pull Requests Targeting Open Source Repositories
GitHub removed 27 malicious pull requests attempting to inject harmful code across multiple open source repositories, in another round of low-effort attacks.
@libp2p/tcp
Advanced tools
A TCP transport for libp2p
A libp2p transport based on the TCP networking stack.
import { createLibp2p } from 'libp2p'
import { tcp } from '@libp2p/tcp'
import { multiaddr } from '@multiformats/multiaddr'
const node = await createLibp2p({
transports: [
tcp()
]
})
const ma = multiaddr('/ip4/123.123.123.123/tcp/1234')
// dial a TCP connection, timing out after 10 seconds
const connection = await node.dial(ma, {
signal: AbortSignal.timeout(10_000)
})
// use connection...
$ npm i @libp2p/tcp
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
A TCP transport for libp2p
The npm package @libp2p/tcp receives a total of 7,489 weekly downloads. As such, @libp2p/tcp popularity was classified as popular.
We found that @libp2p/tcp 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.
Did you know?
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.
Security News
GitHub removed 27 malicious pull requests attempting to inject harmful code across multiple open source repositories, in another round of low-effort attacks.
Security News
RubyGems.org has added a new "maintainer" role that allows for publishing new versions of gems. This new permission type is aimed at improving security for gem owners and the service overall.
Security News
Node.js will be enforcing stricter semver-major PR policies a month before major releases to enhance stability and ensure reliable release candidates.