Module @ndn/fileserver

@ndn/fileserver

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

This package implements ndn6-file-server protocol.

Data structures, encoding and decoding:

  • assigned numbers and keywords
  • FileMetadata
  • directory listing

Client (consumer):

  • simple client
    • demonstrated in @ndn/cat package file-client subcommand
  • ZenFS wrapper

Server (producer): not yet.

Namespaces

NDNFileSystem

Classes

Client
FileMetadata
NDNFileSystem

Interfaces

ClientOptions
DirEntry

Variables

lsKeyword
ModeDir
ModeFile
NDNZenFS
TT

Functions

buildDirectoryListing
parseDirectoryListing