Install NPM Packages for Node.js Client
NCache provides npm packages for integrating Node.js applications with NCache for data caching and session storage. To install npm packages for NCache, run the following commands in a shell environment.
Important
Ensure the following development tools are installed on your Linux system when using NCache Node.js:
- g++
- make
Node.js Client Libraries
Install the required NCache Node.js package based on whether the application uses data caching or session storage.
Data Caching
For data caching, install:
npm install ncache-client
Sessions
For Node.js sessions, install:
npm install ncache-sessions
Supported Node.js Versions
The supported Node.js versions are as follows:
| Product | Versions |
|---|---|
| Node.js | v18.12.0 |