Tutorial: Library Installation

Library Installation

Prerequisites

  • Node.js 4.0 or higher installed.

Installation

Before installing the OpenDXL Streaming JavaScript client library, change to the directory which you extracted from the SDK zip file. For example:

cd dxlstreamingclient-javascript-dist-0.1.0

To install the library from a local tarball for a Mac or Linux-based operating system, run the following command:

npm install ./lib/opendxl-dxl-streaming-client-0.1.0.tgz --save

To install the library from a local tarball for Windows, run:

npm install .\lib\opendxl-dxl-streaming-client-0.1.0.tgz --save

To install the library via the npm package registry, run:

npm install @opendxl/dxl-streaming-client --save