@node-net/netconf
The API is split into entry points, so you load only what you use. The client and the base protocol are in @node-net/netconf. Each NETCONF capability beyond RFC 6241's own is an opt-in extension in its own module, and @node-net/netconf/testing lets you test your code without a device. The Guide shows how they fit together; these pages list every export.
The client
@node-net/netconf— Connecting over SSH, TLS or call home, the base operations, content and paths, transactions, device profiles and the error classes. Its page also covers@node-net/netconf/core, the same API without the Node.js transports, for browsers and workers.
Extensions
Pass an extension to connect() in extensions. Its calls then appear under its id, at client.ops.<id> and client.content.<id>.
@node-net/netconf/operations/monitoring— RFC 6022. Download YANG modules with<get-schema>, and read the server's sessions, locks and statistics.@node-net/netconf/operations/with-defaults— RFC 6243. Choose how the server reports values that are at their defaults.@node-net/netconf/operations/nmda— RFC 8342 and RFC 8526. Read and write any datastore,operationalincluded, with<get-data>and<edit-data>, and see where each value came from.@node-net/netconf/operations/yang-library— RFC 8525. Which YANG modules and features the server implements in each datastore.@node-net/netconf/operations/compare— RFC 9144. Ask the server how two datastores differ, instead of fetching both and diffing them yourself.@node-net/netconf/operations/partial-lock— RFC 5717. Lock only the parts ofrunningyou are about to change.@node-net/netconf/operations/notifications— RFC 5277. Subscribe to an event stream and read its notifications withfor await.@node-net/netconf/operations/subscriptions— RFC 8639 to RFC 8641. Subscribed notifications, and YANG-Push subscriptions to datastore changes.
Helpers
@node-net/netconf/operations/base-notifications— RFC 6470. Decode the config-change, capability, session and commit events on theNETCONFstream into typed objects. Plain functions, not an extension.@node-net/netconf/testing— A scripted NETCONF server that runs inside your tests, to test code that uses the client. See Testing your code.