Prerequisites
OpenDXL JavaScript Client (Node.js) library installed
The OpenDXL JavaScript Client (Node.js) prerequisites must be satisfied
McAfee Active Response Server installed and available on DXL fabric
OpenDXL JavaScript Client has permission to perform MAR searches
Node.js 4.0 or higher installed.
Installation
Before installing the MAR DXL JavaScript client library, change to the directory which you extracted from the SDK zip file. For example:
cd dxlmarclient-javascript-dist-0.1.0To install the library from a local tarball for a Mac or Linux-based operating system, run the following command:
npm install ./lib/opendxl-dxl-mar-client-0.1.0.tgz --saveTo install the library from a local tarball for Windows, run:
npm install .\lib\opendxl-dxl-mar-client-0.1.0.tgz --saveTo install the library via the npm package registry, run:
npm install @opendxl/dxl-mar-client --save