Options
All
  • Public
  • Public/Protected
  • All
Menu

@ndn/repo-cli

This package is part of NDNts, Named Data Networking libraries for the modern web.

ndntsrepo is a command line utility to run and benchmark @ndn/repo and other repo implementations.

Index

Type aliases

FillBiArgs

FillBiArgs: BaseArgs & { host: string; port: number }

FillStoreArgs

FillStoreArgs: BaseArgs & StoreArgs

Variables

Let store

store: DataStore

Functions

declareStoreArgs

  • declareStoreArgs<T>(argv: Argv<T>): Argv<T & StoreArgs>

enableBulkInsertion

  • enableBulkInsertion(__namedParameters: { batch: number; host: string; parallel: number; port: number }): void
  • Parameters

    • __namedParameters: { batch: number; host: string; parallel: number; port: number }
      • batch: number
      • host: string
      • parallel: number
      • port: number

    Returns void

genData

  • genData(__namedParameters: { count: number; prefixUri: string; size: number; start: number }): Generator<Data, void, unknown>
  • Parameters

    • __namedParameters: { count: number; prefixUri: string; size: number; start: number }
      • count: number
      • prefixUri: string
      • size: number
      • start: number

    Returns Generator<Data, void, unknown>

openStore

Legend

  • Namespace
  • Object literal
  • Variable
  • Function
  • Function with type parameter
  • Type alias
  • Type alias with type parameter
  • Interface
  • Interface with type parameter
  • Class
  • Class with type parameter
  • Enumeration

Generated using TypeDoc