@ndn/l3face
v0.0.20250307
Published
NDNts: Network Layer Face
Readme
@ndn/l3face
This package is part of NDNts, Named Data Networking libraries for the modern web.
This package implements network layer face and transport base types. Notable content includes:
- Transport type: transport base type,
- StreamTransport type: Node.js stream-based transport implementation.
rxFromStreamfunction: extract TLVs from continuous byte stream.rxFromPacketIterablefunction: decode TLVs from datagrams.- L3Face type: TLV-oriented network layer face, for use with logical Forwarder of
@ndn/fwpackage. L3Face.makeCreateFacefunction: higher-order function that generates*Transport.createFacefunctions.- Bridge type: pass packets between two logical forwarders, primarily for unit testing.
See @ndn/node-transport package for more explanation and examples.
