Installation - Node JS SDK

Installation - Node JS SDK

Node JS SDK will be installed and a package named 'zcrmsdk' will be created in the local machine.

The package can be added using the following code:
  1. var ZCRMRestClient = require('zcrmsdk')
Installing the SDK

Run the command below to install the Node JS SDK to your machine.
  1. npm install zcrmsdk
Another method to install the SDK is to add it in dependencies to the package.json of the node server with the latest version (recommended) and to run npm install in the directory which installs all the dependencies mentioned in package.json.

Upgrade the SDK

Run this command to upgrade the Node JS SDK to the latest version.