JSPM

  • Created
  • Published
  • Downloads 3790
  • Score
    100M100P100Q126973F
  • License Apache-2.0 OR MIT

Metrics interface for libp2p

Package Exports

  • @libp2p/interface-metrics

Readme

@libp2p/interface-metrics

libp2p.io IRC Discuss codecov CI

Metrics interface for libp2p

Table of contents

Install

$ npm i @libp2p/interface-metrics

Using the Test Suite

You can also check out the internal test suite to see the setup in action.

const tests = require('libp2p-interfaces-compliance-tests/keys')
const yourKeys = require('./your-keys')

tests({
  setup () {
    // Set up your keys if needed, then return it
    return yourKeys
  },
  teardown () {
    // Clean up your keys if needed
  }
})

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.