Install NPM Packages for Node.js Client
NCache provides NPM packages that contain various libraries for NCache to work in your Node.js Client and server environments. To install npm packages for NCache, run the following commands in a shell environment.
Note
This feature is also available in the NCache Community Edition.
Important
Ensure the following development tools are installed on your Linux system when using NCache Node.js:
- g++
- make
Node.js Client Libraries
This will install all NCache Node.js Client libraries in your application:
Data Caching
You can also include the following in your application for Data Caching in Node.js:
- For Enterprise
npm install ncache-client
- For Community
npm install ncache-community-client
Sessions
You can also include the following in your application for Node.js Sessions:
- For Enterprise
npm install ncache-sessions
- For Community
npm install ncache-community-sessions
Supported Node.js Versions
The supported Node.js versions are as follows:
Product | Versions |
---|---|
Node.js | v18 |
Linux/Windows Installer for Node.js Client
Unlike the Remote Node.js Client, the mentioned installers allow you to opt for more complete feature sets like Cache Server and Developer/QA. For details about the prerequisites and steps involved in installing NCache through these installers, refer to the following: