
Product
Introducing Socket Scanning for OpenVSX Extensions
Socket now scans OpenVSX extensions, giving teams early detection of risky behaviors, hidden capabilities, and supply chain threats in developer tools.
@libp2p/tracked-map
Advanced tools
Allows tracking of statistics while libp2p is running
$ npm i @libp2p/tracked-map
<script> tagLoading this module through a script tag will make it's exports available as Libp2pTrackedMap in the global namespace.
<script src="https://unpkg.com/@libp2p/tracked-map/dist/index.min.js"></script>
A map that reports it's size to the libp2p Metrics system.
If metrics are disabled a regular map is used.
import { trackedMap } from '@libp2p/tracked-map'
const map = trackedMap<string, string>({ metrics })
map.set('key', 'value')
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
Allows tracking of statistics while libp2p is running
We found that @libp2p/tracked-map demonstrated a not healthy version release cadence and project activity because the last version was released 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.

Product
Socket now scans OpenVSX extensions, giving teams early detection of risky behaviors, hidden capabilities, and supply chain threats in developer tools.

Product
Bringing supply chain security to the next generation of JavaScript package managers

Product
A safer, faster way to eliminate vulnerabilities without updating dependencies