Getting Started with NDNts Web Application using webpack
This article shows how to get started with NDNts, Named Data Networking (NDN) libraries for the modern web. In particular, it demonstrates how to write a consumer-only web application that connects to the NDN testbed, transmits a few Interests, and gets responses. This application uses JavaScript programming language and webpack module bundler.
Code samples in this article were last updated on 2026-05-26 to reflect latest changes.
Prepare the System
To use NDNts, you must have Node.js. As of this writing, NDNts works best with Node.js 24.x, and you should install that version. See Node.js download page for how to install Node.js v24 with npm.
For this guide, it is not necessary to install ndn-cxx or NFD on your computer.


