Skip to content
Switch branches/tags


Failed to load latest commit information.
Latest commit message
Commit time

Lightstreamer - Basic Stock-List Demo - Node.js Client

This project includes a demo client showing integration between Lightstreamer Node.js Client Library and the Node.js platform.



The example provides a very simple version of the Stock-List Demos, in which only 3 items are subscribed and only the "stock_name" and "last_price" fields are retrieved. The update values are printed on the console.


If you want to install a version of this demo pointing to your local Lightstreamer Server, follow these steps. In particular, this readme file details the steps required to execute the demo calling the node executable from the command line.

  • Note that, as prerequisite, the Lightstreamer - Stock- List Demo - Java Adapter has to be deployed on your local Lightstreamer Server instance. Please check out that project and follow the installation instructions provided with it.
  • Launch Lightstreamer Server.
  • Go to or use the package manager of your OS to download and install the appropriate Node.js server on your system.
  • Get the lightstreamer-client-node package using npm
    • npm install lightstreamer-client-node or from the root folder of this project simply run
    • npm install

You can now run the included example. From the root folder of this project run

node src/index.js

The application is configured to connect to http://localhost:8080. You can modify src/index.js to connect to the correct host:port of your Lightstreamer server.

See Also

Lightstreamer Adapters Needed by this Demo Client

Related Projects

Lightstreamer Compatibility Notes

  • Compatible with Lightstreamer Node.js (formerly JavaScript) Client API v. 6.0 or newer (installation instructions for version 8.0 or newer).


This project includes a demo client showing integration between Lightstreamer JavaScript Client Library and the Node.js platform




No packages published